de.pannenleiter.db.brand
Class StandaloneFramework

java.lang.Object
  |
  +--de.pannenleiter.db.brand.StandaloneFramework

public class StandaloneFramework
extends java.lang.Object
implements Framework

StandaloneFramework -- services, if no framework available


Field Summary
protected  java.util.Properties cfg
           
protected static java.lang.String Configuration
           
 
Constructor Summary
StandaloneFramework()
           
 
Method Summary
 void freeConnection(java.lang.String name, java.sql.Connection connection)
           
 java.sql.Connection getConnection(java.lang.String db)
           
 java.util.Properties getProperties()
           
 java.lang.String getProperty(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Configuration

protected static java.lang.String Configuration

cfg

protected java.util.Properties cfg
Constructor Detail

StandaloneFramework

public StandaloneFramework()
Method Detail

getProperties

public java.util.Properties getProperties()
                                   throws java.lang.Exception
Specified by:
getProperties in interface Framework

getProperty

public java.lang.String getProperty(java.lang.String name)
                             throws java.lang.Exception
Specified by:
getProperty in interface Framework

getConnection

public java.sql.Connection getConnection(java.lang.String db)
                                  throws java.lang.Exception
Specified by:
getConnection in interface Framework

freeConnection

public void freeConnection(java.lang.String name,
                           java.sql.Connection connection)
                    throws java.lang.Exception
Specified by:
freeConnection in interface Framework