|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.webservice.AxisService
A service that keeps track of the Axis server and client engine and can deploy/undeploy services to/from Axis using the Axis wsdd format.
Internally it keeps a registry of deployedPortComponentInfo objects.
The key into that registry is [deploymentName]#[port-component-name]
| Field Summary |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.webservice.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 |
| Constructor Summary | |
AxisService()
|
|
| Method Summary | |
void |
deployService(PortComponentInfo pcInfo)
Deploy a webservice from a Axis WSDD URL |
org.apache.axis.server.AxisServer |
getAxisServer()
Get axis server singleton |
String |
getInvokerProviderEJB()
|
String |
getInvokerProviderJSE()
|
MetaDataRegistry |
getMetaDataRegistry()
Get MetaDataBeanSerializer/Deserializer metaData registry |
PortComponentInfo |
getPortComponentInfo(String wsID)
Get port component info for a given web service id The keys into the registry are: [deploment.ear]/[deployment.?ar]#PortComponentName A client deployment may use a 'port-component-link' like: [deployment.?ar]#PortComponentName In case we don't find a direct match we try matching by key.endsWith(wsID) See CTS test: /com/sun/ts/tests/webservices/deploy/portcomplink |
String |
getWebServiceHost()
|
int |
getWebServicePort()
|
int |
getWebServiceSecurePort()
|
String |
listServices()
List the registered webservices |
void |
setInvokerProviderEJB(String invokerProviderEJB)
|
void |
setInvokerProviderJSE(String invokerProviderJSE)
|
void |
setWebServiceHost(String host)
|
void |
setWebServicePort(int port)
|
void |
setWebServiceSecurePort(int port)
|
protected void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
protected void |
stopService()
Sub-classes should override this method to provide custum 'stop' logic. |
void |
undeployService(String serviceID)
Undeploy a webservice for a given web service id |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, 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.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
| Constructor Detail |
public AxisService()
| Method Detail |
protected void startService()
throws Exception
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
Exception
protected void stopService()
throws Exception
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
Exceptionpublic String getWebServiceHost()
getWebServiceHost in interface AxisServiceMBeanpublic int getWebServicePort()
getWebServicePort in interface AxisServiceMBeanpublic int getWebServiceSecurePort()
getWebServiceSecurePort in interface AxisServiceMBeanpublic void setWebServiceHost(String host)
setWebServiceHost in interface AxisServiceMBeanpublic void setWebServicePort(int port)
setWebServicePort in interface AxisServiceMBeanpublic void setWebServiceSecurePort(int port)
setWebServiceSecurePort in interface AxisServiceMBeanpublic String getInvokerProviderEJB()
getInvokerProviderEJB in interface AxisServiceMBeanpublic void setInvokerProviderEJB(String invokerProviderEJB)
setInvokerProviderEJB in interface AxisServiceMBeanpublic String getInvokerProviderJSE()
getInvokerProviderJSE in interface AxisServiceMBeanpublic void setInvokerProviderJSE(String invokerProviderJSE)
setInvokerProviderJSE in interface AxisServiceMBeanpublic org.apache.axis.server.AxisServer getAxisServer()
getAxisServer in interface AxisServiceMBeanpublic MetaDataRegistry getMetaDataRegistry()
getMetaDataRegistry in interface AxisServiceMBeanpublic PortComponentInfo getPortComponentInfo(String wsID)
getPortComponentInfo in interface AxisServiceMBeanwsID - The web service identifier
public String listServices()
listServices in interface AxisServiceMBeanpublic void deployService(PortComponentInfo pcInfo) throws Exception
deployService in interface AxisServiceMBeanExceptionpublic void undeployService(String serviceID) throws Exception
undeployService in interface AxisServiceMBeanException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||