|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ail.core.Type
com.ail.core.command.AbstractCommand
com.ail.core.command.Accessor
com.ail.core.command.ClassAccessor
public class ClassAccessor
This accessor supports the use of class instances as services.
| Field Summary |
|---|
| Fields inherited from class com.ail.core.Type |
|---|
jXPathContext, NOT_PERSISTED |
| Constructor Summary | |
|---|---|
ClassAccessor()
|
|
| Method Summary | |
|---|---|
CommandArg |
getArgs()
Get the argument set associated with this command. |
Configuration |
getConfiguration()
Fetch the configuration of the entry point associated with this command. |
Service |
getInstance()
|
java.lang.String |
getServiceClass()
|
Version |
getVersion()
Fetch the version of the command (entry point) associated with this command. |
void |
invoke()
Invoke the command associated with this command object. |
void |
setArgs(CommandArg that)
Update this Command object's arguments with those taken from the command arg passed in. |
void |
setConfiguration(Configuration config)
Update the configuration of the entry point associated with this command. |
void |
setInstance(Service instance)
|
void |
setServiceClass(java.lang.String serviceClass)
|
| Methods inherited from class com.ail.core.command.Accessor |
|---|
getLoggingIndicator, getLoggingIndicatorAsString, setLoggingIndicator, setLoggingIndicatorAsString |
| Methods inherited from class com.ail.core.Type |
|---|
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassAccessor()
| Method Detail |
|---|
public void invoke()
throws BaseException
AbstractCommand
invoke in class AbstractCommandBaseExceptionpublic void setArgs(CommandArg that)
AbstractCommand
setArgs in class AbstractCommandthat - Source for argumentspublic CommandArg getArgs()
AbstractCommand
getArgs in class AbstractCommandpublic Version getVersion()
AbstractCommandNote: This method does not return the version of the command.
getVersion in class AbstractCommandpublic Configuration getConfiguration()
AbstractCommand
getConfiguration in class AbstractCommandpublic void setConfiguration(Configuration config)
AbstractCommand
setConfiguration in class AbstractCommandconfig - Properties to replace the current configuration.
public void setServiceClass(java.lang.String serviceClass)
throws java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessExceptionpublic java.lang.String getServiceClass()
public void setInstance(Service instance)
public Service getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||