|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.nmu.os.shell.ShellFactory
Creates Shells using the factory design pattern
// * @see ConfigManager| Constructor Summary | |
ShellFactory()
|
|
| Method Summary | |
abstract Shell |
createShell(java.lang.String[] args)
Creates a new Shell as specified by the given arguments |
static ShellFactory |
getFactory()
Gets the default ShellFactory |
static ShellFactory |
getFactory(java.lang.String name)
Gets the ShellFactory specified by the given name |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ShellFactory()
| Method Detail |
public static ShellFactory getFactory()
throws ShellFactoryException
ShellFactoryException - if the default ShellFactory
could not be loaded
public static ShellFactory getFactory(java.lang.String name)
throws ShellFactoryException
name - the alias or fully qualified classname of the
ShellFactory to get
ShellFactoryException - if no matching ShellFactory was
found or there was a problem loading itpublic abstract Shell createShell(java.lang.String[] args)
args - implementation specific arguments describing how the
Shell should be created
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||