|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defintion of a deployment context.
Field Summary | |
static String |
CLASSLOADER_KEY
The standard context entry key for the partition name. |
static String |
HOME_KEY
The standard context entry key for the partition name. |
static String |
NAME_KEY
The standard context entry key for the partition name. |
static String |
PARTITION_KEY
The standard context entry key for the partition name. |
static String |
TEMP_KEY
The standard context entry key for the partition name. |
Method Summary | |
ClassLoader |
getClassLoader()
Return the classloader for the component. |
ContainmentContext |
getContainmentContext()
Return the containment context. |
Class |
getDeploymentClass()
Return the component class. |
File |
getHomeDirectory()
Return the working directory for the component. |
Logger |
getLogger()
Return the logging channel assignable to the deployment model. |
String |
getName()
Return the name that the component will execute under. |
String |
getPartitionName()
Return the partition name that the component will execute within. |
DeploymentProfile |
getProfile()
Return the deployment profile. |
SystemContext |
getSystemContext()
Return the system context. |
File |
getTempDirectory()
Return the temporary directory for the component. |
Type |
getType()
Return the component type. |
void |
register(EntryModel model)
Add a context entry model to the deployment context. |
Object |
resolve(String alias)
Get a context entry from the deployment context. |
Field Detail |
public static final String PARTITION_KEY
public static final String NAME_KEY
public static final String CLASSLOADER_KEY
public static final String HOME_KEY
public static final String TEMP_KEY
Method Detail |
public String getPartitionName()
public String getName()
public SystemContext getSystemContext()
public ContainmentContext getContainmentContext()
public File getHomeDirectory()
public File getTempDirectory()
public Logger getLogger()
public DeploymentProfile getProfile()
public Type getType()
public Class getDeploymentClass()
public ClassLoader getClassLoader()
public void register(EntryModel model)
model
- the entry modelpublic Object resolve(String alias) throws ContextException
alias
- the entry lookup key
ContextException
- if a key corresponding to the supplied alias is unknown
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |