|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.jbi.management.BaseLifeCycle
org.apache.servicemix.components.util.PojoSupport
org.apache.servicemix.components.util.ComponentSupport
org.apache.servicemix.client.DefaultServiceMixClient
org.apache.servicemix.client.RemoteServiceMixClient
public class RemoteServiceMixClient
Provides remote access to ServiceMix JBI Containers running on the JMS NMR Flow The RemoteServiceMixClient creates an enbedded JBIContainer and set the flow to use JMSFlow @see org.apache.servicemix.jbi.nmr.flow.jms.JMSFlow
| Field Summary |
|---|
| Fields inherited from class org.apache.servicemix.components.util.PojoSupport |
|---|
logger |
| Fields inherited from class org.apache.servicemix.jbi.management.BaseLifeCycle |
|---|
currentState, INITIALIZED, listener |
| Fields inherited from interface javax.jbi.management.LifeCycleMBean |
|---|
SHUTDOWN, STARTED, STOPPED, UNKNOWN |
| Constructor Summary | |
|---|---|
RemoteServiceMixClient()
Create a RemoteServiceMixClient - setting the default transport for the JMSFlow to be peer:// |
|
RemoteServiceMixClient(String uri)
Create a RemoteServiceMixClient |
|
RemoteServiceMixClient(String uri,
ActivationSpec activationSpec)
Create a RemoteServiceMixClient |
|
| Method Summary | |
|---|---|
void |
close()
|
String |
getContainerName()
|
void |
init()
init initializes the embedded JBIContainer |
void |
setContainerName(String name)
|
void |
shutDown()
Shut down the item. |
void |
start()
Start the item. |
void |
start(long timeout)
|
void |
stop()
Stop the item. |
| Methods inherited from class org.apache.servicemix.components.util.PojoSupport |
|---|
answer, getBody, getDescription, getEndpoint, getExtensionMBeanName, getService, init, isInAndOut, setBody, setEndpoint, setExtensionMBeanName, setService |
| Methods inherited from class org.apache.servicemix.jbi.management.BaseLifeCycle |
|---|
firePropertyChanged, getAttributeInfos, getCurrentState, getName, getObjectToManage, getOperationInfos, getSubType, getType, isInitialized, isShutDown, isStarted, isStopped, isUnknown, setCurrentState, setPropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteServiceMixClient()
public RemoteServiceMixClient(String uri)
uri -
public RemoteServiceMixClient(String uri,
ActivationSpec activationSpec)
uri - activationSpec - | Method Detail |
|---|
public void init()
throws javax.jbi.JBIException
init in class PojoSupportjavax.jbi.JBIException
public void start()
throws javax.jbi.JBIException
start in interface javax.jbi.component.ComponentLifeCyclestart in interface javax.jbi.management.LifeCycleMBeanstart in class BaseLifeCyclejavax.jbi.JBIException - if the item fails to start.
public void start(long timeout)
throws javax.jbi.JBIException
javax.jbi.JBIException
public void stop()
throws javax.jbi.JBIException
stop in interface javax.jbi.component.ComponentLifeCyclestop in interface javax.jbi.management.LifeCycleMBeanstop in class BaseLifeCyclejavax.jbi.JBIException - if the item fails to stop.
public void shutDown()
throws javax.jbi.JBIException
shutDown in interface javax.jbi.component.ComponentLifeCycleshutDown in interface javax.jbi.management.LifeCycleMBeanshutDown in class PojoSupportjavax.jbi.JBIException - if the item fails to shut down.public String getContainerName()
public void setContainerName(String name)
public void close()
throws javax.jbi.JBIException
close in interface org.apache.servicemix.jbi.api.ServiceMixClientclose in class DefaultServiceMixClientjavax.jbi.JBIException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||