com.ail.core.configure.server
Class GetConfigurationService

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

public class GetConfigurationService
extends Service

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

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
GetConfigurationService()
          Default constructor
 
Method Summary
 CommandArg getArgs()
          Getter returning the arguments used by this entry point.
 java.lang.String getConfigurationNamespace()
          Override and return the namespace we've been asked to fetch.
 Core getCore()
          Getter to fetch the entry point's code.
 Version getVersion()
          Fetch the version of this entry point.
 void invoke()
          The 'business logic' of the entry point.
 void invokePost()
          Stub this out to prevent the Service parent class for running any pre-service before invoke is called.
 void invokePre()
          Stub this out to prevent the Service parent class for running any pre-service before invoke is called.
 void setArgs(CommandArg args)
          Setter used to the set the entry points arguments.
 
Methods inherited from class com.ail.core.Service
getConfiguration, 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

GetConfigurationService

public GetConfigurationService()
Default constructor

Method Detail

getCore

public Core getCore()
Getter to fetch the entry point's code. This method is demanded by the Service class.

Specified by:
getCore in class Service
Returns:
This entry point's instance of Core.

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 entry points arguments. This method will be called before invoke() 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. This entry point doesn't modify the arguments.

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

getConfigurationNamespace

public java.lang.String getConfigurationNamespace()
Override and return the namespace we've been asked to fetch.

Specified by:
getConfigurationNamespace in interface CoreUser
Overrides:
getConfigurationNamespace in class Service
Returns:
The namespace we've been invoked to fetch.

invoke

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

Specified by:
invoke in class Service
Throws:
PreconditionException

invokePre

public void invokePre()
               throws BaseException
Stub this out to prevent the Service parent class for running any pre-service before invoke is called.

Throws:
BaseException

invokePost

public void invokePost()
                throws BaseException
Stub this out to prevent the Service parent class for running any pre-service before invoke is called.

Throws:
BaseException