|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.ow2.jonas.lib.reconfig.ReconfigEmitter
org.ow2.jonas.lib.service.AbsServiceImpl
org.ow2.jonas.ws.jaxrpc.base.JAXRPCService
public abstract class JAXRPCService
implements deployment process and declares commons abstract methods for all (used) Web services engine. Actually we consider Glue and AXIS.
| Nested Class Summary | |
|---|---|
class |
JAXRPCService.WSDeployInfo
Store information about a webservices descriptor. |
| Field Summary |
|---|
| Fields inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter |
|---|
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
| Fields inherited from interface org.ow2.jonas.ws.jaxrpc.IJAXRPCService |
|---|
CLASSLOADER_CTX_PARAM, ISINEAR_CTX_PARAM, PARENT_OBJECTNAME_CTX_PARAM, UNPACK_DIRECTORY_CTX_PARAM, WARURL_CTX_PARAM |
| Constructor Summary | |
|---|---|
JAXRPCService()
Init local fields at the very beginning. |
|
| Method Summary | |
|---|---|
void |
bindWSDLPublisherManager(WSDLPublisherManager wsdlManager)
Bind the WSDLPublisherManager into this service |
Reference |
buildServiceRef(IServiceRefDesc rd,
ClassLoader loader)
buildServiceRef from WS ref descriptor |
void |
completeWSDeployment(Context ctx)
Complete the WebServices Deployment (add informations in web environment). |
abstract JServiceFactory |
createServiceFactory()
Return JServiceFactory instance |
void |
deployWebServices(Context ctx)
Get, update and publish WSDL documents contained in a set of jars and wars. |
protected void |
doDeployWebServices(Context ctx)
Deploy the given Web services. |
void |
doStart()
Starts the JAX-RPC service. |
void |
doStop()
Stops the JAX-RPC service. |
protected static I18n |
getI18n()
|
protected static org.objectweb.util.monolog.api.Logger |
getLogger()
|
String |
getUrlPrefix()
Returns the URL prefixing all generated endpoint URL. |
boolean |
isAutoWsGenEngaged()
Automatic WSGen is enabled ? |
boolean |
isParsingWithValidation()
Validating parser or not ? |
void |
removeCache(ClassLoader cl)
Remove WebServices descriptors associated to the given ClassLoader |
void |
setAutoWsGenEngaged(boolean engage)
Engage Automatic WsGen ? |
void |
setJmxService(JmxService jmxService)
|
void |
setNaming(JNamingManager naming)
|
void |
setParsingWithValidation(boolean validate)
Use validating parser or not . |
void |
setUrlPrefix(String prefix)
Sets the URL prefixing all generated endpoint URL. |
void |
setWebService(JWebContainerService webService)
|
void |
undeployWebServices(Context ctx)
Undeploy the WebServices : unpublish WSDL + unregister MBeans. |
| Methods inherited from class org.ow2.jonas.lib.service.AbsServiceImpl |
|---|
convertToList, doInit, getDomainName, getJonasServerName, getName, getServerProperties, init, isStarted, setName, setServerProperties, start, stop, throwRequirementException, toString |
| Methods inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter |
|---|
initLogger, sendReconfigNotification, sendSaveNotification |
| Methods inherited from class javax.management.NotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ow2.jonas.ws.jaxrpc.IJAXRPCService |
|---|
applyWSGen |
| Methods inherited from interface org.ow2.jonas.service.Service |
|---|
getName, init, isStarted, setName, start, stop |
| Constructor Detail |
|---|
public JAXRPCService()
| Method Detail |
|---|
public abstract JServiceFactory createServiceFactory()
public void setUrlPrefix(String prefix)
JAXRPCServiceMBean
setUrlPrefix in interface JAXRPCServiceMBeanprefix - URL prefixing all generated endpoint URL.public void setParsingWithValidation(boolean validate)
JAXRPCServiceMBean
setParsingWithValidation in interface JAXRPCServiceMBeanvalidate - validating parser or not ?public void setAutoWsGenEngaged(boolean engage)
JAXRPCServiceMBean
setAutoWsGenEngaged in interface JAXRPCServiceMBeanengage - Engage Automatic WsGen ?
public void deployWebServices(Context ctx)
throws WSException
deployWebServices in interface IJAXRPCServicectx - the context containing the configuration to deploy the wars.
WSException - if an error occurs during the deployment.
protected void doDeployWebServices(Context ctx)
throws WSException
ctx - Context used for parameter passing.
WSException - when error occurs.
public void doStop()
throws ServiceException
doStop in class AbsServiceImplServiceException - If the service stop fails
public void doStart()
throws ServiceException
doStart in class AbsServiceImplServiceException - If the service startup failspublic void removeCache(ClassLoader cl)
removeCache in interface IJAXRPCServicecl - key ClassLoaderprotected static I18n getI18n()
protected static org.objectweb.util.monolog.api.Logger getLogger()
public void completeWSDeployment(Context ctx)
throws WSException
IJAXRPCService
completeWSDeployment in interface IJAXRPCServicectx - Context containing the key ClassLoader
WSException - When Endpoints URLs binding failsIJAXRPCService.completeWSDeployment(javax.naming.Context)
public Reference buildServiceRef(IServiceRefDesc rd,
ClassLoader loader)
throws NamingException
buildServiceRef in interface IJAXRPCServicerd - WS ref descriptor
NamingException
public void undeployWebServices(Context ctx)
throws WSException
IJAXRPCService
undeployWebServices in interface IJAXRPCServicectx - Context containing undeployment informations
WSException - When undeployment failsIJAXRPCService.undeployWebServices(javax.naming.Context)public boolean isAutoWsGenEngaged()
isAutoWsGenEngaged in interface JAXRPCServiceMBeanisAutoWsGenEngaged in interface IJAXRPCServicepublic String getUrlPrefix()
getUrlPrefix in interface JAXRPCServiceMBeanpublic boolean isParsingWithValidation()
isParsingWithValidation in interface JAXRPCServiceMBeanpublic void setWebService(JWebContainerService webService)
webService - the webService to setpublic void setJmxService(JmxService jmxService)
jmxService - the jmxService to setpublic void setNaming(JNamingManager naming)
naming - the naming to setpublic void bindWSDLPublisherManager(WSDLPublisherManager wsdlManager)
wsdlManager - the manager to use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||