Methods Summary |
---|
public boolean | equals(java.lang.Object object)
if (object instanceof JmsDestinationReference) {
JmsDestinationReference destReference = (JmsDestinationReference) object;
return destReference.getName().equals(this.getName());
}
return false;
|
public java.lang.String | getInjectResourceType()
return getRefType();
|
public java.lang.String | getJndiName()Return the jndi name of the destination to which I refer.
String jndiName = this.getValue();
return (jndiName != null && ! jndiName.equals("")) ?
jndiName : getMappedName();
|
public java.lang.String | getRefType()
return this.refType;
|
public boolean | isEJBContext()
return (getRefType().equals(SESSION_CTX_TYPE) ||
getRefType().equals(MDB_CTX_TYPE) ||
getRefType().equals(EJB_CTX_TYPE) ||
getRefType().equals(EJB_TIMER_SERVICE_TYPE));
|
public void | setInjectResourceType(java.lang.String refType)
setRefType(refType);
|
public void | setJndiName(java.lang.String jndiName)Sets the jndi name of the destination to which I refer
this.setValue(jndiName);
|
public void | setRefType(java.lang.String refType)
this.refType = refType;
this.changed();
|