Skip navigation links

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

E27155-01 ESAPI


oracle.security.jps.util
Class JpsServicesUtil

java.lang.Object
  extended by oracle.security.jps.util.JpsServicesUtil


Deprecated. per bug 6060502

@Deprecated
public final class JpsServicesUtil
extends java.lang.Object

This class has been deprecated and will be removed from JPS API in the near future.


Constructor Summary
JpsServicesUtil()
          Deprecated.  

 

Method Summary
static JpsContext getAppJpsContext()
          Deprecated. per bug 6060502
static JpsContext getAppJpsContext(java.lang.String applicationId)
          Deprecated. per bug 6060502
static
<T extends ServiceInstance>
T
getAppService(java.lang.Class<T> serviceCls)
          Deprecated. per bug 6060502
static
<T extends ServiceInstance>
T
getAppService(java.lang.String applicationId, java.lang.Class<T> serviceCls)
          Deprecated. per bug 6060502
static JpsContext getNamedJpsContext(java.lang.String contextName)
          Deprecated. per bug 6060502
static JpsContext getNamedJpsContext(java.lang.String applicationId, java.lang.String contextName)
          Deprecated. per bug 6060502

 

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

 

Constructor Detail

JpsServicesUtil

public JpsServicesUtil()
Deprecated. 

Method Detail

getAppService

@Deprecated
public static <T extends ServiceInstance> T getAppService(java.lang.String applicationId,
                                                                     java.lang.Class<T> serviceCls)
                                               throws JpsException
Deprecated. per bug 6060502
Finds JPS service by application name/JPS context ID. 1. It will find the service from the default JPS context if the application level jps-config.xml exists; 2. It will find the service from the JPS context named appCtxtName in the default jps-config.xml.
Parameters:
applicationId -
serviceCls -
Returns:
ServiceInstance
Throws:
JpsException

getAppService

@Deprecated
public static <T extends ServiceInstance> T getAppService(java.lang.Class<T> serviceCls)
                                               throws JpsException
Deprecated. per bug 6060502
Finds the service from the default application JPS context.
Parameters:
serviceCls -
Returns:
serviceInstance
Throws:
JpsException

getAppJpsContext

@Deprecated
public static JpsContext getAppJpsContext(java.lang.String applicationId)
                                   throws JpsException
Deprecated. per bug 6060502
Finds JPS context by application name/JPS context ID. 1. It will find the default JPS context if the application level jps-config.xml exists; 2. It will find the JPS context named applicationId from the default jps-config.xml.
Parameters:
applicationId -
Returns:
JpsContext
Throws:
JpsException

getAppJpsContext

@Deprecated
public static JpsContext getAppJpsContext()
                                   throws JpsException
Deprecated. per bug 6060502
Find the default application JPS context for the default application ID.
Returns:
JpsContext
Throws:
JpsException

getNamedJpsContext

@Deprecated
public static JpsContext getNamedJpsContext(java.lang.String contextName)
                                     throws JpsException
Deprecated. per bug 6060502
Finds the named JPS context . 1. It finds the current application, then return the named JPS context from the application level jps-config.xml if it exists; 2. otherwise, it will find the named JPS context from the farm level jps-config.xml.
Parameters:
contextName - name of the JPS contxt
Returns:
JpsContext
Throws:
JpsException

getNamedJpsContext

@Deprecated
public static JpsContext getNamedJpsContext(java.lang.String applicationId,
                                                       java.lang.String contextName)
                                     throws JpsException
Deprecated. per bug 6060502
Finds the named JPS context . 1. It will find the named JPS context from the application level jps-config.xml if it exists; 2. otherwise, it will find the named JPS context from the farm level jps-config.xml.
Parameters:
applicationId - application name
contextName - name of the JPS contxt
Returns:
JpsContext
Throws:
JpsException

Skip navigation links

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

E27155-01 ESAPI


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