Skip navigation links

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

E14650-05


oracle.security.jps
Interface JpsContext


public interface JpsContext

JPS Application Context

User: rkng Date: Nov 3, 2005 Time: 3:02:00 PM To change this template use File | Settings | File Templates.


Method Summary
 java.lang.String getName()
          Returns the name of this context
<T extends ServiceInstance>
T
getServiceInstance(java.lang.Class<T> serviceInstanceClass)
          Returns the ServiceInstance that corresponds to the specified serviceInstanceClass

If this JpsContext does not contain a ServiceInstance of the specified type, then null is returned.

 java.util.Collection<ServiceInstance> getServiceInstances()
          Returns all ServiceInstance(s) associated with this context.
<T extends ServiceInstance>
java.util.Collection<T>
getServiceInstances(java.lang.Class<T> serviceInstanceClass)
          Returns the ServiceInstance(s) that corresponds to the specified serviceInstanceClass

 

Method Detail

getName

java.lang.String getName()
Returns the name of this context
Returns:
the name of this context

getServiceInstance

<T extends ServiceInstance> T getServiceInstance(java.lang.Class<T> serviceInstanceClass)
Returns the ServiceInstance that corresponds to the specified serviceInstanceClass

If this JpsContext does not contain a ServiceInstance of the specified type, then null is returned.

If this JpsContext contains multiple ServiceInstances of the specified type, then the first ServiceInstance referenced in this JpsContext is returned.

Parameters:
serviceInstanceClass - class of desired ServiceInstance
Returns:
the ServiceInstance associated with this context

getServiceInstances

<T extends ServiceInstance> java.util.Collection<T> getServiceInstances(java.lang.Class<T> serviceInstanceClass)
Returns the ServiceInstance(s) that corresponds to the specified serviceInstanceClass
Parameters:
serviceInstanceClass - type of ServiceInstance to be returned. This argument cannot be null.
Returns:
the ServiceInstance(s) that corresponds to the specified serviceInstanceClass, or null if not found

getServiceInstances

java.util.Collection<ServiceInstance> getServiceInstances()
Returns all ServiceInstance(s) associated with this context.
Returns:
all ServiceInstance(s) associated with this context.

Skip navigation links

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

E14650-05


Copyright © 2011, Oracle. All rights reserved.