|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.objectweb.jonas.management.reconfig.emitter.ReconfigEmitter
org.objectweb.jonas.service.AbsServiceImpl
org.objectweb.jonas.ws.base.AbsWebServicesServiceImpl
public abstract class 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 String |
PARSINGWITHVALIDATION
WebServices service configuration properties : Xml parsing with validation. |
static String |
WS_BASE
WebServices service configuration properties : base for web services properties. |
static String |
WSDL_HANDLERS
WebServices service configuration properties : WSDL handlers. |
Fields inherited from class org.objectweb.jonas.management.reconfig.emitter.ReconfigEmitter |
---|
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 | |
---|---|
Reference |
buildServiceRef(IServiceRefDesc rd,
ClassLoader loader)
buildServiceRef from WS ref descriptor |
void |
completeWSDeployment(Context ctx)
Complete the WebServices Deployment (add informations in web environment). |
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. |
protected void |
doInit(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()
|
boolean |
isAutoWsGenEngaged()
Automatic WSGen is enabled ? |
void |
removeCache(ClassLoader cl)
Remove WebServices descriptors associated to the given ClassLoader |
void |
undeployWebServices(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.reconfig.emitter.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, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.jonas.service.Service |
---|
getName, init, isStarted, setName, start, stop |
Field Detail |
---|
public static final String PARSINGWITHVALIDATION
public static final String WSDL_HANDLERS
public static final String WS_BASE
Constructor Detail |
---|
public AbsWebServicesServiceImpl()
Method Detail |
---|
protected void doInit(Context ctx) throws ServiceException
doInit
in class AbsServiceImpl
ctx
- the configuration context of the service.
ServiceException
- if the initialization failed.public void deployWebServices(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(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(ClassLoader cl)
removeCache
in interface WebServicesService
cl
- key ClassLoaderprotected static I18n getI18n()
protected static org.objectweb.util.monolog.api.Logger getLogger()
public void completeWSDeployment(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 Reference buildServiceRef(IServiceRefDesc rd, ClassLoader loader) throws NamingException
buildServiceRef
in interface WebServicesService
rd
- WS ref descriptor
NamingException
public void undeployWebServices(Context ctx) throws WSServiceException
WebServicesService
undeployWebServices
in interface WebServicesService
ctx
- Context containing undeployment informations
WSServiceException
- When undeployment failsWebServicesService.undeployWebServices(javax.naming.Context)
public boolean isAutoWsGenEngaged()
isAutoWsGenEngaged
in interface WebServicesService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |