org.apache.openjpa.kernel
Class AbstractHintHandler
java.lang.Object
org.apache.openjpa.kernel.AbstractHintHandler
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- FetchConfigurationHintHandler, FetchPlanHintHandler
public abstract class AbstractHintHandler
- extends Object
- implements Serializable
Default hint handler abstract base class.
- Since:
- 2.0.0
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOT
protected static final String DOT
- See Also:
- Constant Field Values
BLANK
protected static final String BLANK
- See Also:
- Constant Field Values
PREFIX_OPENJPA
protected static final String PREFIX_OPENJPA
- See Also:
- Constant Field Values
PREFIX_JDBC
protected static final String PREFIX_JDBC
- See Also:
- Constant Field Values
_fConfig
protected FetchConfigurationImpl _fConfig
AbstractHintHandler
public AbstractHintHandler(FetchConfigurationImpl fConfig)
- Constructor; supply delegate.
setHintInternal
protected abstract boolean setHintInternal(String hintName,
Object value,
boolean validateThrowException)
setHint
public boolean setHint(String hintName,
Object value,
boolean validateThrowException)
hintToKey
protected String hintToKey(String key)
hasPrecedent
protected boolean hasPrecedent(String key)
handleException
protected void handleException(RuntimeException e)
hintToSetter
protected final boolean hintToSetter(Object target,
String k,
Object value)
getPrefixOf
protected static String getPrefixOf(String key)
getSuffixOf
protected static String getSuffixOf(String key)
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.