public interface Contained
Decoupling interface which specifies that an implementing class is associated with at most one Container instance.
Modifier and Type | Method and Description |
---|---|
Container |
getContainer()
Get the
Container with which this instance is associated. |
void |
setContainer(Container container)
Set the
Container with which this instance is associated. |
Container getContainer()
Container
with which this instance is associated.null
if not associated with a Containervoid setContainer(Container container)
Container
with which this instance is associated.container
- The Container instance with which this instance is to
be associated, or null
to disassociate this instance
from any ContainerCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.