Skip navigation links

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

E14650-03


oracle.security.jps
Interface JpsContext


public interface JpsContext

JPS Application Context <p/> 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
 ServiceInstance getServiceInstance(java.lang.Class serviceInstanceClass)
          Returns the ServiceInstance that corresponds to the specified serviceInstanceClass <p/> If this JpsContext does not contain a ServiceInstance of the specified type, then null is returned.
 java.util.Collection getServiceInstances()
          Returns all ServiceInstance(s) associated with this context.
 java.util.Collection getServiceInstances(java.lang.Class serviceInstanceClass)
          Returns the ServiceInstance(s) that corresponds to the specified serviceInstanceClass <p/>

 

Method Detail

getName

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

getServiceInstance

ServiceInstance getServiceInstance(java.lang.Class serviceInstanceClass)
Returns the ServiceInstance that corresponds to the specified serviceInstanceClass <p/> If this JpsContext does not contain a ServiceInstance of the specified type, then null is returned. <p/> 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

java.util.Collection getServiceInstances(java.lang.Class serviceInstanceClass)
Returns the ServiceInstance(s) that corresponds to the specified serviceInstanceClass <p/>
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 getServiceInstances()
Returns all ServiceInstance(s) associated with this context.
Returns:
all ServiceInstance(s) associated with this context.

Skip navigation links

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

E14650-03


Copyright © 2010, Oracle. All rights reserved.