|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
|
|
getServiceInstance(java.lang.Class<T> 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<ServiceInstance> |
getServiceInstances() Returns all ServiceInstance (s) associated with this context. |
|
|
getServiceInstances(java.lang.Class<T> serviceInstanceClass) Returns the ServiceInstance (s) that corresponds to the specified serviceInstanceClass <p/> |
Method Detail |
---|
java.lang.String getName()
<T extends ServiceInstance> T getServiceInstance(java.lang.Class<T> serviceInstanceClass)
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 ServiceInstance
s of the specified type, then the first ServiceInstance
referenced in this JpsContext
is returned.serviceInstanceClass
- class
of desired ServiceInstance
ServiceInstance
associated with this context<T extends ServiceInstance> java.util.Collection<T> getServiceInstances(java.lang.Class<T> serviceInstanceClass)
ServiceInstance
(s) that corresponds to the specified serviceInstanceClass
<p/>serviceInstanceClass
- type of ServiceInstance
to be returned. This argument cannot be null
.ServiceInstance
(s) that corresponds to the specified serviceInstanceClass
, or null
if not foundjava.util.Collection<ServiceInstance> getServiceInstances()
ServiceInstance
(s) associated with this context.ServiceInstance
(s) associated with this context.
|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |