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.service
Interface ServiceLocator

All Known Implementing Classes:
JpsServiceLocator

public interface ServiceLocator

Defines common contract to locate JPS services


Method Summary
<T extends ServiceInstance>
T
lookup(java.lang.Class<T> klass)
          Returns the ServiceInstance(s) that corresponds to the specified klass

 

Method Detail

lookup

<T extends ServiceInstance> T lookup(java.lang.Class<T> klass)
                                 throws JpsException
Returns the ServiceInstance(s) that corresponds to the specified klass
Parameters:
klass - type of ServiceInstance to be returned. This argument cannot be null.
Returns:
the ServiceInstance(s) that corresponds to the specified klass, or null if not found
Throws:
JpsException - if an error condition occurred during the lookup process

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.