|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.jbi.container.ActivationSpec
public class ActivationSpec
Represents the registration of a component with the JBIContainer
| Constructor Summary | |
|---|---|
ActivationSpec()
|
|
ActivationSpec(Object component)
|
|
ActivationSpec(String id,
Object component)
|
|
| Method Summary | |
|---|---|
protected org.apache.servicemix.jbi.api.EndpointResolver |
createEndpointResolver()
Lazily create a resolver from the available information |
Object |
getComponent()
|
String |
getComponentName()
|
String |
getDestinationEndpoint()
The destination endpoint |
QName |
getDestinationInterface()
The destination interface |
QName |
getDestinationOperation()
The destination operation name |
org.apache.servicemix.jbi.api.EndpointResolver |
getDestinationResolver()
Returns the destination resolver used to decide which destination the container should route this component to. |
QName |
getDestinationService()
The destination service name |
String |
getDestinationUri()
|
String |
getEndpoint()
Returns the endpoint name of this component |
String |
getId()
The unique component ID |
EndpointChooser |
getInterfaceChooser()
|
QName |
getInterfaceName()
|
PojoMarshaler |
getMarshaler()
|
QName |
getOperation()
|
Boolean |
getPersistent()
|
QName |
getService()
Returns the service of the component to register |
EndpointChooser |
getServiceChooser()
|
SubscriptionSpec[] |
getSubscriptions()
|
boolean |
isFailIfNoDestinationEndpoint()
|
void |
setComponent(Object component)
|
void |
setComponentName(String componentName)
|
void |
setDestinationEndpoint(String destinationEndpoint)
|
void |
setDestinationInterface(QName destinationInterface)
|
void |
setDestinationOperation(QName destinationOperation)
|
void |
setDestinationResolver(org.apache.servicemix.jbi.api.EndpointResolver destinationResolver)
Sets the destination resolver used by the container to route requests send on the default endpoint. |
void |
setDestinationService(QName destinationService)
|
void |
setDestinationUri(String destinationUri)
|
void |
setEndpoint(String endpoint)
|
void |
setFailIfNoDestinationEndpoint(boolean failIfNoDestinationEndpoint)
Sets whether or not there should be a failure if there is no matching endpoint for the service dispatch. |
void |
setId(String id)
Sets the unique component ID |
void |
setInterfaceChooser(EndpointChooser interfaceChooser)
|
void |
setInterfaceName(QName interfaceName)
|
void |
setMarshaler(PojoMarshaler marshaler)
|
void |
setOperation(QName operation)
|
void |
setPersistent(Boolean persistent)
Set if message exchanges issued by the component should be persistent or not. |
void |
setService(QName service)
|
void |
setServiceChooser(EndpointChooser serviceChooser)
|
void |
setSubscriptions(SubscriptionSpec[] subscriptions)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActivationSpec()
public ActivationSpec(Object component)
public ActivationSpec(String id,
Object component)
| Method Detail |
|---|
public String getId()
public void setId(String id)
id - public String getComponentName()
public void setComponentName(String componentName)
public Object getComponent()
public void setComponent(Object component)
public QName getService()
public void setService(QName service)
public String getEndpoint()
public void setEndpoint(String endpoint)
public QName getInterfaceName()
public void setInterfaceName(QName interfaceName)
public QName getOperation()
public void setOperation(QName operation)
public org.apache.servicemix.jbi.api.EndpointResolver getDestinationResolver()
public void setDestinationResolver(org.apache.servicemix.jbi.api.EndpointResolver destinationResolver)
destinationResolver - public EndpointChooser getInterfaceChooser()
public void setInterfaceChooser(EndpointChooser interfaceChooser)
public EndpointChooser getServiceChooser()
public void setServiceChooser(EndpointChooser serviceChooser)
public QName getDestinationService()
public void setDestinationService(QName destinationService)
public QName getDestinationInterface()
public void setDestinationInterface(QName destinationInterface)
public QName getDestinationOperation()
public void setDestinationOperation(QName destinationOperation)
public String getDestinationEndpoint()
public void setDestinationEndpoint(String destinationEndpoint)
public PojoMarshaler getMarshaler()
public void setMarshaler(PojoMarshaler marshaler)
public SubscriptionSpec[] getSubscriptions()
public void setSubscriptions(SubscriptionSpec[] subscriptions)
public boolean isFailIfNoDestinationEndpoint()
public void setFailIfNoDestinationEndpoint(boolean failIfNoDestinationEndpoint)
failIfNoDestinationEndpoint - protected org.apache.servicemix.jbi.api.EndpointResolver createEndpointResolver()
public Boolean getPersistent()
public void setPersistent(Boolean persistent)
JBIContainer.persistent
attribute.
persistent - the new value to setpublic String getDestinationUri()
public void setDestinationUri(String destinationUri)
destinationUri - the destinationUri to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||