org.openspaces.pu.container.jee.glassfish.holder
Class SharedGlassfishHolder
java.lang.Object
org.openspaces.pu.container.jee.glassfish.holder.SharedGlassfishHolder
- All Implemented Interfaces:
- GlassfishHolder
public class SharedGlassfishHolder
- extends Object
- implements GlassfishHolder
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedGlassfishHolder
public SharedGlassfishHolder(GlassfishServer localServer)
start
public void start()
throws Exception
- Description copied from interface:
GlassfishHolder
- Start Glassfish. Note, if this fails, make sure to call
GlassfishHolder.stop()
- Specified by:
start
in interface GlassfishHolder
- Throws:
Exception
stop
public void stop()
throws Exception
- Description copied from interface:
GlassfishHolder
- Stops Glassfish.
- Specified by:
stop
in interface GlassfishHolder
- Throws:
Exception
getServer
public org.glassfish.embed.Server getServer()
- Description copied from interface:
GlassfishHolder
- Returns the Glassfish server.
- Specified by:
getServer
in interface GlassfishHolder
isSingleInstance
public boolean isSingleInstance()
- Specified by:
isSingleInstance
in interface GlassfishHolder
getPort
public int getPort()
- Specified by:
getPort
in interface GlassfishHolder
incPort
public void incPort()
- Specified by:
incPort
in interface GlassfishHolder
Copyright © GigaSpaces.