Skip navigation links

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


oracle.wcps.connection.annotation
Annotation Type ConnectionProperty


@Documented
@Inherited
@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface ConnectionProperty

Annotation for a connection property.

See oracle.wcps.connection.annotation.ConnectionConfiguration for example use.


Optional Element Summary
 java.lang.String propertyName
          The name of the property to use for storage.
 boolean required
          Specifies that the field/property is required.

 

propertyName

public abstract java.lang.String propertyName
The name of the property to use for storage. This annotation is not required, and the field name will be used if not specified.
Default:
"_undefined"

required

public abstract boolean required
Specifies that the field/property is required.

If the configuration property is not present, an IllegalArgumentException is thrown/logged and the connection will not be returned in the collection of connections.

Default:
false

Skip navigation links

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


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