GigaSpaces XAP 7.0 API

org.openspaces.pu.container.jee.glassfish.holder
Interface GlassfishHolder

All Known Implementing Classes:
SharedGlassfishHolder

public interface GlassfishHolder

Author:
kimchy

Method Summary
 int getPort()
           
 org.glassfish.embed.Server getServer()
          Returns the Glassfish server.
 void incPort()
           
 boolean isSingleInstance()
           
 void start()
          Start Glassfish.
 void stop()
          Stops Glassfish.
 

Method Detail

start

void start()
           throws Exception
Start Glassfish. Note, if this fails, make sure to call stop()

Throws:
Exception

stop

void stop()
          throws Exception
Stops Glassfish.

Throws:
Exception

getServer

org.glassfish.embed.Server getServer()
Returns the Glassfish server.


getPort

int getPort()

incPort

void incPort()

isSingleInstance

boolean isSingleInstance()

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.