|
Oracle Business Rules Java API Reference 10g (10.1.3.1.0) B28966-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.rules.sdk.store.RepositoryConnectionFactory
Factory for creating implementation instances of the Oracle Business Rules RepositoryConnection interface.
| Field Summary | |
static java.lang.String |
CLASSNAME_PROPThe value of this property is the fully qualified class name of a class that implements RepositoryConnection. |
static java.lang.String |
PLUGIN_CONFIGThe path, including the file name, used to locate the properties file that is expected to contain the CLASSNAME_PROP property. |
| Constructor Summary | |
RepositoryConnectionFactory() |
|
| Method Summary | |
static java.util.List |
getRegistrations()Returns a List of the known RepositoryConnection registrations. |
static RepositoryConnection |
getRepositoryConnection(java.lang.String key, java.util.Locale locale, java.security.Principal principal, SensitiveDataCallback callback, java.util.Properties properties)Gets a repository connection. |
static void |
registerRepositoryConnection(Registration registration)Registers a RepositoryConnection implementation. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String PLUGIN_CONFIG
CLASSNAME_PROP property.
public static final java.lang.String CLASSNAME_PROP
RepositoryConnection.
| Constructor Detail |
public RepositoryConnectionFactory()
| Method Detail |
public static void registerRepositoryConnection(Registration registration)
throws RegistrationException
RepositoryConnection implementation.registration - the registration to registerRegistrationException - if registration fails.
public static RepositoryConnection getRepositoryConnection(java.lang.String key,
java.util.Locale locale,
java.security.Principal principal,
SensitiveDataCallback callback,
java.util.Properties properties)
throws StoreException
RepositoryConnection implementation and invokes its init method with the principal and properities arguments.key - the key of the desired RepositoryConnectionprincipal - the identity to associate with this instance.locale - the Locale to be used. May be null.callback - the callback object for retrieving sensitive dataproperties - implementation specific initialization data.RepositoryConnection instanceStoreException - if an error is encountered instantiating the RepositoryConnection.public static java.util.List getRegistrations()
RepositoryConnection registrations.RepositoryConnection registrations
|
Oracle Business Rules Java API Reference 10g (10.1.3.1.0) B28966-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||