Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-04


oracle.security.jps.util
Interface JpsServices


Deprecated. per bug 6060502

@Deprecated
public interface JpsServices

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


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

 

Method Detail

getAppService

@Deprecated
<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:
a JPS service instance with the class type T
Throws:
JpsException

getAppJpsContext

@Deprecated
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:
the JPS Context found by applicationId
Throws:
JpsException

getNamedJpsContext

@Deprecated
JpsContext getNamedJpsContext(java.lang.String applicationId,
                                         java.lang.String contextName)
                              throws JpsException
Deprecated. per bug 6060502
Finds the named JPS context . 1. Returned 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 -
contextName - name of the JPS contxt
Returns:
JpsContext
Throws:
JpsException

getApplicationName

@Deprecated
java.lang.String getApplicationName()
Deprecated. per bug 6060502
Finds the current runtime application ID.
Returns:
the application ID

setApplicationName

@Deprecated
void setApplicationName(java.lang.String name)
Deprecated. per bug 6060502
Sets the application ID to name in the current request.
Parameters:
name -

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-04


Copyright © 2011, Oracle. All rights reserved.