|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.6.0) E15995-05 |
||||||||
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 |
cacheExpirySeconds Specifies the cache expiration in seconds for this annotated connection configuration. |
int |
cacheSize Specifies the size of the cache per namespace and type. |
java.lang.String |
connectionType A string that represents the connection type of this connection configuration class. |
java.lang.String |
definitionName The 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-05 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |