Contained (Apache Tomcat 7.0.81 API Documentation)

org.apache.catalina

## Interface Contained

- All Known Implementing Classes:
    AccessLogValve, AuthenticatorBase, BasicAuthenticator, ClusterSingleSignOn, CometConnectionManagerValve, CrawlerSessionManagerValve, DigestAuthenticator, ErrorReportValve, ExtendedAccessLogValve, FormAuthenticator, JDBCAccessLogValve, JvmRouteBinderValve, NonLoginAuthenticator, PersistentValve, RemoteAddrValve, RemoteHostValve, RemoteIpValve, ReplicationValve, RequestFilterValve, SemaphoreValve, SingleSignOn, SpnegoAuthenticator, SSLAuthenticator, SSLValve, StandardPipeline, StuckThreadDetectionValve, ValveBase

      public interface Contained

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

  Author:
    Craig R. McClanahan, Peter Donald

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Container` | `getContainer()` Return the `Container` with which this instance is associated (if any); otherwise return `null`.
    `void` | `setContainer(Container container)` Set the `Container` with which this instance is associated.

- - ### Method Detail

    - #### getContainer

          Container getContainer()

      Return the `Container` with which this instance is associated (if any); otherwise return `null`.

    - #### setContainer

          void setContainer(Container container)

      Set the `Container` with which this instance is associated.
      Parameters:
        `container` - The Container instance with which this instance is to be associated, or `null` to disassociate this instance from any Container

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.