org.apache.sandesha2.storage.beans
Class RMBean

java.lang.Object
  extended by org.apache.sandesha2.storage.beans.RMBean
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvokerBean, RMSequenceBean, SenderBean

public abstract class RMBean
extends java.lang.Object
implements java.io.Serializable

Defines a data bean used and managed by Sandesha2.

See Also:
Serialized Form

Constructor Summary
RMBean()
           
 
Method Summary
 long getId()
           
 Transaction getTransaction()
           
abstract  boolean match(RMBean matchInfo)
          Check to see if this bean matches the match criteria passed in as matchInfo.
protected  void setId(long id)
           
 void setTransaction(Transaction transaction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMBean

public RMBean()
Method Detail

getId

public long getId()

setId

protected void setId(long id)

getTransaction

public Transaction getTransaction()

setTransaction

public void setTransaction(Transaction transaction)

match

public abstract boolean match(RMBean matchInfo)
Check to see if this bean matches the match criteria passed in as matchInfo. In order for a property of the bean to be checked you must set the property on the matchInfo.



Copyright © The Apache Software Foundation. All Rights Reserved.