org.glassfish.paas.gfplugin
Class GlassFishClient

java.lang.Object
  extended by org.glassfish.paas.gfplugin.GlassFishClient
All Implemented Interfaces:
GlassFish

public class GlassFishClient
extends Object
implements GlassFish

Author:
bhavanishankar@java.net

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.glassfish.embeddable.GlassFish
GlassFish.Status
 
Constructor Summary
GlassFishClient(org.jvnet.hk2.component.Habitat habitat, Properties gfProps)
           
 
Method Summary
 void dispose()
           
 CommandRunner getCommandRunner()
           
 Deployer getDeployer()
           
<T> T
getService(Class<T> tClass)
           
<T> T
getService(Class<T> tClass, String s)
           
 GlassFish.Status getStatus()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlassFishClient

public GlassFishClient(org.jvnet.hk2.component.Habitat habitat,
                       Properties gfProps)
Method Detail

start

public void start()
           throws GlassFishException
Specified by:
start in interface GlassFish
Throws:
GlassFishException

stop

public void stop()
          throws GlassFishException
Specified by:
stop in interface GlassFish
Throws:
GlassFishException

dispose

public void dispose()
             throws GlassFishException
Specified by:
dispose in interface GlassFish
Throws:
GlassFishException

getStatus

public GlassFish.Status getStatus()
                           throws GlassFishException
Specified by:
getStatus in interface GlassFish
Throws:
GlassFishException

getService

public <T> T getService(Class<T> tClass)
             throws GlassFishException
Specified by:
getService in interface GlassFish
Throws:
GlassFishException

getService

public <T> T getService(Class<T> tClass,
                        String s)
             throws GlassFishException
Specified by:
getService in interface GlassFish
Throws:
GlassFishException

getDeployer

public Deployer getDeployer()
                     throws GlassFishException
Specified by:
getDeployer in interface GlassFish
Throws:
GlassFishException

getCommandRunner

public CommandRunner getCommandRunner()
                               throws GlassFishException
Specified by:
getCommandRunner in interface GlassFish
Throws:
GlassFishException


Copyright © 2012. All Rights Reserved.