org.glassfish.api.container
Interface Container


@Contract
public interface Container

Contract identifying a container implementation. Usually the names of the container should be specific enough to ensure uniqueness. In most cases, it is recommended to use the full class name as the @Service name attribute to ensure that two containers do no collide.

Author:
Jerome Dochez

Method Summary
 java.lang.Class<? extends Deployer> getDeployer()
          Returns the Deployer implementation capable of deploying applications to this container.
 java.lang.String getName()
          Returns a human redeable name for this container, this name is not used for identifying the container but can be used to display messages belonging to the container.
 

Method Detail

getDeployer

java.lang.Class<? extends Deployer> getDeployer()
Returns the Deployer implementation capable of deploying applications to this container.

Returns:
the Deployer implementation

getName

java.lang.String getName()
Returns a human redeable name for this container, this name is not used for identifying the container but can be used to display messages belonging to the container.

Returns:
a human readable name for this container.


Copyright © 2012 GlassFish Community. All Rights Reserved.