FactoryContext
Date: 2014-06-19

org.gcube.informationsystem.registry.impl.contexts

## Class FactoryContext

- java.lang.Object
- - GCUBEStatefulPortTypeContext
  - - org.gcube.informationsystem.registry.impl.contexts.FactoryContext

-     public class FactoryContext
      extends GCUBEStatefulPortTypeContext

  Stateful port-type context for gcube/informationsystem/registry/RegistryFactory
  Author:
    Manuele Simi (CNR)

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static FactoryContext` | `getContext()` returns the current context
    `java.lang.String` | `getJNDIName()`
    `java.lang.String` | `getNamespace()`
    `GCUBEServiceContext` | `getServiceContext()`
    `java.lang.String` | `getServiceName()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getContext

          public static FactoryContext getContext()

      returns the current context
      Returns:
        FactoryContext

    - #### getJNDIName

          public java.lang.String getJNDIName()

      Returns:
        the porttype name

    - #### getNamespace

          public java.lang.String getNamespace()

      Returns:
        the namespace

    - #### getServiceName

          public java.lang.String getServiceName()

      Returns:
        the Service name

    - #### getServiceContext

          public GCUBEServiceContext getServiceContext()

      Returns:
        the ServiceContext