jrunx.axis
Class AxisService

jrunx.kernel.ServiceAdapter
  |
  +--jrunx.kernel.ServicePartition
        |
        +--jrunx.kernel.ConfigurableServicePartition
              |
              +--jrun.j2ee.J2EEModule
                    |
                    +--jrunx.axis.AxisService
All Implemented Interfaces:
AxisServiceMBean, ConfigurableServicePartitionMBean, J2EEModuleMBean, javax.naming.Referenceable, java.io.Serializable, Service, ServiceMBean, ServicePartitionMBean

public class AxisService
extends J2EEModule
implements AxisServiceMBean

Axis service wrapper

Author:
Carl Woolf
See Also:
Serialized Form

Fields inherited from class jrunx.kernel.ServicePartition
sortedServices
 
Fields inherited from class jrunx.kernel.ServiceAdapter
DEFAULT_DEACTIVATED, DEFAULT_DOMAIN, DOMAIN_NAME_SEPARATOR, DOMAIN_NAME_SUFFIX, domainName, jndiBindable, LOGGER_CACHE_TIME, SCHEDULER_SERVICE, SECURITY_MANAGER, server, status, TRANSACTION_MANAGER
 
Fields inherited from interface jrunx.kernel.Service
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED
 
Constructor Summary
AxisService()
           
 
Method Summary
 void destroy()
          Every service is eventually destroyed.
static java.lang.String getConfigFileLastName()
           
 java.lang.String getParentName()
           
static java.lang.String getServiceLastName()
           
 java.lang.String getWebInfPath()
           
 void init()
          Not every service needs to init, implement it out of convenience.
 java.lang.String listConfiguration()
           
 void restart()
           
 void setParentName(java.lang.String parentName)
           
 void setWebInfPath(java.lang.String path)
           
 void start()
          Every service other than mere data collections should start
 void startWebService(java.lang.String name)
           
 void stop()
          Every service other than mere data collections should stop
 void stopWebService(java.lang.String name)
           
 
Methods inherited from class jrun.j2ee.J2EEModule
getClassLoader, getDeploymentOrigin, getEJBPeers, getJ2EEMetaData, isRunning, postStart, resolveEJBLinks, setClassLoader, setDeploymentOrigin, setEJBPeers, setJ2EEMetaData, setName, setRunning
 
Methods inherited from class jrunx.kernel.ConfigurableServicePartition
destroyServices, initServices, loadAndInit, loadChildren, setChildElements, startServices, stopServices
 
Methods inherited from class jrunx.kernel.ServicePartition
addService, addService, getServices, invokeChain, iterator, removeService, removeService
 
Methods inherited from class jrunx.kernel.ServiceAdapter
bind, findObjectInstance, findObjectInstance, findObjectInstance, getBindToJNDI, getDeactivated, getDomainName, getDomainSearchPath, getJRunService, getLogger, getName, getParentService, getReference, getResourceManager, getServerName, getServerProperties, getStatus, invokeMethod, isInPartition, isPartition, lookup, postDeregister, postRegister, preDeregister, preRegister, requestServer, scheduleRunnable, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, toString, unbind, unscheduleRunnable, updateStatus
 
Methods inherited from interface jrunx.kernel.ConfigurableServicePartitionMBean
setChildElements
 
Methods inherited from interface jrunx.kernel.ServicePartitionMBean
addService, addService, iterator, removeService, removeService
 
Methods inherited from interface jrunx.kernel.ServiceMBean
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind
 
Methods inherited from interface jrunx.kernel.Service
getStatus, updateStatus
 
Methods inherited from interface jrun.j2ee.J2EEModuleMBean
getDeploymentOrigin, isRunning, setDeploymentOrigin
 

Constructor Detail

AxisService

public AxisService()
Method Detail

setParentName

public void setParentName(java.lang.String parentName)

getServiceLastName

public static java.lang.String getServiceLastName()

getConfigFileLastName

public static java.lang.String getConfigFileLastName()

getParentName

public java.lang.String getParentName()

getWebInfPath

public java.lang.String getWebInfPath()

setWebInfPath

public void setWebInfPath(java.lang.String path)

init

public void init()
          throws java.lang.Exception
Description copied from class: ServiceAdapter
Not every service needs to init, implement it out of convenience.
Specified by:
init in interface Service
Overrides:
init in class ConfigurableServicePartition

start

public void start()
           throws java.lang.Exception
Description copied from class: ServiceAdapter
Every service other than mere data collections should start
Specified by:
start in interface Service
Overrides:
start in class ConfigurableServicePartition

stop

public void stop()
          throws java.lang.Exception
Description copied from class: ServiceAdapter
Every service other than mere data collections should stop
Specified by:
stop in interface Service
Overrides:
stop in class ConfigurableServicePartition

destroy

public void destroy()
             throws java.lang.Exception
Description copied from class: ServiceAdapter
Every service is eventually destroyed. Convenience implementation.
Specified by:
destroy in interface Service
Overrides:
destroy in class ConfigurableServicePartition

restart

public void restart()
Specified by:
restart in interface AxisServiceMBean

listConfiguration

public java.lang.String listConfiguration()
                                   throws org.apache.axis.AxisFault
Specified by:
listConfiguration in interface AxisServiceMBean

startWebService

public void startWebService(java.lang.String name)
Specified by:
startWebService in interface AxisServiceMBean

stopWebService

public void stopWebService(java.lang.String name)
Specified by:
stopWebService in interface AxisServiceMBean


Copyright � 2002 Macromedia Corporation. All Rights Reserved.