org.gcube.dir.master.contexts
Class ServiceContext

java.lang.Object
  extended by GCUBEServiceContext
      extended by org.gcube.dir.master.contexts.ServiceContext

public class ServiceContext
extends GCUBEServiceContext

Provides a context to the operation of the Master service.

Author:
Fabio Simeoni (University of Strathclyde)

Field Summary
static java.lang.String JNDI_NAME
          Name of the port-type in the JNDI configuration of the service.
static java.lang.String SELF_STAGING_PREFIX
          Prefix for self-staging resources
 
Method Summary
static ServiceContext getContext()
          Returns the single context instance.
 IndexManager<?,?> getIndexManager()
          Returns the index manager used by the service.
 java.lang.String getJNDIName()
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JNDI_NAME

public static final java.lang.String JNDI_NAME
Name of the port-type in the JNDI configuration of the service.

See Also:
Constant Field Values

SELF_STAGING_PREFIX

public static final java.lang.String SELF_STAGING_PREFIX
Prefix for self-staging resources

See Also:
Constant Field Values
Method Detail

getContext

public static ServiceContext getContext()
Returns the single context instance.

Returns:
the instance.

getJNDIName

public java.lang.String getJNDIName()


getIndexManager

public IndexManager<?,?> getIndexManager()
Returns the index manager used by the service.

Returns:
the manager.