Package 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
Modifier and TypeMethodDescriptionReturns the Deployer implementation capable of deploying applications to this container.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 Details
-
getDeployer
Returns the Deployer implementation capable of deploying applications to this container.- Returns:
- the Deployer implementation
-
getName
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.
-