public class LogOrphanedKeyAction extends java.lang.Object implements OrphanedKeyAction
| Constructor and Description |
|---|
LogOrphanedKeyAction() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getChannel()
The channel to log to.
|
short |
getLevel()
The level to log at.
|
java.lang.Object |
orphan(java.lang.Object oid,
OpenJPAStateManager sm,
ValueMetaData vmd)
Callback received when OpenJPA discovers an orphaned key.
|
void |
setChannel(java.lang.String channel)
The channel to log to.
|
void |
setLevel(short level)
The level to log at.
|
void |
setLevel(java.lang.String level)
The level to log at.
|
public java.lang.String getChannel()
org.apache.openjpa.Runtime.public void setChannel(java.lang.String channel)
org.apache.openjpa.Runtime.public short getLevel()
WARN.public void setLevel(short level)
WARN.public void setLevel(java.lang.String level)
WARN.public java.lang.Object orphan(java.lang.Object oid,
OpenJPAStateManager sm,
ValueMetaData vmd)
OrphanedKeyActionorphan in interface OrphanedKeyActionoid - the orphaned keysm - the instance representing the record in which the
key was discovered; may be nullvmd - the value in which the key was discoveredfmd; typically
nullCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.