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.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 <p/>

 

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 <p/>
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 Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14650-04


Copyright © 2011, Oracle. All rights reserved.