public class EjbBundle extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EJB_PROP_FILE |
static String |
EJB_VERSION_PROP |
protected static EjbBundle |
NULL_BUNDLE |
static String |
SECURITY_ROLES_PROP |
Constructor and Description |
---|
EjbBundle(DocInfo docInfo)
Construct an EjbBundle from the specified javadoc info.
|
Modifier and Type | Method and Description |
---|---|
Collection |
getAbstractEjbs()
Return all the abstract Enterprise Beans
|
DocInfo |
getDocInfo() |
EjbInfo |
getEjb(String name)
Return a named EJB
|
Collection |
getEjbs()
Return all the Enterprise Beans
|
float |
getEjbVersion()
Determine which version of the EJB spec we're targeting
|
Properties |
getPropertiesStartingWith(String prefix)
Get all properties starting with the given prefix.
|
String |
getProperty(String name)
Fetch a bundle property
|
String |
getProperty(String name,
String defaultValue)
Fetch a bundle property
|
Collection |
getRelations()
Return all EjbRelations
|
Set |
getSecurityRoles()
Get the security-roles defined for this bundle
|
public static final String EJB_PROP_FILE
public static final String SECURITY_ROLES_PROP
public static final String EJB_VERSION_PROP
protected static final EjbBundle NULL_BUNDLE
public EjbBundle(DocInfo docInfo)
public String getProperty(String name)
name
- property namepublic String getProperty(String name, String defaultValue)
name
- property namedefaultValue
- a default valuepublic Properties getPropertiesStartingWith(String prefix)
public float getEjbVersion()
public Set getSecurityRoles()
public DocInfo getDocInfo()
public Collection getEjbs()
public Collection getAbstractEjbs()
public EjbInfo getEjb(String name)
name
- the name of the srcClasspublic Collection getRelations()