|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 ExecutionContextnullExecutionContext.getAccessControlContext()public ClassLoader getClassLoader(String... classpath)
getClassLoader in interface ClassLoaderFactoryclasspath - the classpath to use
ClassLoaderFactory.getClassLoader(java.lang.String[])public ValueFactories getValueFactories()
properties.
getValueFactories in interface ExecutionContextpublic Path getInputPath()
getInputPath in interface SequencerContextSequencerContext.getInputPath()public Set<Property> getInputProperties()
getInputProperties in interface SequencerContextnull.SequencerContext.getInputProperties()public Property getInputProperty(Name name)
getInputProperty in interface SequencerContextnull if none exists.SequencerContext.getInputProperty(org.jboss.dna.graph.properties.Name)public Problems getProblems()
getProblems in interface SequencerContextSequencerContext.getProblems()public String getMimeType()
getMimeType in interface SequencerContextSequencerContext.getMimeType()public Logger getLogger(Class<?> clazz)
obtain a system logger.
getLogger in interface ExecutionContextclazz - 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 ExecutionContextname - the name for the logger
clazz; never nullExecutionContext.getLogger(java.lang.String)public LoginContext getLoginContext()
getLoginContext in interface ExecutionContextnullExecutionContext.getLoginContext()public NamespaceRegistry getNamespaceRegistry()
getNamespaceRegistry in interface ExecutionContextnullpublic PropertyFactory getPropertyFactory()
Property objects.
getPropertyFactory in interface ExecutionContextnullExecutionContext.getPropertyFactory()public Subject getSubject()
getSubject in interface ExecutionContextnullExecutionContext.getSubject()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||