|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.management.NotificationBroadcasterSupport org.ow2.jonas.lib.reconfig.ReconfigEmitter org.ow2.jonas.lib.service.AbsServiceImpl org.ow2.jonas.ws.publish.internal.manager.DefaultWSDLPublisherManager
public class DefaultWSDLPublisherManager
Delegate publishing to all added WSDL Publishers.
Field Summary |
---|
Fields inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter |
---|
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
Constructor Summary | |
---|---|
DefaultWSDLPublisherManager()
Get a new instance of WSDLManager. |
Method Summary | |
---|---|
void |
addPublisher(WSDLPublisher publisher)
Add a new publisher in this manager. |
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 |
publish(List<PublishableDefinition> publishableDefinitionList)
Delegate publishing to all added WSDL Publishers. |
void |
publish(PublishableDefinition publishableDefinition)
Delegate publishing to all added WSDL Publishers. |
void |
removePublisher(WSDLPublisher publisher)
Remove an already registered publisher. |
void |
setJmxService(JmxService jmxService)
|
void |
setPublishers(String param)
|
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 |
Constructor Detail |
---|
public DefaultWSDLPublisherManager()
Method Detail |
---|
public void setPublishers(String param)
param
- List of WSDL Publishers to create.public void addPublisher(WSDLPublisher publisher)
addPublisher
in interface WSDLPublisherManager
publisher
- new WSDLPublisherpublic void removePublisher(WSDLPublisher publisher)
removePublisher
in interface WSDLPublisherManager
publisher
- WSDLPublisher to be removedpublic void publish(PublishableDefinition publishableDefinition) throws WSDLPublisherException
publish
in interface WSDLPublisher
publishableDefinition
- the data containing the WSDL file to be published and the publication info
WSDLPublisherException
- if an error occurs at the publishing.public void publish(List<PublishableDefinition> publishableDefinitionList) throws WSDLPublisherException
publish
in interface WSDLPublisher
publishableDefinitionList
- a list of data containing the WSDL file to be published and the publication info
WSDLPublisherException
- if an error occurs at the publishing.protected void doStart() throws ServiceException
doStart
in class AbsServiceImpl
ServiceException
- service start-up failedprotected void doStop() throws ServiceException
doStop
in class AbsServiceImpl
ServiceException
- service stopping failedpublic void setJmxService(JmxService jmxService)
jmxService
- the jmxService to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |