Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.9.0)
E15995-08


oracle.wcps.connection.annotation
Annotation Type ConnectionConfiguration


@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
 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.

 

definitionName

public abstract java.lang.String definitionName
The name of the definition to use. This is only necessary for implementations that require a definition (i.e. property service).
Default:
"_undefined"

connectionType

public abstract java.lang.String connectionType
A string that represents the connection type of this connection configuration class. If not specified, the configuration class name is used by default.
Default:
"_undefined"

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.9.0)
E15995-08


Copyright © 2009, 2014, Oracle and/or its affiliates. All rights reserved.