Package org.eclipse.jetty.util.component
Class Environment.Named
java.lang.Object
org.eclipse.jetty.util.Attributes.Mapped
org.eclipse.jetty.util.component.Environment.Named
- All Implemented Interfaces:
Attributes
,Dumpable
,Environment
- Enclosing interface:
- Environment
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes
Attributes.Layer, Attributes.Lazy, Attributes.Mapped, Attributes.Synthetic, Attributes.Wrapper
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Environment
Environment.Named
-
Field Summary
Fields inherited from interface org.eclipse.jetty.util.Attributes
NULL
Fields inherited from interface org.eclipse.jetty.util.component.Environment
CORE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.jetty.util.Attributes.Mapped
addAll, asAttributeMap, clearAttributes, equals, getAttribute, getAttributeNameSet, hashCode, removeAttribute, setAttribute, size
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.util.Attributes
asAttributeMap, clearAttributes, equals, getAttribute, getAttributeNameSet, hashCode, removeAttribute, setAttribute
Methods inherited from interface org.eclipse.jetty.util.component.Environment
run
-
Constructor Details
-
Named
-
Named
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceEnvironment
- Returns:
- The case-insensitive name of the environment.
-
getClassLoader
- Specified by:
getClassLoader
in interfaceEnvironment
- Returns:
- The
ClassLoader
for the environment or if non set, then theClassLoader
that loaded the environment implementation.
-
dump
-
dump
Description copied from interface:Dumpable
Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.- Specified by:
dump
in interfaceDumpable
- Parameters:
out
- The appendable to dump toindent
- The indent to apply after any new lines.- Throws:
IOException
- if unable to write to Appendable
-
toString
- Overrides:
toString
in classAttributes.Mapped
-