|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.common.BaseComponent
@Deprecated public abstract class BaseComponent
Base class for a component.
| Field Summary | |
|---|---|
protected BaseLifeCycle |
lifeCycle
Deprecated. |
protected org.slf4j.Logger |
logger
Deprecated. |
protected Registry |
registry
Deprecated. |
protected BaseServiceUnitManager |
serviceUnitManager
Deprecated. |
| Constructor Summary | |
|---|---|
BaseComponent()
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.servicemix.common.ServiceMixComponent |
|---|
handleExchange, prepareShutdown |
| Field Detail |
|---|
protected final transient org.slf4j.Logger logger
protected BaseLifeCycle lifeCycle
protected Registry registry
protected BaseServiceUnitManager serviceUnitManager
| Constructor Detail |
|---|
public BaseComponent()
| Method Detail |
|---|
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.Component
public boolean isExchangeWithConsumerOkay(javax.jbi.servicedesc.ServiceEndpoint endpoint,
javax.jbi.messaging.MessageExchange exchange)
isExchangeWithConsumerOkay in interface javax.jbi.component.Component
public 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 use
public java.lang.Object getSmx3Container()
getSmx3Container in interface ServiceMixComponent
public void prepareExchange(javax.jbi.messaging.MessageExchange exchange,
Endpoint endpoint)
throws javax.jbi.messaging.MessagingException
ServiceMixComponent
prepareExchange in interface ServiceMixComponentexchange - the exchange to sendendpoint - the endpoint sending the exchange
javax.jbi.messaging.MessagingExceptionpublic javax.xml.namespace.QName getEPRElementName()
getEPRElementName in interface ServiceMixComponentpublic Container getContainer()
getContainer in interface ServiceMixComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||