public class EngineInfo<T extends org.glassfish.api.container.Container,U extends org.glassfish.api.deployment.ApplicationContainer> extends Object
| Constructor and Description |
|---|
EngineInfo(org.glassfish.hk2.api.ServiceHandle<T> container,
org.glassfish.api.container.Sniffer sniffer,
ClassLoader cloader)
Creates a new ContractProvider info with references to the container, the sniffer
and the connector module implementing the ContractProvider/Deployer interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clean(ExtendedDeploymentContext context) |
T |
getContainer()
Returns the container instance
|
org.glassfish.api.deployment.Deployer<T,U> |
getDeployer()
Returns the deployer instance for this container
|
org.glassfish.api.container.Sniffer |
getSniffer()
Returns the sniffer associated with this container
|
void |
load(ExtendedDeploymentContext context) |
void |
setDeployer(org.glassfish.api.deployment.Deployer<T,U> deployer)
Sets the deployer associated with this container
|
void |
setRegistry(ContainerRegistry registry) |
void |
stop(Logger logger) |
void |
unload(ExtendedDeploymentContext context) |
public EngineInfo(org.glassfish.hk2.api.ServiceHandle<T> container, org.glassfish.api.container.Sniffer sniffer, ClassLoader cloader)
container - instance of the containersniffer - sniffer associated with that containerpublic T getContainer()
public org.glassfish.api.container.Sniffer getSniffer()
public org.glassfish.api.deployment.Deployer<T,U> getDeployer()
public void setDeployer(org.glassfish.api.deployment.Deployer<T,U> deployer)
deployer - public void load(ExtendedDeploymentContext context)
public void unload(ExtendedDeploymentContext context) throws Exception
Exceptionpublic void clean(ExtendedDeploymentContext context) throws Exception
Exceptionpublic void setRegistry(ContainerRegistry registry)
public void stop(Logger logger)
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.