Class EjbJarDescription


  • public class EjbJarDescription
    extends Object
    User: jpai
    • 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)
      • isWar

        public boolean isWar()