GridGain™ 2.1.0
Java API Specification

org.gridgain.grid.loaders.memory
Class GridMemoryLoader

java.lang.Object
  extended by org.gridgain.grid.loaders.memory.GridMemoryLoader

Deprecated.

@Deprecated
@GridLoader(description="In-memory loader")
public final class GridMemoryLoader
extends Object

This class defines in-memory loader. Basically it provides convenient and often used way to load GridGain from existing Java process by passing in a Spring XML configuration file that should have one bean of type GridConfiguration. This is the standard way to launch GridGain from user's applications.

Note that usage of this class is largely deprecated since you can start GridGain with Spring configuration file directly through GridFactory.start(String) method. This loader is mainly preserved for backward compatibility.



See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

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

See Also:
GridFactory.start(String)
 

Method Summary
static void loadGridGain(String springXmlPath)
          Deprecated. Loads GridGain with specified Spring XML configuration file and optional grid instance name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loadGridGain

public static void loadGridGain(String springXmlPath)
                         throws GridException
Deprecated. 
Loads GridGain with specified Spring XML configuration file and optional grid instance name.

Throws:
GridException - Thrown in case of any errors.
Parameters:
springXmlPath - Absolute or relative to GRIDGAIN_HOME path of Spring XML configuration file. This file should contain one bean of type GridConfiguration.

GridGain™ 2.1.0
Java API Specification

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