Package org.jboss.as.ejb3.deployment
Class EjbJarDescription
java.lang.Object
org.jboss.as.ejb3.deployment.EjbJarDescription
User: jpai
-
Constructor Summary
ConstructorsConstructorDescriptionEjbJarDescription(org.jboss.as.ee.component.EEModuleDescription eeModuleDescription, boolean war) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSecurityRole(String role) org.jboss.as.ee.component.EEModuleDescriptionReturns the security roles that have been defined at the application level (via security-role elements in the ejb-jar.xml).booleanhasComponent(String componentName) booleanisWar()
-
Constructor Details
-
EjbJarDescription
public EjbJarDescription(org.jboss.as.ee.component.EEModuleDescription eeModuleDescription, boolean war)
-
-
Method Details
-
addSecurityRole
-
getSecurityRoles
Returns the security roles that have been defined at the application level (via security-role elements in the ejb-jar.xml). Note that this set does *not* include the roles that have been defined at each individual component level (via @DeclareRoles, @RolesAllowed annotations or security-role-ref element) Returns an empty set if no roles have been defined at the application level.- Returns:
-
hasComponent
-
getEEModuleDescription
public org.jboss.as.ee.component.EEModuleDescription getEEModuleDescription() -
isWar
public boolean isWar()
-