ServiceContext
Date: 2012-06-29

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gcube.vremanagement.resourcemanager.impl.contexts
Class ServiceContext

    java.lang.Object
      GCUBEServiceContext
          org.gcube.vremanagement.resourcemanager.impl.contexts.ServiceContext

    public class ServiceContext

extends GCUBEServiceContext

ResourceManager service context implementation

Author:
  Manuele Simi (ISTI-CNR)

Nested Class Summary
`static class` | `ServiceContext.IllegalServiceScopeException` IllegalServiceScopeException exception

Constructor Summary
`ServiceContext()`

Method Summary
`java.lang.String` | `getConfigurationFileAbsolutePath(java.lang.String relativepath)` Given a relative path in the /etc folder of the service, returns its absolute path
`static ServiceContext` | `getContext()` Gets the current service context

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ServiceContext

    public ServiceContext()

Method Detail

### getContext

    public static ServiceContext getContext()

  Gets the current service context

  Returns:
    the service context

### getConfigurationFileAbsolutePath

    public java.lang.String getConfigurationFileAbsolutePath(java.lang.String relativepath)

  Given a relative path in the /etc folder of the service, returns its absolute path

  Parameters:
    `path` - a relative path to a configuration file or folder
  Returns:
    the absolute path of the file

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD