|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grizzly.http.deployer.Deployer<V,T>
V
- Type of object deployed by this deployer.T
- Type of deployer configuration.public abstract class Deployer<V extends Deployable,T extends DeploymentConfiguration>
Deployer abstraction.
Constructor Summary | |
---|---|
Deployer()
|
Method Summary | |
---|---|
protected abstract Map<GrizzlyAdapter,Set<String>> |
convert(V toDeploy,
T configuration)
Converts deployable object to Map of GrizzlyAdapter s to paths to deploy to. |
DeploymentID |
deploy(GrizzlyWebServer gws,
V toDeploy,
T configuration)
Deploy Deployable to gws. |
void |
undeploy(GrizzlyWebServer gws,
DeploymentID deploymentId)
Undeploy previously deployed deployable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Deployer()
Method Detail |
---|
public final DeploymentID deploy(GrizzlyWebServer gws, V toDeploy, T configuration) throws DeployException
Deployable
to gws.
gws
- Grizzly to deploy to.toDeploy
- Deployable to be deployed.configuration
- Configuration of deployment.
DeployException
- Error in deployment.public final void undeploy(GrizzlyWebServer gws, DeploymentID deploymentId)
gws
- Grizzly to undeploy from.deploymentId
- Deployment identification.protected abstract Map<GrizzlyAdapter,Set<String>> convert(V toDeploy, T configuration) throws DeployException
Map
of GrizzlyAdapter
s to paths to deploy to.
toDeploy
- Deployable object to be converted.configuration
- Configuration of deployment.
Map
ping GrizzlyAdapter
s to paths to be deployed under (Set
of
String
s).
DeployException
- Error while creating adapters.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |