GridGain™ 2.0.3
Java API Specification

org.gridgain.grid.loaders.glassfish
Class GridGlassfishLoader

java.lang.Object
  extended by org.gridgain.grid.loaders.glassfish.GridGlassfishLoader
All Implemented Interfaces:
com.sun.appserv.server.LifecycleListener

public class GridGlassfishLoader
extends Object
implements com.sun.appserv.server.LifecycleListener

This is GridGain loader implemented as GlassFish life-cycle listener module. GlassFish loader should be used to provide tight integration between GridGain and GlassFish AS. Current loader implementation works on both GlassFish v1 and GlassFish v2 servers.

The following steps should be taken to configure this loader:

  1. Add GridGain libraries in GlassFish common loader.
    See GlassFish Class Loaders.
  2. Create life-cycle listener module.
    Use command line or administration GUI.
    asadmin> create-lifecycle-module --user admin --passwordfile ../adminpassword.txt --classname "org.gridgain.grid.loaders.glassfish.GridGlassfishLoader" --property cfgFilePath="config/default-spring.xml" GridGain

For more information consult GlassFish Project - Documentation Home Page and Configuring and Starting GridGain.

Note: GlassFish is not shipped with GridGain. If you don't have GlassFish, you need to download it separately. See https://glassfish.dev.java.net for more information.





See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

Author:   2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.0.3

 

Constructor Summary
GridGlassfishLoader()
           
 
Method Summary
 void handleEvent(com.sun.appserv.server.LifecycleEvent evt)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridGlassfishLoader

public GridGlassfishLoader()
Method Detail

handleEvent

public void handleEvent(com.sun.appserv.server.LifecycleEvent evt)
                 throws com.sun.appserv.server.ServerLifecycleException

Specified by:
handleEvent in interface com.sun.appserv.server.LifecycleListener
Throws:
com.sun.appserv.server.ServerLifecycleException

GridGain™ 2.0.3
Java API Specification

GridGain™ - Grid Computing Made Simple, ver. 2.0.3.20052008
2005-2008 Copyright © GridGain Systems. All Rights Reserved.