org.gcube.indexmanagement.common
Class IndexContext

java.lang.Object
  extended by org.gcube.indexmanagement.common.IndexContext

public class IndexContext
extends Object

A utility class used to retrieve Index related MessageContext parameters *


Constructor Summary
IndexContext()
           
 
Method Summary
static Object getJndiResourceObject(String resourceName)
          A method used to get a resource object (from the JNDI file) for the current Index service if available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexContext

public IndexContext()
Method Detail

getJndiResourceObject

public static Object getJndiResourceObject(String resourceName)
                                    throws IndexException
A method used to get a resource object (from the JNDI file) for the current Index service if available.

Parameters:
resourceName - - the name (with service path) of the resource to retrieve
Returns:
the requested configuration object
Throws:
IndexException - - error getting the configuration object


Copyright © 2013. All Rights Reserved.