|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutionContext
An ExecutionContext is a representation of the environment or context in which a component or operation is operating. Some components require this context to be passed into individual methods, allowing the context to vary with each method invocation. Other components require the context to be provided before it's used, and will use that context for all its operations (until it is given a different one).
ExecutionContextFactory
Method Summary | |
---|---|
AccessControlContext |
getAccessControlContext()
|
Logger |
getLogger(Class<?> clazz)
Return a logger associated with this context. |
Logger |
getLogger(String name)
Return a logger associated with this context. |
LoginContext |
getLoginContext()
|
NamespaceRegistry |
getNamespaceRegistry()
Get the namespace registry for this context. |
PropertyFactory |
getPropertyFactory()
Get the factory for creating Property objects. |
Subject |
getSubject()
Get the JAAS subject for which this context was created. |
ValueFactories |
getValueFactories()
Get the factories that should be used to create values for properties . |
Methods inherited from interface org.jboss.dna.common.component.ClassLoaderFactory |
---|
getClassLoader |
Method Detail |
---|
AccessControlContext getAccessControlContext()
null
Logger getLogger(Class<?> clazz)
obtain a system logger
.
clazz
- the class that is doing the logging
clazz
; never nullgetLogger(String)
Logger getLogger(String name)
obtain a system logger
.
name
- the name for the logger
clazz
; never nullgetLogger(Class)
LoginContext getLoginContext()
null
NamespaceRegistry getNamespaceRegistry()
null
PropertyFactory getPropertyFactory()
Property
objects.
null
Subject getSubject()
null
ValueFactories getValueFactories()
properties
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |