org.glassfish.internal.embedded
Interface ContainerBuilder<T extends EmbeddedContainer>

All Known Implementing Classes:
AdminInfo, GrizzlyInfo

@Contract
public interface ContainerBuilder<T extends EmbeddedContainer>

Defines the builder for an embdded container. This is mostly a tag interface that will be implemented by the embedded container main configuration element (like http-service for web, network-listener for grizzly)

Author:
Jerome Dochez

Nested Class Summary
static class ContainerBuilder.Type
          Default sets of container that can be built.
 
Method Summary
 T create(Server server)
          Creates a embedded container
 

Method Detail

create

T create(Server server)
Creates a embedded container

Parameters:
server - the embedded server in which the container resides.
Returns:
the embedded container instance


Copyright © 2012 GlassFish Community. All Rights Reserved.