@Deprecated public abstract class BaseComponent extends java.lang.Object implements ServiceMixComponent
Base class for a component.
| Modifier and Type | Field and Description |
|---|---|
protected BaseLifeCycle |
lifeCycle
Deprecated.
|
protected org.slf4j.Logger |
logger
Deprecated.
|
protected Registry |
registry
Deprecated.
|
protected BaseServiceUnitManager |
serviceUnitManager
Deprecated.
|
| Constructor and Description |
|---|
BaseComponent()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected BaseLifeCycle |
createLifeCycle()
Deprecated.
Create the life cycle object.
|
protected Registry |
createRegistry()
Deprecated.
|
protected BaseServiceUnitManager |
createServiceUnitManager()
Deprecated.
Create the service unit manager.
|
javax.jbi.component.ComponentContext |
getComponentContext()
Deprecated.
|
java.lang.String |
getComponentName()
Deprecated.
|
Container |
getContainer()
Deprecated.
|
javax.xml.namespace.QName |
getEPRElementName()
Deprecated.
|
org.apache.servicemix.executors.Executor |
getExecutor(javax.jbi.messaging.MessageExchange.Role role)
Deprecated.
Shortcut to retrieve this component's executor.
|
javax.jbi.component.ComponentLifeCycle |
getLifeCycle()
Deprecated.
|
org.slf4j.Logger |
getLogger()
Deprecated.
|
Registry |
getRegistry()
Deprecated.
|
org.w3c.dom.Document |
getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint endpoint)
Deprecated.
|
javax.jbi.component.ServiceUnitManager |
getServiceUnitManager()
Deprecated.
|
java.lang.Object |
getSmx3Container()
Deprecated.
|
boolean |
isExchangeWithConsumerOkay(javax.jbi.servicedesc.ServiceEndpoint endpoint,
javax.jbi.messaging.MessageExchange exchange)
Deprecated.
|
boolean |
isExchangeWithProviderOkay(javax.jbi.servicedesc.ServiceEndpoint endpoint,
javax.jbi.messaging.MessageExchange exchange)
Deprecated.
|
void |
prepareExchange(javax.jbi.messaging.MessageExchange exchange,
Endpoint endpoint)
Deprecated.
Prepare an exchange sent from the given endpoint.
|
javax.jbi.servicedesc.ServiceEndpoint |
resolveEndpointReference(org.w3c.dom.DocumentFragment epr)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleExchange, prepareShutdownprotected final transient org.slf4j.Logger logger
protected BaseLifeCycle lifeCycle
protected Registry registry
protected BaseServiceUnitManager serviceUnitManager
public javax.jbi.component.ComponentLifeCycle getLifeCycle()
getLifeCycle in interface javax.jbi.component.Componentpublic javax.jbi.component.ServiceUnitManager getServiceUnitManager()
getServiceUnitManager in interface javax.jbi.component.Componentpublic org.w3c.dom.Document getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint endpoint)
getServiceDescription in interface javax.jbi.component.Componentpublic boolean isExchangeWithConsumerOkay(javax.jbi.servicedesc.ServiceEndpoint endpoint,
javax.jbi.messaging.MessageExchange exchange)
isExchangeWithConsumerOkay in interface javax.jbi.component.Componentpublic boolean isExchangeWithProviderOkay(javax.jbi.servicedesc.ServiceEndpoint endpoint,
javax.jbi.messaging.MessageExchange exchange)
isExchangeWithProviderOkay in interface javax.jbi.component.Componentpublic javax.jbi.servicedesc.ServiceEndpoint resolveEndpointReference(org.w3c.dom.DocumentFragment epr)
resolveEndpointReference in interface javax.jbi.component.Componentprotected BaseLifeCycle createLifeCycle()
protected BaseServiceUnitManager createServiceUnitManager()
protected Registry createRegistry()
public javax.jbi.component.ComponentContext getComponentContext()
getComponentContext in interface ServiceMixComponentpublic java.lang.String getComponentName()
getComponentName in interface ServiceMixComponentpublic org.slf4j.Logger getLogger()
getLogger in interface ServiceMixComponentpublic Registry getRegistry()
getRegistry in interface ServiceMixComponentpublic org.apache.servicemix.executors.Executor getExecutor(javax.jbi.messaging.MessageExchange.Role role)
getExecutor in interface ServiceMixComponentrole - the role to usepublic java.lang.Object getSmx3Container()
getSmx3Container in interface ServiceMixComponentpublic void prepareExchange(javax.jbi.messaging.MessageExchange exchange,
Endpoint endpoint)
throws javax.jbi.messaging.MessagingException
ServiceMixComponentprepareExchange in interface ServiceMixComponentexchange - the exchange to sendendpoint - the endpoint sending the exchangejavax.jbi.messaging.MessagingExceptionpublic javax.xml.namespace.QName getEPRElementName()
getEPRElementName in interface ServiceMixComponentpublic Container getContainer()
getContainer in interface ServiceMixComponentCopyright © 2005-2014 FuseSource. All Rights Reserved.