org.apache.servicemix.jbi.deployer.artifacts
Class ComponentImpl.ComponentWrapper

java.lang.Object
  extended by org.apache.servicemix.jbi.deployer.artifacts.ComponentImpl.ComponentWrapper
All Implemented Interfaces:
javax.jbi.component.Component, javax.jbi.component.ComponentLifeCycle
Enclosing class:
ComponentImpl

protected class ComponentImpl.ComponentWrapper
extends Object
implements javax.jbi.component.Component, javax.jbi.component.ComponentLifeCycle


Constructor Summary
ComponentImpl.ComponentWrapper(javax.jbi.component.Component component)
           
 
Method Summary
 ObjectName getExtensionMBeanName()
           
 javax.jbi.component.ComponentLifeCycle getLifeCycle()
           
 Document getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint endpoint)
           
 javax.jbi.component.ServiceUnitManager getServiceUnitManager()
           
 void init(javax.jbi.component.ComponentContext context)
           
 boolean isExchangeWithConsumerOkay(javax.jbi.servicedesc.ServiceEndpoint endpoint, javax.jbi.messaging.MessageExchange exchange)
           
 boolean isExchangeWithProviderOkay(javax.jbi.servicedesc.ServiceEndpoint endpoint, javax.jbi.messaging.MessageExchange exchange)
           
 javax.jbi.servicedesc.ServiceEndpoint resolveEndpointReference(DocumentFragment epr)
           
 void shutDown()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentImpl.ComponentWrapper

public ComponentImpl.ComponentWrapper(javax.jbi.component.Component component)
Method Detail

getLifeCycle

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

getServiceUnitManager

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

getServiceDescription

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

isExchangeWithConsumerOkay

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

isExchangeWithProviderOkay

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

resolveEndpointReference

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

getExtensionMBeanName

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

init

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

shutDown

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

start

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

stop

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


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.