|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.NotificationBroadcasterSupport org.objectweb.jonas.management.ReconfigDispatcher org.objectweb.jonas.service.AbsServiceImpl org.objectweb.jonas.ws.AbsWebServicesServiceImpl
implements deployment process and declares commons abstract methods for all (used) Web services engine. Actually we consider Glue and AXIS.
Nested Class Summary | |
class |
AbsWebServicesServiceImpl.WSDeployInfo
Store information about a webservices descriptor. |
Field Summary | |
static java.lang.String |
PARSINGWITHVALIDATION
WebServices service configuration properties : Xml parsing with validation |
static java.lang.String |
WS_BASE
WebServices service configuration properties : base for web services properties. |
static java.lang.String |
WSDL_HANDLERS
WebServices service configuration properties : WSDL handlers |
Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher |
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
Fields inherited from interface org.objectweb.jonas.ws.WebServicesService |
CLASSLOADER_CTX_PARAM, ISINEAR_CTX_PARAM, PARENT_OBJECTNAME_CTX_PARAM, WARURL_CTX_PARAM |
Constructor Summary | |
AbsWebServicesServiceImpl()
|
Method Summary | |
void |
completeWSDeployment(javax.naming.Context ctx)
Complete the WebServices Deployment (add informations in web environment) |
void |
deployWebServices(javax.naming.Context ctx)
Get, update and publish WSDL documents contained in a set of jars and wars. |
protected void |
doDeployWebServices(javax.naming.Context ctx)
Deploy the given Web services. |
protected void |
doInit(javax.naming.Context ctx)
Initialize the service. |
void |
doStart()
Empty Method for WebServices (no running application). |
void |
doStop()
Empty Method for WebServices (no running application). |
protected static I18n |
getI18n()
|
protected static org.objectweb.util.monolog.api.Logger |
getLogger()
|
void |
removeCache(java.lang.ClassLoader cl)
Remove WebServices descriptors associated to the given ClassLoader |
void |
undeployWebServices(javax.naming.Context ctx)
Undeploy the WebServices : unpublish WSDL + unregister MBeans |
Methods inherited from class org.objectweb.jonas.service.AbsServiceImpl |
getDomainName, getJonasServerName, getName, init, isStarted, setName, start, stop |
Methods inherited from class org.objectweb.jonas.management.ReconfigDispatcher |
addNotificationListener, getFilter, getHandback, getListener, getNotificationInfo, initLogger, removeNotificationListener, sendReconfigNotification, sendSaveNotification |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
handleNotification, 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.objectweb.jonas.service.Service |
getName, init, isStarted, setName, start, stop |
Field Detail |
public static final java.lang.String PARSINGWITHVALIDATION
public static final java.lang.String WSDL_HANDLERS
public static final java.lang.String WS_BASE
Constructor Detail |
public AbsWebServicesServiceImpl()
Method Detail |
protected void doInit(javax.naming.Context ctx) throws ServiceException
doInit
in class AbsServiceImpl
ctx
- the configuration context of the service.
ServiceException
- if the initialization failed.public void deployWebServices(javax.naming.Context ctx) throws WSServiceException
deployWebServices
in interface WebServicesService
ctx
- the context containing the configuration to deploy the wars.
WSServiceException
- if an error occurs during the deployment.protected void doDeployWebServices(javax.naming.Context ctx) throws WSServiceException
ctx
- Context used for parameter passing.
WSServiceException
- when error occurs.public void doStop() throws ServiceException
doStop
in class AbsServiceImpl
ServiceException
- never thrownpublic void doStart() throws ServiceException
doStart
in class AbsServiceImpl
ServiceException
- never thrownpublic void removeCache(java.lang.ClassLoader cl)
removeCache
in interface WebServicesService
cl
- key ClassLoaderprotected static I18n getI18n()
protected static org.objectweb.util.monolog.api.Logger getLogger()
public void completeWSDeployment(javax.naming.Context ctx) throws WSServiceException
WebServicesService
completeWSDeployment
in interface WebServicesService
ctx
- Context containing the key ClassLoader
WSServiceException
- When Endpoints URLs binding failsWebServicesService.completeWSDeployment(javax.naming.Context)
public void undeployWebServices(javax.naming.Context ctx) throws WSServiceException
WebServicesService
undeployWebServices
in interface WebServicesService
ctx
- Context containing undeployment informations
WSServiceException
- When undeployment failsWebServicesService.undeployWebServices(javax.naming.Context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |