|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ejb-ref element is used for the declaration of a reference to an enterprise bean's home. The declaration consists of an optional description; the EJB reference name used in the code of the referencing application client; the expected type of the referenced enterprise bean; the expected home and remote interfaces of the referenced enterprise bean; and an optional ejb-link information. The optional ejb-link element is used to specify the referenced enterprise bean.
Method Summary | |
---|---|
java.lang.String |
getDescription()
|
EList |
getDescriptions()
Returns the value of the 'Descriptions' containment reference list. |
java.lang.String |
getHome()
|
java.lang.String |
getLink()
|
EnterpriseBean |
getLinkedEjb(EJBJar ejbJar)
Return an enterprise bean referenced by the EjbRef, if one exists, within the scope of the parameter. |
java.lang.String |
getName()
|
java.lang.String |
getRemote()
|
EjbRefType |
getType()
|
boolean |
isEquivalent(EjbRef anEjbRef)
Return true if the name, home, remote, and link are equivalent. |
boolean |
isLinked(EnterpriseBean anEJB)
Return true if this reference is physically linked to |
boolean |
isLocal()
Return true if the ejbref is for a local ejb interface. |
boolean |
isSetType()
Returns whether the value of the ' Type ' attribute is set |
void |
setDescription(java.lang.String value)
|
void |
setHome(java.lang.String value)
|
void |
setLink(java.lang.String value)
|
void |
setName(java.lang.String value)
|
void |
setRemote(java.lang.String value)
|
void |
setType(EjbRefType value)
Sets the value of the ' Type ' attribute |
void |
unsetType()
Unsets the value of the ' Type ' attribute |
Method Detail |
public EnterpriseBean getLinkedEjb(EJBJar ejbJar)
public boolean isEquivalent(EjbRef anEjbRef)
public boolean isLinked(EnterpriseBean anEJB)
public boolean isLocal()
public java.lang.String getName()
public void setName(java.lang.String value)
value
- The new value of the Name attributepublic EjbRefType getType()
public void setType(EjbRefType value)
Type
' attribute.
value
- the new value of the 'Type' attribute.EjbRefType
,
isSetType()
,
unsetType()
,
getType()
public void unsetType()
Type
' attribute.
isSetType()
,
getType()
,
setType(EjbRefType)
public boolean isSetType()
Type
' attribute is set.
unsetType()
,
getType()
,
setType(EjbRefType)
public java.lang.String getHome()
public void setHome(java.lang.String value)
value
- The new value of the Home attributepublic java.lang.String getRemote()
public void setRemote(java.lang.String value)
value
- The new value of the Remote attributepublic java.lang.String getLink()
public void setLink(java.lang.String value)
value
- The new value of the Link attributepublic java.lang.String getDescription()
public void setDescription(java.lang.String value)
value
- The new value of the Description attributepublic EList getDescriptions()
Description
.
If the meaning of the 'Descriptions' containment reference list isn't clear, there really should be more of a description here...
CommonPackage.getEjbRef_Descriptions()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |