Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


oracle.security.opss.service
Class ServiceContextManager

java.lang.Object
  extended by oracle.security.opss.service.ServiceContextManager

All Implemented Interfaces:
ContextConfigChangeListener

public abstract class ServiceContextManager
extends java.lang.Object
implements ContextConfigChangeListener

Nested Class Summary
static class ServiceContextManager.Mode
           

 

Constructor Summary
ServiceContextManager()
           

 

Method Summary
abstract  ServiceContext createContext(ContextConfiguration contextConfig)
          Instantiates and returns a service context for a given context configuration.
abstract  ServiceContext getContext(java.lang.String contextId)
          Returns a service context for contextId.
abstract  ServiceContext getDefaultContext()
          Returns the default service context in single tenant mode, or the global service context in multi tenant mode.
static ServiceContextManager getInstance()
          Returns the ServiceContextManager of OPSS service engine, which manages OPSS service instantiation and changes.
static ServiceContextManager.Mode getMode()
           
abstract  boolean isInitialized()
          Gets the initialization status of ServiceContextManager.

 

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

 

Methods inherited from interface oracle.security.opss.service.ContextConfigChangeListener
notify

 

Constructor Detail

ServiceContextManager

public ServiceContextManager()

Method Detail

getInstance

public static ServiceContextManager getInstance()
Returns the ServiceContextManager of OPSS service engine, which manages OPSS service instantiation and changes.
Returns:
an instance of ServiceContextManager

getMode

public static ServiceContextManager.Mode getMode()

isInitialized

public abstract boolean isInitialized()
Gets the initialization status of ServiceContextManager.
Returns:
true if ServiceContextManager has been initialized.

getContext

public abstract ServiceContext getContext(java.lang.String contextId)
                                   throws JpsException
Returns a service context for contextId. In multi-tenant mode, it will return tenant service context for a given tenant ID.
Parameters:
contextId -
Returns:
a SerivceContext instance
Throws:
JpsException

createContext

public abstract ServiceContext createContext(ContextConfiguration contextConfig)
                                      throws JpsException
Instantiates and returns a service context for a given context configuration.
Parameters:
contextConfig -
Returns:
a service context
Throws:
JpsException

getDefaultContext

public abstract ServiceContext getDefaultContext()
Returns the default service context in single tenant mode, or the global service context in multi tenant mode.
Returns:
a ServiceContext instance

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E54416-01


Copyright © 2011, 2015, Oracle and/or its affiliates. All rights reserved.