Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.cache » invalidation » bridges » [javadoc | source]
org.jboss.cache.invalidation.bridges
public interface: JMSCacheInvalidationBridgeMBean [javadoc | source]

All Implemented Interfaces:
    ServiceMBean

All Known Implementing Classes:
    JMSCacheInvalidationBridge

Cache invalidation bridge based on JMS. The list of InvalidationGroup to be bridged is *not* automatically discovered, thus, all invalidation messages that are locally generated are forwarded over JMS. In the future, it should be possible, through a JMX attribute, to list the InvalidationGroup that should be included/excluded
Field Summary
public static final  int AUTO_ACKNOWLEDGE_MODE     
public static final  int CLIENT_ACKNOWLEDGE_MODE     
public static final  int DUPS_OK_ACKNOWLEDGE_MODE     
public static final  int IN_OUT_BRIDGE_PROPAGATION     
public static final  int IN_ONLY_BRIDGE_PROPAGATION     
public static final  int OUT_ONLY_BRIDGE_PROPAGATION     
Method from org.jboss.cache.invalidation.bridges.JMSCacheInvalidationBridgeMBean Summary:
getAcknowledgeMode,   getConnectionFactoryName,   getInvalidationManager,   getPropagationMode,   getProviderUrl,   getTopicName,   isTransacted,   setAcknowledgeMode,   setConnectionFactoryName,   setInvalidationManager,   setPropagationMode,   setProviderUrl,   setTopicName,   setTransacted
Method from org.jboss.cache.invalidation.bridges.JMSCacheInvalidationBridgeMBean Detail:
 public int getAcknowledgeMode()
    Status of the JMS topic wrt messages acknowledgement
 public String getConnectionFactoryName()
    JNDI name of the JMS connection factory to use for cache invalidations
 public String getInvalidationManager()
    ObjectName of the InvalidationManager to be used. Optional: in this case, the default InvalidationManager is used.
 public int getPropagationMode()
    Indicates if this bridge should: 1 - Post local invalidations to the topic and invalidate local caches with invalidations received on the topic 2 - Only invalidate local caches with invalidations received on the topic but not post anything on the topic 3 - Only post local invalidations to the topic and not listen to the Topic for invalidation messages
 public String getProviderUrl()
    Provider URL to use for JMS access. If null, use the default settings
 public String getTopicName()
    JNDI name of the Topic to use to send/receive cache invalidations. Defaults to "topic/JMSCacheInvalidationBridge"
 public boolean isTransacted()
    Status of the JMS topic wrt transactions
 public  void setAcknowledgeMode(int ackMode)
 public  void setConnectionFactoryName(String factoryName)
 public  void setInvalidationManager(String objectName)
 public  void setPropagationMode(int propagationMode)
 public  void setProviderUrl(String url)
 public  void setTopicName(String topicName)
 public  void setTransacted(boolean isTransacted)