|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EJBJar
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 |
org.eclipse.emf.common.util.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 |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
|---|
boolean containsContainerManagedBeans()
boolean containsSecurityRole(java.lang.String name)
name - the name of the security role
java.util.List getBeanManagedBeans()
java.util.List getContainerManagedBeans()
java.util.List getEJB11ContainerManagedBeans()
java.util.List getEJB20ContainerManagedBeans()
java.util.List getMessageDrivenBeans()
java.util.List getEjbRelations()
EnterpriseBean getEnterpiseBeanFromRef(EjbRef ref)
ref - reference to the EjbRef
EnterpriseBean getEnterpriseBeanNamed(java.lang.String ejbName)
ejbName - the name of the Enterprise Bean
java.util.List getEnterpriseBeansWithReference(JavaClass aJavaClass)
aJavaClass - a reference of type JavaClass
EnterpriseBean getEnterpriseBeanWithReference(JavaClass aJavaClass)
aJavaClass - a refernce of type JavaClass
java.util.List getSessionBeans()
boolean isVersion1_1Descriptor()
boolean isVersion2_0Descriptor()
void renameSecurityRole(java.lang.String existingRoleName,
java.lang.String newRoleName)
existingRoleName - the old name of the Security RolenewRoleName - the new name of the Security Role
int getJ2EEVersionID()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - when an error is encountered while getting the versionjava.lang.String getEjbClientJar()
void setEjbClientJar(java.lang.String value)
value - The new value of the EjbClientJar attributejava.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()
int getVersionID()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - when an error is encountered while getting the spec version of the beanvoid setVersion(java.lang.String value)
Version' attribute.
value - the new value of the 'Version' attribute.getVersion()AssemblyDescriptor getAssemblyDescriptor()
void setAssemblyDescriptor(AssemblyDescriptor value)
value - The new value of the AssemblyDescriptor referenceorg.eclipse.emf.common.util.EList getEnterpriseBeans()
Relationships getRelationshipList()
void setRelationshipList(Relationships value)
value - The new value of the RelationshipList reference
EJBRelationshipRole getRelationshipRole(java.lang.String aRoleName,
ContainerManagedEntity sourceCMP)
aRoleName
that has sourceCMP as its source bean.
aRoleName - the role namesourceCMP - reference to ContainerManagedEntity
EJBRelation getEJBRelation(java.lang.String aRelationName)
aRelationName.
aRelationName - the name of the relation
java.util.List getEJBRelationsForSource(ContainerManagedEntity cmp)
cmp.
cmp - reference to ContainerManagedEntity
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 | |||||||||