org.apache.beehive.controls.system.jdbc
Annotation Type JdbcControl.ConnectionDataSource


@Inherited
@Retention(value=RUNTIME)
@Target(value={TYPE,FIELD})
public static @interface JdbcControl.ConnectionDataSource

Class-level annotation for making a DataSource available for use with the Jdbc Control. Either this annotation or the ConnectionDriver annotation must be set for a jcx which extends the JdbcControl interface.


Required Element Summary
 String jndiName
          The jndi name of the DataSource.
 
Optional Element Summary
 Class<? extends JdbcControl.JndiContextFactory> jndiContextFactory
          The name of a class which implements the IJndiContextFactory interface.
 

Element Detail

jndiName

public abstract String jndiName
The jndi name of the DataSource. This is a required element for this annotation.

jndiContextFactory

public abstract Class<? extends JdbcControl.JndiContextFactory> jndiContextFactory
The name of a class which implements the IJndiContextFactory interface. This is an optional element of this annotation.

Default:
org.apache.beehive.controls.system.jdbc.DefaultJndiContextFactory.class