|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.notification.jms.access.JMSObjectDecorator<T>
T
- the type of the JMS object this decorator works on.public abstract class JMSObjectDecorator<T>
A decorator of JMS objects to provide to them, as additional attribute, the JMS session in which they are involved.
Constructor Summary | |
---|---|
JMSObjectDecorator()
|
Method Summary | |
---|---|
protected T |
getDecoratedObject()
Gets the JMS object decorated by this. |
javax.jms.Session |
getSession()
Gets the JMS session within which this object is living. |
protected void |
setDecoratedObject(T object)
Sets the JMS object to decorate. |
void |
setSession(javax.jms.Session session)
Sets the session from which this JMS object is created. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMSObjectDecorator()
Method Detail |
---|
public void setSession(javax.jms.Session session)
session
- the JMS session to set.public javax.jms.Session getSession()
protected T getDecoratedObject()
protected void setDecoratedObject(T object)
object
- the JMS object to decorate.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |