Class AttributeContainerMap
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.util.component.AttributeContainerMap
- All Implemented Interfaces:
Attributes, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
An Attributes implementation that holds it's values in an immutable
ContainerLifeCycle-
Nested Class Summary
Nested classes/interfaces inherited from class ContainerLifeCycle
ContainerLifeCycle.ManagedNested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface Attributes
Attributes.WrapperNested classes/interfaces inherited from interface Container
Container.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddump(Appendable out, String indent) Dump this object (and children) into an Appendable using the provided indent after any new lines.getAttribute(String name) voidremoveAttribute(String name) voidsetAttribute(String name, Object attribute) toString()Methods inherited from class ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, doStart, doStop, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansMethods inherited from class AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Dumpable.DumpableContainer
isDumpable
-
Field Details
-
_map
-
-
Constructor Details
-
AttributeContainerMap
public AttributeContainerMap()
-
-
Method Details
-
setAttribute
- Specified by:
setAttributein interfaceAttributes
-
removeAttribute
- Specified by:
removeAttributein interfaceAttributes
-
getAttribute
- Specified by:
getAttributein interfaceAttributes
-
getAttributeNames
- Specified by:
getAttributeNamesin interfaceAttributes
-
getAttributeNameSet
- Specified by:
getAttributeNameSetin interfaceAttributes
-
clearAttributes
public void clearAttributes()- Specified by:
clearAttributesin interfaceAttributes
-
dump
Description copied from interface:DumpableDump 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:
dumpin interfaceDumpable- Overrides:
dumpin classContainerLifeCycle- 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:
toStringin classAbstractLifeCycle
-