|
||||||||||
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.jaxws.base.JAXWSService org.ow2.jonas.ws.cxf.CXFService
public class CXFService
The CXFService class is used to declare CXF as a module in JOnAS.
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.jaxws.IJAXWSService |
---|
KEY_WEB_SERVICES_METADATAS |
Constructor Summary | |
---|---|
CXFService()
Default constructor. |
Method Summary | |
---|---|
void |
bindEventService(org.ow2.util.event.api.IEventService eventService)
Callback invoked when an EventService becomes available. |
protected void |
checkEnableMtom(org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean jaxWsServiceFactoryBean,
JOnASJaxWsImplementorInfo info)
Enable MTOM feature on CXF service factory if it is enabled. |
Reference |
createNamingReference(org.ow2.util.ee.metadata.common.api.struct.IJaxwsWebServiceRef serviceRef)
Construct a Reference dedicated to the given @WebServiceRef metadata. |
IWebServiceEndpoint |
createPOJOWebServiceEndpoint(org.ow2.util.ee.metadata.war.api.IWarClassMetadata metadata,
ClassLoader loader,
ServletContext servletContext)
Creates a new POJO Web service endpoint from classes metadata. |
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 |
finalizePOJODeployment(ServletContext context)
Finalize the deployment of POJO endpoints contained in the given ServletContext. |
void |
setWSDLPublisherManager(WSDLPublisherManager publisherManager)
Set the WSDLPublisherManager service. |
void |
unbindEventService(org.ow2.util.event.api.IEventService eventService)
Callback invoked when the used EventService becomes unavalable. |
void |
undeployPOJOEndpoints(ServletContext context)
Stop and undeploy the POJO endpoints contained in the given ServletContext. |
Methods inherited from class org.ow2.jonas.ws.jaxws.base.JAXWSService |
---|
getJmxService, setJmxService |
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.service.Service |
---|
getName, init, isStarted, setName, start, stop |
Constructor Detail |
---|
public CXFService()
Method Detail |
---|
protected void doStart() throws ServiceException
doStart
in class JAXWSService
ServiceException
- service start-up failedprotected void doStop() throws ServiceException
doStop
in class JAXWSService
ServiceException
- service stopping failedpublic Reference createNamingReference(org.ow2.util.ee.metadata.common.api.struct.IJaxwsWebServiceRef serviceRef) throws NamingException
createNamingReference
in interface IJAXWSService
serviceRef
- the reference described by the user.
Reference
that can be bound in a JNDI Context.
NamingException
public IWebServiceEndpoint createPOJOWebServiceEndpoint(org.ow2.util.ee.metadata.war.api.IWarClassMetadata metadata, ClassLoader loader, ServletContext servletContext) throws WSException
createPOJOWebServiceEndpoint
in interface IJAXWSService
metadata
- the class own metadata (annotation + XML)loader
- the ClassLoader to be used to load classes from the metadataservletContext
- the webapp ServletContext (used to locate web resource)
WSException
- if it was impossible to create the endpoint (CNFE, ...)protected void checkEnableMtom(org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean jaxWsServiceFactoryBean, JOnASJaxWsImplementorInfo info)
jaxWsServiceFactoryBean
- the CXF service factory beaninfo
- the annotation merged infopublic void finalizePOJODeployment(ServletContext context)
finalizePOJODeployment
in interface IJAXWSService
context
- ServletContext.public void undeployPOJOEndpoints(ServletContext context)
undeployPOJOEndpoints
in interface IJAXWSService
context
- ServletContext.public void bindEventService(org.ow2.util.event.api.IEventService eventService)
eventService
- the event servicepublic void unbindEventService(org.ow2.util.event.api.IEventService eventService)
eventService
- disposed servicepublic void setWSDLPublisherManager(WSDLPublisherManager publisherManager)
publisherManager
- publication tool
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |