|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.iplanet.jato.command.CommandFactory
A factory for the instantiation of Command
objects.
Command
Constructor Summary | |
CommandFactory()
Default Constructor |
Method Summary | |
protected static Command |
createCommandInstance(java.lang.Class clazz)
Creates a Command instance. |
static Command |
getCommand(java.lang.Class clazz)
Creates a Command instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommandFactory()
Method Detail |
public static Command getCommand(java.lang.Class clazz)
clazz
- A Command
class.protected static Command createCommandInstance(java.lang.Class clazz) throws java.lang.ClassCastException, java.lang.InstantiationException, java.lang.IllegalAccessException
clazz
- A Command
class.java.lang.ClassCastException
- Thrown if an the clazz parameter is not a Command
typejava.lang.InstantiationException
- java.lang.IllegalAccessException
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |