|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.repository.sequencers.SequencerNodeContext
@Immutable public class SequencerNodeContext
Contains context information that is passed to stream sequencers
, including information about the input
node containing the data being sequenced.
Method Summary | |
---|---|
AccessControlContext |
getAccessControlContext()
|
ClassLoader |
getClassLoader(String... classpath)
Get a class loader for the supplied classpath. |
Path |
getInputPath()
Return the path of the input node containing the content being sequenced. |
Set<Property> |
getInputProperties()
Return the set of properties from the input node containing the content being sequenced. |
Property |
getInputProperty(Name name)
Return the property with the supplied name from the input node containing the content being sequenced. |
Logger |
getLogger(Class<?> clazz)
Return a logger associated with this context. |
Logger |
getLogger(String name)
Return a logger associated with this context. |
LoginContext |
getLoginContext()
|
String |
getMimeType()
Return the MIME-type of the content being sequenced. |
NamespaceRegistry |
getNamespaceRegistry()
Get the namespace registry for this context. |
Problems |
getProblems()
Get an interface that can be used to record various problems, warnings, and errors that are not extreme enough to warrant throwing exceptions. |
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 class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public AccessControlContext getAccessControlContext()
getAccessControlContext
in interface ExecutionContext
null
ExecutionContext.getAccessControlContext()
public ClassLoader getClassLoader(String... classpath)
getClassLoader
in interface ClassLoaderFactory
classpath
- the classpath to use
ClassLoaderFactory.getClassLoader(java.lang.String[])
public ValueFactories getValueFactories()
properties
.
getValueFactories
in interface ExecutionContext
public Path getInputPath()
getInputPath
in interface SequencerContext
SequencerContext.getInputPath()
public Set<Property> getInputProperties()
getInputProperties
in interface SequencerContext
null
.SequencerContext.getInputProperties()
public Property getInputProperty(Name name)
getInputProperty
in interface SequencerContext
null
if none exists.SequencerContext.getInputProperty(org.jboss.dna.graph.properties.Name)
public Problems getProblems()
getProblems
in interface SequencerContext
SequencerContext.getProblems()
public String getMimeType()
getMimeType
in interface SequencerContext
SequencerContext.getMimeType()
public Logger getLogger(Class<?> clazz)
obtain a system logger
.
getLogger
in interface ExecutionContext
clazz
- the class that is doing the logging
clazz
; never nullExecutionContext.getLogger(java.lang.Class)
public Logger getLogger(String name)
obtain a system logger
.
getLogger
in interface ExecutionContext
name
- the name for the logger
clazz
; never nullExecutionContext.getLogger(java.lang.String)
public LoginContext getLoginContext()
getLoginContext
in interface ExecutionContext
null
ExecutionContext.getLoginContext()
public NamespaceRegistry getNamespaceRegistry()
getNamespaceRegistry
in interface ExecutionContext
null
public PropertyFactory getPropertyFactory()
Property
objects.
getPropertyFactory
in interface ExecutionContext
null
ExecutionContext.getPropertyFactory()
public Subject getSubject()
getSubject
in interface ExecutionContext
null
ExecutionContext.getSubject()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |