|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
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
(src) objects.
The key into that registry is [deploymentName]#[port-component-name]
Field Summary |
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
server, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.system.ServiceMBean (src) |
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 (src) pcInfo)
Deploy a webservice from a Axis WSDD URL |
AxisServer (src) |
getAxisServer()
Get axis server singleton |
java.lang.String |
getInvokerProviderEJB()
|
java.lang.String |
getInvokerProviderJSE()
|
MetaDataRegistry (src) |
getMetaDataRegistry()
Get MetaDataBeanSerializer/Deserializer metaData registry |
PortComponentInfo (src) |
getPortComponentInfo(java.lang.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 |
java.lang.String |
getWebServiceHost()
|
int |
getWebServicePort()
|
int |
getWebServiceSecurePort()
|
boolean |
isAlwaysModifySOAPAddress()
|
PortComponentInfo (src) [] |
listServiceEndpointInfos()
Returns a the array of registered PortComponentInfo objects |
java.lang.String |
listServiceEndpoints()
List the registered webservices |
void |
setAlwaysModifySOAPAddress(boolean modify)
|
void |
setInvokerProviderEJB(java.lang.String invokerProviderEJB)
|
void |
setInvokerProviderJSE(java.lang.String invokerProviderJSE)
|
void |
setWebServiceHost(java.lang.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(java.lang.String serviceID)
Undeploy a webservice for a given web service id |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
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 (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AxisService()
Method Detail |
protected void startService() throws java.lang.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.
startService
in class ServiceMBeanSupport (src)
java.lang.Exception
protected void stopService() throws java.lang.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.
stopService
in class ServiceMBeanSupport (src)
java.lang.Exception
public java.lang.String getWebServiceHost()
public int getWebServicePort()
public int getWebServiceSecurePort()
public boolean isAlwaysModifySOAPAddress()
public void setWebServiceHost(java.lang.String host)
public void setWebServicePort(int port)
public void setWebServiceSecurePort(int port)
public void setAlwaysModifySOAPAddress(boolean modify)
public java.lang.String getInvokerProviderEJB()
public void setInvokerProviderEJB(java.lang.String invokerProviderEJB)
public java.lang.String getInvokerProviderJSE()
public void setInvokerProviderJSE(java.lang.String invokerProviderJSE)
public AxisServer (src) getAxisServer()
public MetaDataRegistry (src) getMetaDataRegistry()
public PortComponentInfo (src) getPortComponentInfo(java.lang.String wsID)
wsID
- The web service identifier
public PortComponentInfo (src) [] listServiceEndpointInfos()
public java.lang.String listServiceEndpoints()
public void deployService(PortComponentInfo (src) pcInfo) throws java.lang.Exception
java.lang.Exception
public void undeployService(java.lang.String serviceID) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |