org.apache.openjpa.persistence.jdbc
Class JDBCPersistenceProductDerivation
java.lang.Object
   org.apache.openjpa.lib.conf.AbstractProductDerivation
org.apache.openjpa.lib.conf.AbstractProductDerivation
       org.apache.openjpa.persistence.jdbc.JDBCPersistenceProductDerivation
org.apache.openjpa.persistence.jdbc.JDBCPersistenceProductDerivation
- All Implemented Interfaces: 
- OpenJPAProductDerivation, ProductDerivation
- public class JDBCPersistenceProductDerivation 
- extends AbstractProductDerivation- implements OpenJPAProductDerivation
Sets JDBC-specific JPA specification defaults.
- Author:
- Abe White
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
JDBCPersistenceProductDerivation
public JDBCPersistenceProductDerivation()
putBrokerFactoryAliases
public void putBrokerFactoryAliases(Map m)
- Description copied from interface: OpenJPAProductDerivation
- Load default alias options into the given map.  Each entry maps an
 alias to a broker factory class name.  Replace anything previously 
 under the desired keys.
 
- 
- Specified by:
- putBrokerFactoryAliasesin interface- OpenJPAProductDerivation
 
- 
 
getType
public int getType()
- Description copied from interface: ProductDerivation
- Return the type of derivation.
 
- 
- Specified by:
- getTypein interface- ProductDerivation
 
- 
 
validate
public void validate()
              throws Exception
- Description copied from interface: ProductDerivation
- Ensure that this derivation is valid.  This action might consist of
 loading classes for the product this derivation represents to be sure
 they exist.  Throw any throwable to indicate an invalid derivation.
 Invalid derivations will not be used.
 
- 
- Specified by:
- validatein interface- ProductDerivation
- Overrides:
- validatein class- AbstractProductDerivation
 
- 
- Throws:
- Exception
 
beforeConfigurationLoad
public boolean beforeConfigurationLoad(Configuration c)
- Description copied from interface: ProductDerivation
- Provides the instance with the opportunity to mutate
 confbefore the user configuration is applied.
 
- 
- Specified by:
- beforeConfigurationLoadin interface- ProductDerivation
- Overrides:
- beforeConfigurationLoadin class- AbstractProductDerivation
 
- 
- Returns:
- true if given Configuration has been mutated.
 
afterSpecificationSet
public boolean afterSpecificationSet(Configuration c)
- Description copied from interface: ProductDerivation
- Called after the specification has been set.
 
- 
- Specified by:
- afterSpecificationSetin interface- ProductDerivation
- Overrides:
- afterSpecificationSetin class- AbstractProductDerivation
 
- 
- Returns:
- true if given Configuration has been mutated.
 
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.