|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.txtimer.TimedObjectId
public class 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()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |