Package org.jboss.as.ejb3.deployment
Class EjbJarDescription
- java.lang.Object
-
- org.jboss.as.ejb3.deployment.EjbJarDescription
-
public class EjbJarDescription extends Object
User: jpai
-
-
Constructor Summary
Constructors Constructor Description EjbJarDescription(EEModuleDescription eeModuleDescription, boolean war)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSecurityRole(String role)EEModuleDescriptiongetEEModuleDescription()Set<String>getSecurityRoles()Returns 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 Detail
-
EjbJarDescription
public EjbJarDescription(EEModuleDescription eeModuleDescription, boolean war)
-
-
Method Detail
-
addSecurityRole
public void addSecurityRole(String role)
-
getSecurityRoles
public Set<String> 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
public boolean hasComponent(String componentName)
-
getEEModuleDescription
public EEModuleDescription getEEModuleDescription()
-
isWar
public boolean isWar()
-
-