|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ail.core.Component
com.ail.core.EJBComponent
com.ail.core.configure.server.ServerBean
public class ServerBean
| Constructor Summary | |
|---|---|
ServerBean()
|
|
| Method Summary | |
|---|---|
CatalogCarArg |
catalogCar(CatalogCarArg arg)
Service wrapper business method for the CatalogCar service. |
void |
clearConfigurationCache()
Reset the server side cache used to hold configuration information. |
void |
clearNamedConfigurationCache(java.lang.String namespace)
Reset the server side cache used to hold configuration information. |
DeployCarArg |
deployCar(DeployCarArg arg)
Service wrapper business method for the DeployCar service. |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
GetClassListArg |
getClassList(GetClassListArg arg)
Service wrapper business method for the GetClassList service. |
GetCommandScriptArg |
getCommandScript(GetCommandScriptArg arg)
Service wrapper business method for the GetCommandScript service. |
GetConfigurationArg |
getConfiguration(GetConfigurationArg arg)
|
java.lang.String |
getConfigurationNamespace()
Hard code the namespace to "com.ail.core.configure.server.ServerBean". |
Core |
getCore()
Fetch the entry point's instance of the core. |
GetNamespacesArg |
getNamespaces(GetNamespacesArg arg)
|
javax.ejb.SessionContext |
getSessionContext()
Returns the context passed to the EJB's setSessionContext method. |
Version |
getVersion()
Return the version details of this component. |
VersionEffectiveDate |
getVersionEffectiveDate()
The version effective date for the bean is always 'now'. |
org.w3c.dom.Element[] |
invokeServiceSoap(org.w3c.dom.Element[] xml)
|
java.lang.String |
invokeServiceXML(java.lang.String xml)
Expose services via XML. |
PackageCarArg |
packageCar(PackageCarArg arg)
Service wrapper business method for the PackageCar service. |
void |
resetCoreConfiguration()
Reset the Core's configuration to its factory settings. |
void |
resetNamedConfiguration(java.lang.String name)
Reset a named configuration owner to its factory settings. |
SetCommandScriptArg |
setCommandScript(SetCommandScriptArg arg)
Service wrapper business method for the SetCommandScript service. |
SetConfigurationArg |
setConfiguration(SetConfigurationArg arg)
|
void |
setSessionContext(javax.ejb.SessionContext context)
|
| Methods inherited from class com.ail.core.EJBComponent |
|---|
getSecurityPrincipal |
| Methods inherited from class com.ail.core.Component |
|---|
getConfiguration, resetConfiguration, setConfiguration |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ail.core.configure.ConfigurationOwner |
|---|
getConfiguration, resetConfiguration, setConfiguration |
| Constructor Detail |
|---|
public ServerBean()
| Method Detail |
|---|
public void setSessionContext(javax.ejb.SessionContext context)
setSessionContext in interface javax.ejb.SessionBeanpublic javax.ejb.SessionContext getSessionContext()
EJBComponent
getSessionContext in class EJBComponentpublic void ejbActivate()
ejbActivate in interface javax.ejb.SessionBeanpublic void ejbPassivate()
ejbPassivate in interface javax.ejb.SessionBeanpublic void ejbRemove()
ejbRemove in interface javax.ejb.SessionBean
public void ejbCreate()
throws javax.ejb.CreateException
javax.ejb.CreateException
public VersionEffectiveDate getVersionEffectiveDate()
throws javax.ejb.EJBException
getVersionEffectiveDate in interface CoreUsergetVersionEffectiveDate in class Componentjavax.ejb.EJBException
public Version getVersion()
throws javax.ejb.EJBException
Component
getVersion in class Componentjavax.ejb.EJBException
public Core getCore()
throws javax.ejb.EJBException
Component
getCore in class Componentjavax.ejb.EJBException
public void resetCoreConfiguration()
throws javax.ejb.EJBException
javax.ejb.EJBException
public void resetNamedConfiguration(java.lang.String name)
throws javax.ejb.EJBException
name argument
may be "all" in which case a predefined set of configurations (defined in this component's config)
are reset.
name - The class name of the ConfigurationOwner, or "all" to reset the predefined list.
javax.ejb.EJBException - if the configurationOwner class cannot be found/instantiated.
public void clearConfigurationCache()
throws javax.ejb.EJBException
javax.ejb.EJBException
public void clearNamedConfigurationCache(java.lang.String namespace)
throws javax.ejb.EJBException
namespace - The namespace to be cleared from the cache.
javax.ejb.EJBException
public java.lang.String invokeServiceXML(java.lang.String xml)
throws javax.ejb.EJBException
The methods are invoked on the context's local interface if possible (if one exists). If no local interface is found then the remote interface is used instead. Invoking methods via the local/remote interface means that the deployment settings for security and transacts will be honoured.
xml - XML argument to be passed to the service.
javax.ejb.EJBException
public org.w3c.dom.Element[] invokeServiceSoap(org.w3c.dom.Element[] xml)
throws javax.ejb.EJBException
javax.ejb.EJBException
public GetNamespacesArg getNamespaces(GetNamespacesArg arg)
throws javax.ejb.EJBException
javax.ejb.EJBException
public GetConfigurationArg getConfiguration(GetConfigurationArg arg)
throws javax.ejb.EJBException
javax.ejb.EJBException
public SetConfigurationArg setConfiguration(SetConfigurationArg arg)
throws javax.ejb.EJBException
javax.ejb.EJBException
public GetCommandScriptArg getCommandScript(GetCommandScriptArg arg)
throws javax.ejb.EJBException
arg - The argument to pass to the service.
BaseServerException - In response to any exception thrown by the service.
javax.ejb.EJBException
public SetCommandScriptArg setCommandScript(SetCommandScriptArg arg)
throws javax.ejb.EJBException
arg - The argument to pass to the service.
BaseServerException - In response to any exception thrown by the service.
javax.ejb.EJBException
public GetClassListArg getClassList(GetClassListArg arg)
throws javax.ejb.EJBException
arg - The argument to pass to the service.
BaseServerException - In response to any exception thrown by the service.
javax.ejb.EJBException
public DeployCarArg deployCar(DeployCarArg arg)
throws javax.ejb.EJBException
arg - The argument to pass to the service.
BaseServerException - In response to any exception thrown by the service.
javax.ejb.EJBException
public PackageCarArg packageCar(PackageCarArg arg)
throws javax.ejb.EJBException
arg - The argument to pass to the service.
BaseServerException - In response to any exception thrown by the service.
javax.ejb.EJBException
public CatalogCarArg catalogCar(CatalogCarArg arg)
throws javax.ejb.EJBException
arg - The argument to pass to the service.
BaseServerException - In response to any exception thrown by the service.
javax.ejb.EJBExceptionpublic java.lang.String getConfigurationNamespace()
getConfigurationNamespace in interface CoreUsergetConfigurationNamespace in class Component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||