public class EjbJarDescription extends Object
Constructor and Description |
---|
EjbJarDescription(EEModuleDescription eeModuleDescription,
EEApplicationClasses applicationClassesDescription,
boolean war) |
Modifier and Type | Method and Description |
---|---|
void |
addSecurityRole(String role) |
void |
addSessionBeans(Collection<SessionBeanComponentDescription> sessionBeans) |
EEApplicationClasses |
getApplicationClassesDescription() |
EEModuleDescription |
getEEModuleDescription() |
Collection<MessageDrivenComponentDescription> |
getMessageDrivenBeans() |
Set<String> |
getSecurityRoles()
Returns the security roles that have been defined at the application level (via security-role elements in the
ejb-jar.xml).
|
Collection<SessionBeanComponentDescription> |
getSessionBeans()
Returns the
session beans belonging to this EjbJarDescription . |
boolean |
hasComponent(String componentName) |
boolean |
isWar() |
public EjbJarDescription(EEModuleDescription eeModuleDescription, EEApplicationClasses applicationClassesDescription, boolean war)
public void addSecurityRole(String role)
public Set<String> getSecurityRoles()
public boolean hasComponent(String componentName)
public EEModuleDescription getEEModuleDescription()
public Collection<SessionBeanComponentDescription> getSessionBeans()
session beans
belonging to this EjbJarDescription
.
Returns an empty collection if no session beans existpublic Collection<MessageDrivenComponentDescription> getMessageDrivenBeans()
public void addSessionBeans(Collection<SessionBeanComponentDescription> sessionBeans)
public boolean isWar()
public EEApplicationClasses getApplicationClassesDescription()
Copyright © 2017 JBoss by Red Hat. All rights reserved.