|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The root element of the EJB deployment descriptor. It contains an optional description of the ejb-jar file; optional display name; optional small icon file name; optional large icon file name; mandatory structural information about all included enterprise beans; a descriptor for container managed relationships, if any; an optional application-assembly descriptor; and an optional name of an ejb-client-jar file for the ejb-jar.
Method Summary | |
---|---|
boolean |
containsContainerManagedBeans()
Return true if there are any ContainerManagedEntity beans in this jar. |
boolean |
containsSecurityRole(java.lang.String name)
Returns true if there is security role with the name specified in the argument |
AssemblyDescriptor |
getAssemblyDescriptor()
|
java.util.List |
getBeanManagedBeans()
Return List of BeanManaged beans in this jar. |
java.util.List |
getContainerManagedBeans()
Return List of ContainerManagedEntity beans in this jar. |
java.util.List |
getEJB11ContainerManagedBeans()
Return List of EJB 1.1 ContainerManagedEntity beans in this jar. |
java.util.List |
getEJB20ContainerManagedBeans()
Return List of EJB 2.0 ContainerManagedEntity beans in this jar. |
java.lang.String |
getEjbClientJar()
|
EJBRelation |
getEJBRelation(java.lang.String aRelationName)
Return the first EJBRelation with the same name as aRelationName . |
java.util.List |
getEjbRelations()
|
java.util.List |
getEJBRelationsForSource(ContainerManagedEntity cmp)
Return all EJBRelation objects that have an EJBRelationshipRole with a source EJB of cmp . |
java.util.List |
getEJBRelationshipRolesForType(ContainerManagedEntity cmp)
Return all EJBRelationshipRole objects that have an EJBRelationshipRole with a type EJB of cmp . |
EnterpriseBean |
getEnterpiseBeanFromRef(EjbRef ref)
Return an enterprise bean referenced by the EjbRef, if one exists. |
EnterpriseBean |
getEnterpriseBeanNamed(java.lang.String ejbName)
Return the enterprise bean model which has the bean name of ejbName |
EList |
getEnterpriseBeans()
|
java.util.List |
getEnterpriseBeansWithReference(JavaClass aJavaClass)
Return ALL EnterpriseBean(s) that are referencing @aJavaClass as a home, remote, bean class, or key class. |
EnterpriseBean |
getEnterpriseBeanWithReference(JavaClass aJavaClass)
Return the *FIRST* EnterpriseBean that is referencing @aJavaClass as its home, remote, bean class, or key class. |
int |
getJ2EEVersionID()
This returns the j2ee version id. |
java.util.List |
getMessageDrivenBeans()
Return List of MessageDriven beans in this jar. |
Relationships |
getRelationshipList()
|
EJBRelationshipRole |
getRelationshipRole(java.lang.String aRoleName,
ContainerManagedEntity sourceCMP)
Return the EJBRelationshipRole with the same name as aRoleName
that has sourceCMP as its source bean. |
java.util.List |
getSessionBeans()
Return List of Session beans in this jar. |
java.lang.String |
getVersion()
Returns the value of the 'Version' attribute |
int |
getVersionID()
This returns the module version id. |
boolean |
isVersion1_1Descriptor()
Deprecated. Use getVersionID() to determine module level |
boolean |
isVersion2_0Descriptor()
Deprecated. Use getVersionID() to determine module level |
void |
renameSecurityRole(java.lang.String existingRoleName,
java.lang.String newRoleName)
Rename the security role contained in the assembly descriptor; for each enterprise bean, fix the role-link on any contained role refs |
void |
setAssemblyDescriptor(AssemblyDescriptor value)
|
void |
setEjbClientJar(java.lang.String value)
|
void |
setRelationshipList(Relationships value)
|
void |
setVersion(java.lang.String value)
Sets the value of the ' Version ' attribute |
Methods inherited from interface org.eclipse.jst.j2ee.common.CompatibilityDescriptionGroup |
---|
getDescription, getDisplayName, getLargeIcon, getSmallIcon, setDescription, setDescriptionGen, setDisplayName, setDisplayNameGen, setLargeIcon, setLargeIconGen, setSmallIcon, setSmallIconGen |
Methods inherited from interface org.eclipse.jst.j2ee.common.DescriptionGroup |
---|
getDescriptions, getDisplayNames, getIcons |
Method Detail |
public boolean containsContainerManagedBeans()
public boolean containsSecurityRole(java.lang.String name)
name
- the name of the security role
public java.util.List getBeanManagedBeans()
public java.util.List getContainerManagedBeans()
public java.util.List getEJB11ContainerManagedBeans()
public java.util.List getEJB20ContainerManagedBeans()
public java.util.List getMessageDrivenBeans()
public java.util.List getEjbRelations()
public EnterpriseBean getEnterpiseBeanFromRef(EjbRef ref)
ref
- reference to the EjbRef
public EnterpriseBean getEnterpriseBeanNamed(java.lang.String ejbName)
ejbName
- the name of the Enterprise Bean
public java.util.List getEnterpriseBeansWithReference(JavaClass aJavaClass)
aJavaClass
- a reference of type JavaClass
public EnterpriseBean getEnterpriseBeanWithReference(JavaClass aJavaClass)
aJavaClass
- a refernce of type JavaClass
public java.util.List getSessionBeans()
public boolean isVersion1_1Descriptor()
public boolean isVersion2_0Descriptor()
public void renameSecurityRole(java.lang.String existingRoleName, java.lang.String newRoleName)
existingRoleName
- the old name of the Security RolenewRoleName
- the new name of the Security Rolepublic int getJ2EEVersionID() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- when an error is encountered while getting the versionpublic java.lang.String getEjbClientJar()
public void setEjbClientJar(java.lang.String value)
value
- The new value of the EjbClientJar attributepublic java.lang.String getVersion()
If the meaning of the 'Version' attribute isn't clear, there really should be more of a description here...
setVersion(String)
,
EjbPackage.getEJBJar_Version()
public int getVersionID() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- when an error is encountered while getting the spec version of the beanpublic void setVersion(java.lang.String value)
Version
' attribute.
value
- the new value of the 'Version' attribute.getVersion()
public AssemblyDescriptor getAssemblyDescriptor()
public void setAssemblyDescriptor(AssemblyDescriptor value)
value
- The new value of the AssemblyDescriptor referencepublic EList getEnterpriseBeans()
public Relationships getRelationshipList()
public void setRelationshipList(Relationships value)
value
- The new value of the RelationshipList referencepublic EJBRelationshipRole getRelationshipRole(java.lang.String aRoleName, ContainerManagedEntity sourceCMP)
aRoleName
that has sourceCMP
as its source bean.
aRoleName
- the role namesourceCMP
- reference to ContainerManagedEntity
public EJBRelation getEJBRelation(java.lang.String aRelationName)
aRelationName
.
aRelationName
- the name of the relation
public java.util.List getEJBRelationsForSource(ContainerManagedEntity cmp)
cmp
.
cmp
- reference to ContainerManagedEntity
public java.util.List getEJBRelationshipRolesForType(ContainerManagedEntity cmp)
cmp
.
cmp
- reference to ContainerManagedEntit
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |