public class EngineInfo<T extends Container,U extends ApplicationContainer> extends Object
| Constructor and Description |
|---|
EngineInfo(org.glassfish.hk2.api.ServiceHandle<T> 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
|
Deployer<T,U> |
getDeployer()
Returns the deployer instance for this container
|
Sniffer |
getSniffer()
Returns the sniffer associated with this container
|
void |
load(ExtendedDeploymentContext context) |
void |
setDeployer(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, Sniffer sniffer, ClassLoader cloader)
container - instance of the containersniffer - sniffer associated with that containerpublic T getContainer()
public Sniffer getSniffer()
public Deployer<T,U> getDeployer()
public void setDeployer(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 © 2019. All rights reserved.