org.gcube.indexmanagement.common
Class IndexContext
java.lang.Object
org.gcube.indexmanagement.common.IndexContext
public class IndexContext
- extends Object
A utility class used to retrieve Index related MessageContext parameters *
|
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 |
IndexContext
public IndexContext()
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 © 2012. All Rights Reserved.