org.glassfish.internal.deployment
Class GenericDeployer<T extends Container>

java.lang.Object
  extended by org.glassfish.internal.deployment.GenericDeployer<T>
All Implemented Interfaces:
Deployer<T,GenericApplicationContainer>

@Service
public class GenericDeployer<T extends Container>
extends Object
implements Deployer<T,GenericApplicationContainer>

Generic implementation of the deployer contract, enough to get started with adding a container to GlassFish.

Author:
Jerome Dochez

Constructor Summary
GenericDeployer()
           
 
Method Summary
 void clean(DeploymentContext context)
           
 MetaData getMetaData()
           
 GenericApplicationContainer load(T container, DeploymentContext context)
           
<V> V
loadMetaData(Class<V> type, DeploymentContext context)
           
 boolean prepare(DeploymentContext context)
           
 void unload(GenericApplicationContainer appContainer, DeploymentContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericDeployer

public GenericDeployer()
Method Detail

getMetaData

public MetaData getMetaData()
Specified by:
getMetaData in interface Deployer<T extends Container,GenericApplicationContainer>

loadMetaData

public <V> V loadMetaData(Class<V> type,
                          DeploymentContext context)
Specified by:
loadMetaData in interface Deployer<T extends Container,GenericApplicationContainer>

prepare

public boolean prepare(DeploymentContext context)
Specified by:
prepare in interface Deployer<T extends Container,GenericApplicationContainer>

load

public GenericApplicationContainer load(T container,
                                        DeploymentContext context)
Specified by:
load in interface Deployer<T extends Container,GenericApplicationContainer>

unload

public void unload(GenericApplicationContainer appContainer,
                   DeploymentContext context)
Specified by:
unload in interface Deployer<T extends Container,GenericApplicationContainer>

clean

public void clean(DeploymentContext context)
Specified by:
clean in interface Deployer<T extends Container,GenericApplicationContainer>


Copyright © 2012 GlassFish Community. All Rights Reserved.