com.ail.core.xmlbinding
Class CastorFromXMLService

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.Service
          extended by com.ail.core.xmlbinding.CastorFromXMLService
All Implemented Interfaces:
ConfigurationOwner, CoreUser, java.io.Serializable, java.lang.Cloneable

public class CastorFromXMLService
extends Service

This entry point uses the castor framework to unmarshal an XMLString into the object it represents.

Two arguments are accepted:

One return object is generated: These arguments and returns are encapsulated in an instance of FromXMLCommandArg.

Version:
$Revision: 1.3 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
CastorFromXMLService()
           
 
Method Summary
 CommandArg getArgs()
          Getter returning the arguments used by this entry point.
 Core getCore()
          This entry point has no Core requirements, so simply return null.
 Version getVersion()
          Fetch the version of this entry point.
 void invoke()
          The 'business logic' of the entry point.
 void setArgs(CommandArg args)
          Setter used to the set the arguments that invoke() will use when it is called.
 
Methods inherited from class com.ail.core.Service
getConfiguration, getConfigurationNamespace, getSecurityPrincipal, getVersionEffectiveDate, resetConfiguration, setConfiguration
 
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

CastorFromXMLService

public CastorFromXMLService()
Method Detail

getCore

public Core getCore()
This entry point has no Core requirements, so simply return null.

Specified by:
getCore in class Service
Returns:
null

getVersion

public Version getVersion()
Fetch the version of this entry point.

Specified by:
getVersion in class Service
Returns:
A version object describing the version of this entry point.

setArgs

public void setArgs(CommandArg args)
Setter used to the set the arguments that invoke() will use when it is called.

Specified by:
setArgs in class Service
Parameters:
args - for invoke

getArgs

public CommandArg getArgs()
Getter returning the arguments used by this entry point.

Specified by:
getArgs in class Service
Returns:
An instance of FromXMLArgImp.

invoke

public void invoke()
            throws XMLException
The 'business logic' of the entry point.

Specified by:
invoke in class Service
Throws:
XMLException