|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.fractal.bf.AbstractSkeleton
org.objectweb.fractal.bf.connectors.common.AbstractSkeletonContent
org.objectweb.fractal.bf.connectors.common.uri.UriSkeletonContent
org.objectweb.fractal.bf.connectors.jms.JmsSkeletonContent
public class JmsSkeletonContent
The content implementation of JMS skeleton components.
| Field Summary |
|---|
| Fields inherited from class org.objectweb.fractal.bf.connectors.common.AbstractSkeletonContent |
|---|
log |
| Fields inherited from class org.objectweb.fractal.bf.AbstractSkeleton |
|---|
DELEGATE_CLIENT_ITF_NAME, SERVANT_CLIENT_ITF_NAME |
| Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController |
|---|
STARTED, STOPPED |
| Constructor Summary | |
|---|---|
JmsSkeletonContent()
|
|
| Method Summary | |
|---|---|
String |
getCorrelationScheme()
Gets the correlation scheme used by the stub/skeleton: messageID, correlationID or none |
String |
getCreateDestinationMode()
Gets the mode used to create destination: always, never, or ifNotExist |
String |
getDestinationType()
Gets the type of the created destination: queue or topic. |
String |
getJndiConnectionFactoryName()
Gets the JNDI name of the connection factory to use. |
String |
getJndiDestinationName()
Gets the JNDI name of the destination to use. |
String |
getJndiInitialContextFactory()
Gets the JNDI initial context factory. |
String |
getJndiResponseDestinationName()
Gets the JNDI name of the destination on which responses will be send. |
String |
getJndiURL()
Get the jndiURL used to configure the stub/skeleton. |
boolean |
getPersistent()
Gets if messages sent by the stub/skeleton are persistent. |
int |
getPriority()
Gets the priority of messages sent by the stub/skeleton. |
String |
getSelector()
Gets the selector used to consume messages. |
long |
getTimeToLive()
Gets the living time of messages sent by the stub/skeleton. |
void |
onMessage(javax.jms.Message msg)
Handles messages received by the binding. |
void |
setCorrelationScheme(String correlationScheme)
Sets the correlation scheme used by the stub/skeleton: messageID, correlationID or none |
void |
setCreateDestinationMode(String createDestinationMode)
Sets the mode used to create destination always, never, or ifNotExist |
void |
setDestinationType(String destinationType)
Sets the type of the created destination: queue or topic. |
void |
setJndiConnectionFactoryName(String jndiConnFactName)
Sets the JNDI name of the connection factory to use. |
void |
setJndiDestinationName(String jndiDestinationName)
Sets the JNDI name of the destination to use. |
void |
setJndiInitialContextFactory(String jndiInitialContextFactory)
Sets the JNDI initial context factory. |
void |
setJndiResponseDestinationName(String jndiResponseDestinationName)
Sets the JNDI name of the destination on which responses will be send. |
void |
setJndiURL(String jndiURL)
Set the jndiURL used to configure the stub/skeleton. |
void |
setPersistent(boolean persistent)
Sets the persistence of messages sent by the stub/skeleton. |
void |
setPriority(int priority)
Sets the priority of messages sent by the stub/skeleton. |
void |
setSelector(String selector)
Sets the selector used to consume messages. |
void |
setTimeToLive(long timeToLive)
Sets the living time of messages sent by the stub/skeleton. |
void |
startFc()
|
void |
stopFc()
|
| Methods inherited from class org.objectweb.fractal.bf.connectors.common.uri.UriSkeletonContent |
|---|
getUri, setUri |
| Methods inherited from class org.objectweb.fractal.bf.connectors.common.AbstractSkeletonContent |
|---|
getFcState, getServiceClass, setServiceClass |
| Methods inherited from class org.objectweb.fractal.bf.AbstractSkeleton |
|---|
bindFc, getServant, listFc, lookupFc, unbindFc |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.objectweb.fractal.bf.connectors.common.uri.UriSkeletonContentAttributes |
|---|
getUri, setUri |
| Methods inherited from interface org.objectweb.fractal.bf.connectors.common.SkeletonContentAttributes |
|---|
getServiceClass, setServiceClass |
| Constructor Detail |
|---|
public JmsSkeletonContent()
| Method Detail |
|---|
public String getCorrelationScheme()
JmsAttributes
getCorrelationScheme in interface JmsAttributesJmsAttributes.getCorrelationScheme()public void setCorrelationScheme(String correlationScheme)
JmsAttributes
setCorrelationScheme in interface JmsAttributescorrelationScheme - the correlation schemeJmsAttributes.setCorrelationScheme(String)public String getJndiDestinationName()
JmsAttributes
getJndiDestinationName in interface JmsAttributesJmsAttributes.getJndiDestinationName()public void setJndiDestinationName(String jndiDestinationName)
JmsAttributes
setJndiDestinationName in interface JmsAttributesjndiDestinationName - the JNDI name of the destination.JmsAttributes.setJndiDestinationName(String)public String getCreateDestinationMode()
JmsAttributes
getCreateDestinationMode in interface JmsAttributesJmsAttributes.getCreateDestinationMode()public void setCreateDestinationMode(String createDestinationMode)
JmsAttributes
setCreateDestinationMode in interface JmsAttributescreateDestinationMode - the mode used to create destination.JmsAttributes.setCreateDestinationMode(String)public String getDestinationType()
JmsAttributes
getDestinationType in interface JmsAttributesJmsAttributes.getDestinationType()public void setDestinationType(String destinationType)
JmsAttributes
setDestinationType in interface JmsAttributesdestinationType - the type of the created destination.JmsAttributes.setDestinationType(String)public String getJndiInitialContextFactory()
JmsAttributes
getJndiInitialContextFactory in interface JmsAttributesJmsAttributes.getJndiInitialContextFactory()public void setJndiInitialContextFactory(String jndiInitialContextFactory)
JmsAttributes
setJndiInitialContextFactory in interface JmsAttributesjndiInitialContextFactory - the JNDI initial context factory.JmsAttributes.setJndiInitialContextFactory(String)public String getJndiConnectionFactoryName()
JmsAttributes
getJndiConnectionFactoryName in interface JmsAttributesJmsAttributes.getJndiConnectionFactoryName()public void setJndiConnectionFactoryName(String jndiConnFactName)
JmsAttributes
setJndiConnectionFactoryName in interface JmsAttributesjndiConnFactName - the JNDI name of the connection factory.JmsAttributes.setJndiConnectionFactoryName(String)public int getPriority()
JmsAttributes
getPriority in interface JmsAttributesJmsAttributes.getPriority()public void setPriority(int priority)
JmsAttributes
setPriority in interface JmsAttributespriority - the priority of messages sent by the stub/skeleton.JmsAttributes.setPriority(int)public long getTimeToLive()
JmsAttributes
getTimeToLive in interface JmsAttributesJmsAttributes.getTimeToLive()public void setTimeToLive(long timeToLive)
JmsAttributes
setTimeToLive in interface JmsAttributestimeToLive - the living time of messages sent by the stub/skeleton.JmsAttributes.setTimeToLive(long)public String getSelector()
JmsAttributes
getSelector in interface JmsAttributesJmsAttributes.getSelector()public void setSelector(String selector)
JmsAttributes
setSelector in interface JmsAttributesselector - the selector used to consume messages.JmsAttributes.setSelector(String)public boolean getPersistent()
JmsAttributes
getPersistent in interface JmsAttributesJmsAttributes.getPersistent()public void setPersistent(boolean persistent)
JmsAttributes
setPersistent in interface JmsAttributespersistent - true if messages sent by the stub/skeleton must be persistent.JmsAttributes.setPersistent(boolean)public String getJndiURL()
JmsAttributes
getJndiURL in interface JmsAttributesJmsAttributes.getJndiURL()public void setJndiURL(String jndiURL)
JmsAttributes
setJndiURL in interface JmsAttributesJmsAttributes.setJndiURL(String)public String getJndiResponseDestinationName()
JmsAttributes
getJndiResponseDestinationName in interface JmsAttributesJmsAttributes.getJndiResponseDestinationName()public void setJndiResponseDestinationName(String jndiResponseDestinationName)
JmsAttributes
setJndiResponseDestinationName in interface JmsAttributesjndiResponseDestinationName - the JNDI name of the response destinationJmsAttributes.setJndiResponseDestinationName(String)public final void startFc()
startFc in interface org.objectweb.fractal.api.control.LifeCycleControllerstartFc in class org.objectweb.fractal.bf.connectors.common.AbstractSkeletonContentLifeCycleController.startFc()public final void stopFc()
stopFc in interface org.objectweb.fractal.api.control.LifeCycleControllerstopFc in class org.objectweb.fractal.bf.connectors.common.AbstractSkeletonContentLifeCycleController.stopFc()public void onMessage(javax.jms.Message msg)
onMessage in interface javax.jms.MessageListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||