|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.internal.data.EngineInfo<T,U>
public class EngineInfo<T extends Container,U extends ApplicationContainer>
This class holds information about a particular container such as a reference to the sniffer, the container itself and the list of applications deployed in that container.
| Constructor Summary | |
|---|---|
EngineInfo(org.jvnet.hk2.component.Inhabitant<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. |
|
| Method Summary | |
|---|---|
void |
addThreadLocal(Thread t,
Set<Integer> newEntries)
Adds number of threadlocal hashcodes |
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EngineInfo(org.jvnet.hk2.component.Inhabitant<T> container,
Sniffer sniffer,
ClassLoader cloader)
container - instance of the containersniffer - sniffer associated with that container| Method Detail |
|---|
public 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
Exception
public void clean(ExtendedDeploymentContext context)
throws Exception
Exceptionpublic void setRegistry(ContainerRegistry registry)
public void addThreadLocal(Thread t,
Set<Integer> newEntries)
public void stop(Logger logger)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||