org.modeshape.jdbc.delegate
Class LocalRepositoryDelegate.JNDIConnectionInfo

java.lang.Object
  extended by org.modeshape.jdbc.delegate.ConnectionInfo
      extended by org.modeshape.jdbc.delegate.LocalRepositoryDelegate.JNDIConnectionInfo
Enclosing class:
LocalRepositoryDelegate

protected class LocalRepositoryDelegate.JNDIConnectionInfo
extends ConnectionInfo


Constructor Summary
protected LocalRepositoryDelegate.JNDIConnectionInfo(String url, Properties properties)
           
 
Method Summary
 String getEffectiveUrl()
          Get the effective URL of this connection, which places all properties on the URL (with a '*' for each character in the password property)
protected  String getJndiName()
           
 DriverPropertyInfo[] getPropertyInfos()
          Obtain the array of DriverPropertyInfo objects that describe the missing properties.
 
Methods inherited from class org.modeshape.jdbc.delegate.ConnectionInfo
getCredentials, getPassword, getProperties, getRepositoryName, getUrl, getUsername, getWorkspaceName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalRepositoryDelegate.JNDIConnectionInfo

protected LocalRepositoryDelegate.JNDIConnectionInfo(String url,
                                                     Properties properties)
Parameters:
url -
properties -
Method Detail

getJndiName

protected String getJndiName()

getEffectiveUrl

public String getEffectiveUrl()
Get the effective URL of this connection, which places all properties on the URL (with a '*' for each character in the password property)

Specified by:
getEffectiveUrl in class ConnectionInfo
Returns:
the effective URL; never null

getPropertyInfos

public DriverPropertyInfo[] getPropertyInfos()
Description copied from class: ConnectionInfo
Obtain the array of DriverPropertyInfo objects that describe the missing properties.

Specified by:
getPropertyInfos in class ConnectionInfo
Returns:
DriverPropertyInfo the property infos; never null but possibly empty


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.