|
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.Registration
This class is used to register an implementation of the RepositoryConnection
with the RepositoryConnectionFactory
.
Field Summary | |
static java.lang.String |
DESCRIPTION The suffix for the base key used to get the description. |
static java.lang.String |
NAME The suffix for the base key used to get the name. |
Constructor Summary | |
Registration(java.lang.String key, java.lang.String className, java.lang.String resourceBundleName, java.lang.String descriptionKey, java.lang.String[] initPropertyKeys, java.lang.String[] requiredPropertyKeys) Creates a new Registration . |
|
Registration(java.lang.String key, java.lang.String className, java.lang.String resourceBundleName, java.lang.String descriptionKey, java.lang.String[] initPropertyKeys, java.lang.String[] requiredPropertyKeys, java.lang.String[] sensitivePropertyKeys) Creates a new Registration . |
Method Summary | |
java.lang.String |
getClassName() Returns the className of the RepositoryConnection for this implementation. |
java.lang.String |
getDescriptionKey() Returns the base key for the name and description for the RepositoryConnection implementation this registration represents. |
java.lang.String[] |
getInitPropertyKeys() Returns an array of base keys, one per initialization parameter. |
java.lang.String |
getKey() Returns The key used to register this registration. |
java.lang.String |
getResourceBundleName() Returns the class name of the ResourceBundle for this implementation. |
boolean |
isRequiredInitProperty(java.lang.String key) Returns true if the initialization property associated with the base key, key is required. |
boolean |
isSensitiveInitProperty(java.lang.String key) Returns true if the value initialization property associated with the base key, key should not be displayed when entered as the value is sensitive. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String NAME
public static final java.lang.String DESCRIPTION
Constructor Detail |
public Registration(java.lang.String key, java.lang.String className, java.lang.String resourceBundleName, java.lang.String descriptionKey, java.lang.String[] initPropertyKeys, java.lang.String[] requiredPropertyKeys)
Registration
. The key for this registration should be documented publically.key
- the key used to look up this registrationclassName
- the name of the class that implements RepositoryConnection
resourceBundleName
- the class name of the ResourceBundle that contains the messages corresponding to the keys passed in the next two parameters.descriptionKey
- the base key for the name and description of this RepositoryConnection
implementationinitPropertyKeys
- the base keys for the name and description of each initialization property for this RepositoryConnection
implementation. The base key is appended with the NAME
and DESCRIPTION
suffixes to retrieve the name and description, respectively, from the resource bundle. These keys must be the same keys used to store the properties passed to the getRepositoryConnection
method in RepositoryConnectionFactory
.requiredPropertyKeys
- the subset of the initPropertyKeys
keys that are for the required initialization properties.public Registration(java.lang.String key, java.lang.String className, java.lang.String resourceBundleName, java.lang.String descriptionKey, java.lang.String[] initPropertyKeys, java.lang.String[] requiredPropertyKeys, java.lang.String[] sensitivePropertyKeys)
Registration
. The key for this registration should be documented publically.key
- the key used to look up this registrationclassName
- the name of the class that implements RepositoryConnection
resourceBundleName
- the class name of the ResourceBundle that contains the messages corresponding to the keys passed in the next two parameters.descriptionKey
- the base key for the name and description of this RepositoryConnection
implementationinitPropertyKeys
- the base keys for the name and description of each initialization property for this RepositoryConnection
implementation. The base key is appended with the NAME
and DESCRIPTION
suffixes to retrieve the name and description, respectively, from the resource bundle. These keys must be the same keys used to store the properties passed to the getRepositoryConnection
method in RepositoryConnectionFactory
.requiredPropertyKeys
- the subset of the initPropertyKeys
keys that are for the required initialization properties.sensitivePropertyKeys
- the subset of the initPropertyKeys
keys whose corresponding values should not be displayed when entered as the value is sensitive.Method Detail |
public java.lang.String getKey()
public java.lang.String getClassName()
RepositoryConnection
for this implementation.RepositoryConnection
for this implementation.public java.lang.String getResourceBundleName()
public java.lang.String getDescriptionKey()
RepositoryConnection
implementation this registration represents. This key is used in combination with the NAME
and DESCRIPTION
suffixes to get the name and description from the resource bundle.public java.lang.String[] getInitPropertyKeys()
NAME
and DESCRIPTION
suffixes to get the name and description from the resource bundle.public boolean isRequiredInitProperty(java.lang.String key)
true
if the initialization property associated with the base key, key
is required.key
- the initialization property base keytrue
if the property is required, else false
.public boolean isSensitiveInitProperty(java.lang.String key)
true
if the value initialization property associated with the base key, key
should not be displayed when entered as the value is sensitive.key
- the initialization property base keytrue
if the property is required, else false
.
|
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 |