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

All Known Implementing Classes:
AdminInfo, GrizzlyInfo, WebBuilder

@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)


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


Submit a bug or feature

Copyright © 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.

Generated on 20-January-2010 07:41