Class EjbJarDescription

java.lang.Object
org.jboss.as.ejb3.deployment.EjbJarDescription

public class EjbJarDescription extends Object
User: jpai
  • Constructor Details

    • EjbJarDescription

      public EjbJarDescription(EEModuleDescription eeModuleDescription, boolean war)
  • Method Details

    • 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()