|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-04 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Documented
@Inherited
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface ConnectionConfiguration
Annotation for connection configuration classes. The following is an example of an annotated configuration class:
@L10n(bundle="resources.JndiConnectionResources")
@ConnectionConfiguration
(
connectionType="jndi.connection",
cacheExpirySeconds=5
)
public class JndiConnectionConfig
extends AnnotatedConfiguration
{
@ConnectionProperty
(
propertyname="jndi_name"
)
@L10nDesc
(
key="jndiName.description"
)
public String jndiName;
}
| Optional Element Summary | |
|---|---|
int |
cacheExpirySecondsSpecifies the cache expiration in seconds for this annotated connection configuration. |
int |
cacheSizeSpecifies the size of the cache per namespace and type. |
java.lang.String |
connectionTypeA string that represents the connection type of this connection configuration class. |
java.lang.String |
definitionNameThe name of the definition to use. |
public abstract java.lang.String definitionName
public abstract int cacheExpirySeconds
Note: It is the discretion of the IConnectionConfigService implementation whether this configuration is honored at runtime.
public abstract int cacheSize
public abstract java.lang.String connectionType
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-04 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||