|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssemblyDescriptor
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()
|
org.eclipse.emf.common.util.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. |
org.eclipse.emf.common.util.EList |
getMethodPermissions()
|
java.util.List |
getMethodTransactionMethodElements(EnterpriseBean anEJB)
Return a List of MethodElements for @anEJB going through the MethodTransactions. |
org.eclipse.emf.common.util.EList |
getMethodTransactions()
|
SecurityRole |
getSecurityRoleNamed(java.lang.String roleName)
Return the SecurityRole given a roleName |
org.eclipse.emf.common.util.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)
|
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 |
---|
MethodPermission getMethodPermission(java.util.List securityRoles)
securityRoles
- the list of SecurityRole
java.util.List getMethodPermissionMethodElements(EnterpriseBean anEJB)
anEJB
- the Enterprise Bean model
java.util.List getMethodTransactionMethodElements(EnterpriseBean anEJB)
anEJB
- the Enterprise Bean model
SecurityRole getSecurityRoleNamed(java.lang.String roleName)
roleName
- the name of the role
void renameSecurityRole(java.lang.String existingRoleName, java.lang.String newRoleName)
existingRoleName
- the existing role namenewRoleName
- the new role nameorg.eclipse.emf.common.util.EList getMethodPermissions()
org.eclipse.emf.common.util.EList getMethodTransactions()
EJBJar getEjbJar()
void setEjbJar(EJBJar value)
value
- the new value of the EjbJar referenceorg.eclipse.emf.common.util.EList getSecurityRoles()
ExcludeList getExcludeList()
void setExcludeList(ExcludeList value)
value
- the new value of the ExcludeList referenceorg.eclipse.emf.common.util.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()
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 |