|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The assembly-descriptor element contains application-assembly information. The application-assembly information consists of the following parts: the definition of security roles, the definition of method permissions, and the definition of transaction attributes for enterprise beans with container-managed transaction demarcation. All the parts are optional in the sense that they are omitted if the lists represented by them are empty. Providing an assembly-descriptor in the deployment descriptor is optional for the ejb-jar file producer.
Method Summary | |
---|---|
EJBJar |
getEjbJar()
|
ExcludeList |
getExcludeList()
|
EList |
getMessageDestinations()
Returns the value of the 'Message Destinations' containment reference list. |
MethodPermission |
getMethodPermission(java.util.List securityRoles)
Return the first method permission that contains all the roles in securityRoles and is the same size |
java.util.List |
getMethodPermissionMethodElements(EnterpriseBean anEJB)
Return a List of MethodElements for @anEJB going through the MethodPermissions. |
EList |
getMethodPermissions()
|
java.util.List |
getMethodTransactionMethodElements(EnterpriseBean anEJB)
Return a List of MethodElements for @anEJB going through the MethodTransactions. |
EList |
getMethodTransactions()
|
SecurityRole |
getSecurityRoleNamed(java.lang.String roleName)
Return the SecurityRole given a roleName |
EList |
getSecurityRoles()
|
void |
removeData(EnterpriseBean anEJB)
Remove the MethodElements that are referencing @anEJB. |
void |
renameSecurityRole(java.lang.String existingRoleName,
java.lang.String newRoleName)
Rename the security role, if it exists |
void |
setEjbJar(EJBJar value)
|
void |
setExcludeList(ExcludeList value)
|
Method Detail |
public MethodPermission getMethodPermission(java.util.List securityRoles)
securityRoles
- the list of SecurityRole
public java.util.List getMethodPermissionMethodElements(EnterpriseBean anEJB)
anEJB
- the Enterprise Bean model
public java.util.List getMethodTransactionMethodElements(EnterpriseBean anEJB)
anEJB
- the Enterprise Bean model
public SecurityRole getSecurityRoleNamed(java.lang.String roleName)
roleName
- the name of the role
public void renameSecurityRole(java.lang.String existingRoleName, java.lang.String newRoleName)
existingRoleName
- the existing role namenewRoleName
- the new role namepublic EList getMethodPermissions()
public EList getMethodTransactions()
public EJBJar getEjbJar()
public void setEjbJar(EJBJar value)
value
- the new value of the EjbJar referencepublic EList getSecurityRoles()
public ExcludeList getExcludeList()
public void setExcludeList(ExcludeList value)
value
- the new value of the ExcludeList referencepublic EList getMessageDestinations()
MessageDestination
.
If the meaning of the 'Message Destinations' containment reference list isn't clear, there really should be more of a description here...
EjbPackage.getAssemblyDescriptor_MessageDestinations()
public void removeData(EnterpriseBean anEJB)
anEJB
- the Enterprise Bean model
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |