Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E27155-03


oracle.security.jps.service
Class JpsServiceLocator

java.lang.Object
  extended by oracle.security.jps.service.JpsServiceLocator

All Implemented Interfaces:
ServiceLocator

public abstract class JpsServiceLocator
extends java.lang.Object
implements ServiceLocator

Allows clients to lookup services via a ServiceLocator


Constructor Summary
JpsServiceLocator()
           

 

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

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

JpsServiceLocator

public JpsServiceLocator()

Method Detail

getServiceLocator

public static ServiceLocator getServiceLocator()
Returns the default ServiceLocator
Returns:
the default ServiceLocator

lookup

public abstract <T extends ServiceInstance> T lookup(java.lang.Class<T> klass)
                                          throws JpsException
Description copied from interface: ServiceLocator
Returns the ServiceInstance(s) that corresponds to the specified klass
Specified by:
lookup in interface ServiceLocator
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-03


Copyright © 2011, 2013 Oracle. All rights reserved.