|
||||||||||
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.jaxr.JAXRServiceImpl
JAXRService
Implementation.
Field Summary | |
static java.lang.String |
CLASS
JAXR service configuration parameters (class) |
static java.lang.String |
FACTORIES
JAXR service configuration parameters (factories) |
Fields inherited from class org.objectweb.jonas.management.ReconfigDispatcher |
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
Constructor Summary | |
JAXRServiceImpl()
|
Method Summary | |
void |
createJAXRConnection(java.util.Properties props)
Creates a new JAXRConnection from a Properties file. |
protected void |
doInit(javax.naming.Context ctx)
Abstract initialization method to be implemented by sub-classes |
protected void |
doStart()
Abstract start-up method to be implemented by sub-classes |
protected void |
doStop()
Abstract method for service stopping to be implemented by sub-classes |
void |
modifyJAXRConnection(java.lang.String name,
JAXRConnection jaxrc)
Modify the named JAXRConnection by remove it from Registry and bind the new one. |
void |
removeJAXRConnection(java.lang.String name)
Remove the names JAXRConnection from the Registry. |
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 FACTORIES
public static final java.lang.String CLASS
Constructor Detail |
public JAXRServiceImpl()
Method Detail |
protected void doInit(javax.naming.Context ctx) throws ServiceException
AbsServiceImpl
doInit
in class AbsServiceImpl
ctx
- configuration of the service
ServiceException
- service initialization failedAbsServiceImpl.doInit(javax.naming.Context)
protected void doStart() throws ServiceException
AbsServiceImpl
doStart
in class AbsServiceImpl
ServiceException
- service start-up failedAbsServiceImpl.doStart()
protected void doStop() throws ServiceException
AbsServiceImpl
doStop
in class AbsServiceImpl
ServiceException
- service stopping failedAbsServiceImpl.doStop()
public void createJAXRConnection(java.util.Properties props) throws ServiceException
JAXRService
createJAXRConnection
in interface JAXRService
props
- jaxr.properties file
ServiceException
- if creation failsJAXRService.createJAXRConnection(java.util.Properties)
public void modifyJAXRConnection(java.lang.String name, JAXRConnection jaxrc) throws ServiceException
JAXRService
modifyJAXRConnection
in interface JAXRService
name
- old JAXRConnection namejaxrc
- new JAXRConnection instance
ServiceException
- if remove/add failsJAXRService.modifyJAXRConnection(java.lang.String, org.objectweb.jonas.jaxr.JAXRConnection)
public void removeJAXRConnection(java.lang.String name) throws ServiceException
JAXRService
removeJAXRConnection
in interface JAXRService
name
- JAXRConnection name to be removed
ServiceException
- if remove fails.JAXRService.removeJAXRConnection(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |