FileDocCategorySizeDatePackage
Contained.javaAPI DocGlassfish v2 API2936Fri May 04 22:31:52 BST 2007org.apache.catalina

Contained

public interface Contained

Decoupling interface which specifies that an implementing class is associated with at most one Container instance.

author
Craig R. McClanahan
author
Peter Donald
version
$Revision: 1.3 $ $Date: 2007/05/05 05:31:51 $

Fields Summary
Constructors Summary
Methods Summary
public ContainergetContainer()
Return the Container with which this instance is associated (if any); otherwise return null.

public voidsetContainer(Container container)
Set the Container with which this instance is associated.

param
container The Container instance with which this instance is to be associated, or null to disassociate this instance from any Container