Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » net » axis » server » [javadoc | source]
org.jboss.net.axis.server
public class: AxisService [javadoc | source]
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
      org.jboss.system.ServiceMBeanSupport
         org.jboss.deployment.SubDeployerSupport
            org.jboss.net.axis.server.AxisService

All Implemented Interfaces:
    AxisServiceMBean, MBeanRegistration, SubDeployerExtMBean, SubDeployerExt, org.jboss.kernel.spi.dependency.KernelControllerContextAware, ServiceMBean, NotificationEmitter

A deployer service that installs Axis and manages Web-Services within JMX.
Field Summary
protected  Map deployments    A map of current deployment names to the wsdd docs that created them. 
protected  DeploymentInfo myDeploymentInfo    this is where the axis "web-application" has been installed 
protected  AxisServer axisServer    the engine belonging to this service 
protected  XMLResourceProvider clientConfiguration    the client configuration belonging to this service 
protected  XMLResourceProvider serverConfiguration    the server configuration belonging to this service 
protected  SubDeployer webDeployer    the web deployer that hosts our servlet 
protected  InitialContext initialContext    the initial context into which we bind external web-service proxies 
Fields inherited from org.jboss.deployment.SubDeployerSupport:
nativeSuffix,  nativePrefix,  mainDeployer,  tempDeployDir,  enhancedSuffixes,  suffixes,  relativeOrder,  CONFIGURATION
Fields inherited from org.jboss.system.ServiceMBeanSupport:
SERVICE_CONTROLLER_SIG,  log,  server,  serviceName
Constructor:
 public AxisService() 
Method from org.jboss.net.axis.server.AxisService Summary:
accepts,   copyChildren,   create,   deployExternalWebService,   destroy,   getAxisServer,   getClientEngineConfiguration,   getServerEngineConfiguration,   init,   start,   startService,   stop,   stopService,   undeployExternalWebService
Methods from org.jboss.deployment.SubDeployerSupport:
accepts,   addDeployableFiles,   addDeployableJar,   create,   createService,   deployUrl,   destroy,   destroyService,   emitNotification,   getEnhancedSuffixes,   getRelativeOrder,   getSuffixes,   init,   isDeployable,   processNestedDeployments,   setEnhancedSuffixes,   setRelativeOrder,   setSuffixes,   start,   startService,   stop,   stopService
Methods from org.jboss.system.ServiceMBeanSupport:
create,   createService,   destroy,   destroyService,   getDeploymentInfo,   getLog,   getName,   getNextNotificationSequenceNumber,   getObjectName,   getServer,   getServiceName,   getState,   getStateString,   jbossInternalCreate,   jbossInternalDescription,   jbossInternalDestroy,   jbossInternalLifecycle,   jbossInternalStart,   jbossInternalStop,   pojoChange,   pojoCreate,   pojoDestroy,   pojoStart,   pojoStop,   postDeregister,   postRegister,   preDeregister,   preRegister,   setKernelControllerContext,   start,   startService,   stop,   stopService,   unsetKernelControllerContext
Methods from org.jboss.mx.util.JBossNotificationBroadcasterSupport:
addNotificationListener,   getNotificationInfo,   handleNotification,   nextNotificationSequenceNumber,   removeNotificationListener,   removeNotificationListener,   sendNotification
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.net.axis.server.AxisService Detail:
 public boolean accepts(DeploymentInfo sdi) 
    Provides a filter that decides whether a file can be deployed by this deployer based on the filename. This is for the benefit of the org.jboss.deployer.MainDeployer service.
 protected  void copyChildren(Document sourceDoc,
    Element source,
    String match,
    Element target) 
    this tiny helper copies all children of the given element that are elements and match the given name to the other element
 public  void create(DeploymentInfo sdi) throws DeploymentException 
    Describe create method here. This step should include deployment steps that expose the existence of the unit being deployed to other units.
 protected synchronized  void deployExternalWebService(Element deployElement) throws DeploymentException 
    deploy an external web service reference
 public  void destroy(DeploymentInfo sdi) throws DeploymentException 
    destroy a given deployment
 public AxisServer getAxisServer() 
    return the associated server
 public EngineConfiguration getClientEngineConfiguration() 
    return the associated client configuration
 public EngineConfiguration getServerEngineConfiguration() 
    return the associated server configuration
 public  void init(DeploymentInfo sdi) throws DeploymentException 
 public  void start(DeploymentInfo sdi) throws DeploymentException 
    Describe start method here. This should only include deployment activities that refer to resources outside the unit being deployed.
 protected  void startService() throws Exception 
    start service means - initialise axis engine - register Axis servlet in WebContainer - contact the maindeployer
 public  void stop(DeploymentInfo sdi) throws DeploymentException 
    stop a given deployment
 protected  void stopService() throws Exception 
    what to do to stop axis temporarily --> undeploy the servlet
 protected synchronized  void undeployExternalWebService(Element deployElement) 
    undeploys an external web service reference