org.apache.geronimo.gshell.layout
Class DefaultLayoutManager

java.lang.Object
  extended by org.apache.geronimo.gshell.layout.DefaultLayoutManager
All Implemented Interfaces:
LayoutManager, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

@Component(role=LayoutManager.class,
           hint="default")
public class DefaultLayoutManager
extends Object
implements LayoutManager, org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable

The default implementation of a LayoutManager.

Version:
$Rev: 580765 $ $Date: 2007-09-30 11:52:39 -0700 (Sun, 30 Sep 2007) $

Constructor Summary
DefaultLayoutManager()
           
 
Method Summary
 CommandDescriptor find(String path)
          Find the command descriptor for the given path, or null if not found.
 Layout getLayout()
          Returns the currently loaded layout; never null.
 void initialize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultLayoutManager

public DefaultLayoutManager()
Method Detail

initialize

public void initialize()
                throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
Specified by:
initialize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
Throws:
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException

getLayout

public Layout getLayout()
Description copied from interface: LayoutManager
Returns the currently loaded layout; never null.

Specified by:
getLayout in interface LayoutManager

find

public CommandDescriptor find(String path)
Description copied from interface: LayoutManager
Find the command descriptor for the given path, or null if not found.

Specified by:
find in interface LayoutManager


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.