|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.deployment.SubDeployerSupport org.jboss.net.axis.server.AxisService
A deployer service that installs Axis and manages Web-Services within the Jboss JMX environment. It is the base for all plain axis deployments, web service archive support and also (via an additional layer) WS4EE functionality.
Nested Class Summary |
Nested classes inherited from class org.jboss.deployment.SubDeployerSupport |
org.jboss.deployment.SubDeployerSupport.ClassConfiguration |
Field Summary | |
protected org.apache.axis.server.AxisServer |
axisServer
the engine belonging to this service |
protected XMLResourceProvider |
clientConfiguration
the client configuration belonging to this service |
protected DocumentBuilder |
documentBuilder
document builder |
protected InitialContext |
initialContext
the initial context into which we bind external web-service proxies |
protected XMLResourceProvider |
serverConfiguration
the server configuration belonging to this service |
protected boolean |
validateDTDs
whether we are validating |
Fields inherited from class org.jboss.deployment.SubDeployerSupport |
CONFIGURATION, mainDeployer, nativePrefix, nativeSuffix, relativeOrder, suffixes, tempDeployDir |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.net.axis.server.AxisServiceMBean |
OBJECT_NAME |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Fields inherited from interface org.jboss.deployment.SubDeployer |
CREATE_NOTIFICATION, DESTROY_NOTIFICATION, INIT_NOTIFICATION, RELATIVE_ORDER_100, RELATIVE_ORDER_200, RELATIVE_ORDER_300, RELATIVE_ORDER_400, RELATIVE_ORDER_500, RELATIVE_ORDER_600, RELATIVE_ORDER_700, RELATIVE_ORDER_800, RELATIVE_ORDER_900, START_NOTIFICATION, STOP_NOTIFICATION |
Constructor Summary | |
AxisService()
default |
Method Summary | |
boolean |
accepts(org.jboss.deployment.DeploymentInfo sdi)
|
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 |
void |
create(org.jboss.deployment.DeploymentInfo sdi)
|
protected void |
deployExternalWebService(Element deployElement)
deploy an external web service reference |
void |
destroy(org.jboss.deployment.DeploymentInfo sdi)
|
org.apache.axis.server.AxisServer |
getAxisServer()
return the associated server |
org.apache.axis.EngineConfiguration |
getClientEngineConfiguration()
return the associated client configuration |
org.apache.axis.EngineConfiguration |
getServerEngineConfiguration()
return the associated server configuration |
void |
init(org.jboss.deployment.DeploymentInfo sdi)
|
void |
start(org.jboss.deployment.DeploymentInfo sdi)
|
void |
start(String deploymentName,
Document doc,
ClassLoader serviceLoader)
start method for usage with immediately known documents |
protected void |
startAxisDeployment(String deploymentName,
Element root,
ClassLoader deploymentLoader)
starts a single axis deployment |
protected void |
startService()
start service means - initialise axis engine - register Axis servlet in WebContainer - contact the maindeployer |
void |
stop(org.jboss.deployment.DeploymentInfo sdi)
|
void |
stop(Document doc)
stop a given deployment by document |
protected void |
stopAxisDeployment(Element root)
stops a single axis deployment |
protected void |
stopService()
what to do to stop axis temporarily --> undeploy the servlet |
protected void |
undeployExternalWebService(Element deployElement)
undeploys an external web service reference |
Methods inherited from class org.jboss.deployment.SubDeployerSupport |
addDeployableFiles, addDeployableJar, createService, deployUrl, destroyService, getRelativeOrder, getSuffixes, isDeployable, processNestedDeployments, setRelativeOrder, setSuffixes |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.deployment.SubDeployerMBean |
getRelativeOrder, getSuffixes, setRelativeOrder, setSuffixes |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface org.jboss.deployment.SubDeployer |
getServiceName |
Field Detail |
protected org.apache.axis.server.AxisServer axisServer
protected XMLResourceProvider clientConfiguration
protected XMLResourceProvider serverConfiguration
protected InitialContext initialContext
protected DocumentBuilder documentBuilder
protected boolean validateDTDs
Constructor Detail |
public AxisService()
Method Detail |
protected void copyChildren(Document sourceDoc, Element source, String match, Element target)
protected void startAxisDeployment(String deploymentName, Element root, ClassLoader deploymentLoader) throws org.jboss.deployment.DeploymentException
org.jboss.deployment.DeploymentException
protected void stopAxisDeployment(Element root) throws org.jboss.deployment.DeploymentException
org.jboss.deployment.DeploymentException
protected void deployExternalWebService(Element deployElement) throws org.jboss.deployment.DeploymentException
org.jboss.deployment.DeploymentException
protected void undeployExternalWebService(Element deployElement)
protected void startService() throws Exception
Exception
protected void stopService() throws Exception
Exception
public boolean accepts(org.jboss.deployment.DeploymentInfo sdi)
accepts
in interface org.jboss.deployment.SubDeployerMBean
public void init(org.jboss.deployment.DeploymentInfo sdi) throws org.jboss.deployment.DeploymentException
init
in interface org.jboss.deployment.SubDeployerMBean
org.jboss.deployment.DeploymentException
public void create(org.jboss.deployment.DeploymentInfo sdi) throws org.jboss.deployment.DeploymentException
create
in interface org.jboss.deployment.SubDeployerMBean
org.jboss.deployment.DeploymentException
public void start(org.jboss.deployment.DeploymentInfo sdi) throws org.jboss.deployment.DeploymentException
start
in interface org.jboss.deployment.SubDeployerMBean
org.jboss.deployment.DeploymentException
public void start(String deploymentName, Document doc, ClassLoader serviceLoader) throws org.jboss.deployment.DeploymentException
start
in interface AxisServiceMBean
org.jboss.deployment.DeploymentException
public void stop(org.jboss.deployment.DeploymentInfo sdi) throws org.jboss.deployment.DeploymentException
stop
in interface org.jboss.deployment.SubDeployerMBean
org.jboss.deployment.DeploymentException
public void stop(Document doc) throws org.jboss.deployment.DeploymentException
stop
in interface AxisServiceMBean
org.jboss.deployment.DeploymentException
public void destroy(org.jboss.deployment.DeploymentInfo sdi) throws org.jboss.deployment.DeploymentException
destroy
in interface org.jboss.deployment.SubDeployerMBean
org.jboss.deployment.DeploymentException
public org.apache.axis.EngineConfiguration getClientEngineConfiguration()
getClientEngineConfiguration
in interface AxisServiceMBean
public org.apache.axis.EngineConfiguration getServerEngineConfiguration()
getServerEngineConfiguration
in interface AxisServiceMBean
public org.apache.axis.server.AxisServer getAxisServer()
getAxisServer
in interface AxisServiceMBean
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |