public class GlassFishImpl extends Object implements org.glassfish.embeddable.GlassFish
Constructor and Description |
---|
GlassFishImpl(com.sun.enterprise.module.bootstrap.ModuleStartup gfKernel,
org.glassfish.hk2.api.ServiceLocator habitat,
Properties gfProps) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
org.glassfish.embeddable.CommandRunner |
getCommandRunner() |
org.glassfish.embeddable.Deployer |
getDeployer() |
<T> T |
getService(Class<T> serviceType) |
<T> T |
getService(Class<T> serviceType,
String serviceName) |
org.glassfish.embeddable.GlassFish.Status |
getStatus() |
void |
start() |
void |
stop() |
public GlassFishImpl(com.sun.enterprise.module.bootstrap.ModuleStartup gfKernel, org.glassfish.hk2.api.ServiceLocator habitat, Properties gfProps) throws org.glassfish.embeddable.GlassFishException
org.glassfish.embeddable.GlassFishException
public void start() throws org.glassfish.embeddable.GlassFishException
start
in interface org.glassfish.embeddable.GlassFish
org.glassfish.embeddable.GlassFishException
public void stop() throws org.glassfish.embeddable.GlassFishException
stop
in interface org.glassfish.embeddable.GlassFish
org.glassfish.embeddable.GlassFishException
public void dispose() throws org.glassfish.embeddable.GlassFishException
dispose
in interface org.glassfish.embeddable.GlassFish
org.glassfish.embeddable.GlassFishException
public org.glassfish.embeddable.GlassFish.Status getStatus()
getStatus
in interface org.glassfish.embeddable.GlassFish
public <T> T getService(Class<T> serviceType) throws org.glassfish.embeddable.GlassFishException
getService
in interface org.glassfish.embeddable.GlassFish
org.glassfish.embeddable.GlassFishException
public <T> T getService(Class<T> serviceType, String serviceName) throws org.glassfish.embeddable.GlassFishException
getService
in interface org.glassfish.embeddable.GlassFish
org.glassfish.embeddable.GlassFishException
public org.glassfish.embeddable.Deployer getDeployer() throws org.glassfish.embeddable.GlassFishException
getDeployer
in interface org.glassfish.embeddable.GlassFish
org.glassfish.embeddable.GlassFishException
public org.glassfish.embeddable.CommandRunner getCommandRunner() throws org.glassfish.embeddable.GlassFishException
getCommandRunner
in interface org.glassfish.embeddable.GlassFish
org.glassfish.embeddable.GlassFishException
Copyright © 2015. All rights reserved.