|
||||||||||
| 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.WebServiceAccessor
public class WebServiceAccessor
Accessor providing access to web service based commands. The assumption here is that the web-service we're invoking is one of our own - i.e. it takes a single command object as an argument and returns a command object of the same type. It also assumes that the web service is based on our EJB wrapper pattern, and as such it has a "invokeServiceXML" method.
In effect we're using soap as a transport mechanism here rather than providing a general accessor that might provide access to any web service.
| Field Summary |
|---|
| Fields inherited from class com.ail.core.Type |
|---|
jXPathContext, NOT_PERSISTED |
| Constructor Summary | |
|---|---|
WebServiceAccessor()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone this object. |
CommandArg |
getArgs()
Get the argument set associated with this command. |
Configuration |
getConfiguration()
Fetch the configuration of the entry point associated with this command. |
java.lang.String |
getConfigurationNamespace()
Return the caller's configuration namespace. |
java.lang.String |
getEndpointClass()
|
java.lang.String |
getLocalPart()
|
java.lang.String |
getNamespace()
|
java.lang.String |
getOperationName()
|
java.security.Principal |
getSecurityPrincipal()
Get the security principal associated with this instance. |
java.lang.String |
getUrl()
|
Version |
getVersion()
Fetch the version of the command (entry point) associated with this command. |
VersionEffectiveDate |
getVersionEffectiveDate()
The Core uses this callback to determin which versions of artefacts it should use on the CoreUser's behalf. |
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 properties)
Update the configuration of the entry point associated with this command. |
void |
setEndpointClass(java.lang.String endpointClass)
|
void |
setLocalPart(java.lang.String localPart)
|
void |
setNamespace(java.lang.String namespace)
|
void |
setOperationName(java.lang.String operationName)
|
void |
setUrl(java.lang.String url)
|
| Methods inherited from class com.ail.core.command.Accessor |
|---|
getLoggingIndicator, getLoggingIndicatorAsString, setLoggingIndicator, setLoggingIndicatorAsString |
| Methods inherited from class com.ail.core.Type |
|---|
addAttribute, 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 WebServiceAccessor()
| Method Detail |
|---|
public void setArgs(CommandArg that)
setArgs in class AbstractCommandthat - Source for argumentspublic CommandArg getArgs()
getArgs in class AbstractCommand
public void invoke()
throws BaseException
invoke in class AbstractCommandBaseExceptionpublic 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 properties)
AbstractCommand
setConfiguration in class AbstractCommandproperties - Properties to replace the current configuration.public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public java.lang.String getLocalPart()
public void setLocalPart(java.lang.String localPart)
public java.lang.String getNamespace()
public void setNamespace(java.lang.String namespace)
public java.lang.String getEndpointClass()
public void setEndpointClass(java.lang.String endpointClass)
public java.lang.String getOperationName()
public void setOperationName(java.lang.String operationName)
public VersionEffectiveDate getVersionEffectiveDate()
getVersionEffectiveDate in interface CoreUserpublic java.lang.String getConfigurationNamespace()
getConfigurationNamespace in interface CoreUserpublic java.security.Principal getSecurityPrincipal()
getSecurityPrincipal in interface CoreUser
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Type
clone in class Typejava.lang.CloneNotSupportedException - If the type cannot be deep cloned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||