|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.ejb.txtimer.TimedObjectId
The combined TimedObjectId consists of a String that identifies the "class" of the TimedObject and optionally an instance primary key object.
When the TimedObject is an EJB deployed on JBoss, the containerId is the JMX name of the component, and the instancePk is the entity's primary key. If the component is not an entity, the instancePk should be null.
Constructor Summary | |
TimedObjectId(javax.management.ObjectName timedObjectId)
Construct a TimedObjectId |
|
TimedObjectId(javax.management.ObjectName containerId,
Object instancePk)
Construct a combined TimedObjectId |
Method Summary | |
boolean |
equals(Object obj)
|
javax.management.ObjectName |
getContainerId()
|
Object |
getInstancePk()
|
int |
hashCode()
|
static TimedObjectId |
parse(String externalForm)
Parse the timed object id from external form. |
String |
toExternalForm()
Returns the external representation of the TimedObjectId. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TimedObjectId(javax.management.ObjectName containerId, Object instancePk)
containerId
- The TimedObject identifierinstancePk
- The TimedObject instance identifier, can be nullpublic TimedObjectId(javax.management.ObjectName timedObjectId)
timedObjectId
- The TimedObject identifierMethod Detail |
public javax.management.ObjectName getContainerId()
public Object getInstancePk()
public static TimedObjectId parse(String externalForm)
public String toExternalForm()
public int hashCode()
public boolean equals(Object obj)
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |