org.apache.cxf.jbi.se
Class CXFServiceEngine

java.lang.Object
  extended by org.apache.cxf.jbi.se.CXFServiceEngine
All Implemented Interfaces:
javax.jbi.component.Component, javax.jbi.component.ComponentLifeCycle

public class CXFServiceEngine
extends Object
implements javax.jbi.component.ComponentLifeCycle, javax.jbi.component.Component

A JBI component. Initializes the CXF JBI transport


Field Summary
static String JBI_TRANSPORT_ID
           
 
Constructor Summary
CXFServiceEngine()
           
 
Method Summary
 ObjectName getExtensionMBeanName()
           
 javax.jbi.component.ComponentLifeCycle getLifeCycle()
           
 Document getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint serviceEndpoint)
           
 javax.jbi.component.ServiceUnitManager getServiceUnitManager()
           
 void init(javax.jbi.component.ComponentContext componentContext)
           
 boolean isExchangeWithConsumerOkay(javax.jbi.servicedesc.ServiceEndpoint ep, javax.jbi.messaging.MessageExchange exchg)
           
 boolean isExchangeWithProviderOkay(javax.jbi.servicedesc.ServiceEndpoint ep, javax.jbi.messaging.MessageExchange exchng)
           
 javax.jbi.servicedesc.ServiceEndpoint resolveEndpointReference(DocumentFragment documentFragment)
           
 void shutDown()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JBI_TRANSPORT_ID

public static final String JBI_TRANSPORT_ID
See Also:
Constant Field Values
Constructor Detail

CXFServiceEngine

public CXFServiceEngine()
Method Detail

getExtensionMBeanName

public final ObjectName getExtensionMBeanName()
Specified by:
getExtensionMBeanName in interface javax.jbi.component.ComponentLifeCycle

shutDown

public final void shutDown()
                    throws javax.jbi.JBIException
Specified by:
shutDown in interface javax.jbi.component.ComponentLifeCycle
Throws:
javax.jbi.JBIException

init

public final void init(javax.jbi.component.ComponentContext componentContext)
                throws javax.jbi.JBIException
Specified by:
init in interface javax.jbi.component.ComponentLifeCycle
Throws:
javax.jbi.JBIException

start

public final void start()
                 throws javax.jbi.JBIException
Specified by:
start in interface javax.jbi.component.ComponentLifeCycle
Throws:
javax.jbi.JBIException

stop

public final void stop()
                throws javax.jbi.JBIException
Specified by:
stop in interface javax.jbi.component.ComponentLifeCycle
Throws:
javax.jbi.JBIException

getLifeCycle

public final javax.jbi.component.ComponentLifeCycle getLifeCycle()
Specified by:
getLifeCycle in interface javax.jbi.component.Component

getServiceUnitManager

public final javax.jbi.component.ServiceUnitManager getServiceUnitManager()
Specified by:
getServiceUnitManager in interface javax.jbi.component.Component

getServiceDescription

public final Document getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint serviceEndpoint)
Specified by:
getServiceDescription in interface javax.jbi.component.Component

isExchangeWithConsumerOkay

public final boolean isExchangeWithConsumerOkay(javax.jbi.servicedesc.ServiceEndpoint ep,
                                                javax.jbi.messaging.MessageExchange exchg)
Specified by:
isExchangeWithConsumerOkay in interface javax.jbi.component.Component

isExchangeWithProviderOkay

public final boolean isExchangeWithProviderOkay(javax.jbi.servicedesc.ServiceEndpoint ep,
                                                javax.jbi.messaging.MessageExchange exchng)
Specified by:
isExchangeWithProviderOkay in interface javax.jbi.component.Component

resolveEndpointReference

public final javax.jbi.servicedesc.ServiceEndpoint resolveEndpointReference(DocumentFragment documentFragment)
Specified by:
resolveEndpointReference in interface javax.jbi.component.Component


Apache CXF