Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


oracle.security.jps.service
Interface ServiceProvider


public interface ServiceProvider

A JSP-level provider that works with other service module level providers. User: rkng Date: Nov 3, 2005 Time: 11:10:29 AM To change this template use File | Settings | File Templates.


Method Summary
 void accept(ServiceProviderVisitor visitor)
          Accepts a ServiceProviderVisitor for visits
 ServiceInstance getInstance(ServiceInstanceDescriptor serviceInstanceDesc, javax.security.auth.callback.CallbackHandler cbHandler, boolean create)
          Returns the ServiceInstance that corresponds to the specified ServiceInstanceDescriptor If such an instance cannot be found, then a new instance is created and returned if create is true otherwise null is returned.
 java.lang.String getName()
          Returns the name of this service provider
 ServiceType[] getSupportedServiceTypes()
          Returns the ServiceInstance that corresponds to the specified name

 

Method Detail

getInstance

ServiceInstance getInstance(ServiceInstanceDescriptor serviceInstanceDesc,
                            javax.security.auth.callback.CallbackHandler cbHandler,
                            boolean create)
                            throws JpsException
Returns the ServiceInstance that corresponds to the specified ServiceInstanceDescriptor If such an instance cannot be found, then a new instance is created and returned if create is true otherwise null is returned.
Parameters:
serviceInstanceDesc - ServiceInstanceDescriptor
cbHandler - CallbackHandler to be passed to ServiceInstance
create - whether to create a new instance if an existing instance cannot be found
Returns:
the ServiceInstance that corresponds to the specified ServiceInstanceDescriptor, or null if such an instance does not already exist and create is false
Throws:
JpsException

getSupportedServiceTypes

ServiceType[] getSupportedServiceTypes()
Returns the ServiceInstance that corresponds to the specified name
Returns:
the ServiceType(s) supported by this ServiceProvider

accept

void accept(ServiceProviderVisitor visitor)
Accepts a ServiceProviderVisitor for visits
Parameters:
visitor - the visiting ServiceProviderVisitor

getName

java.lang.String getName()
Returns the name of this service provider
Returns:
Name of this service provider

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


Copyright © 2011, Oracle. All rights reserved.