org.netbeans.modules.j2ee.deployment.common.api
Interface Datasource


public interface Datasource

Represents a data source

Since:
1.15

Method Summary
 String getDisplayName()
          Returns the data source display name
 String getDriverClassName()
          Returns the fully qualified name of the database driver class
 String getJndiName()
          Returns the JNDI name
 String getPassword()
          Returns the password
 String getUrl()
          Returns the database URL
 String getUsername()
          Returns the database user
 

Method Detail

getJndiName

String getJndiName()
Returns the JNDI name

Returns:
the JNDI name

getUrl

String getUrl()
Returns the database URL

Returns:
the database URL

getUsername

String getUsername()
Returns the database user

Returns:
the database user

getPassword

String getPassword()
Returns the password

Returns:
the the password

getDriverClassName

String getDriverClassName()
Returns the fully qualified name of the database driver class

Returns:
the fully qualified name of the database driver class

getDisplayName

String getDisplayName()
Returns the data source display name

Returns:
the data source display name

 

Built on March 27 2006.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.