public class LogOrphanedKeyAction extends Object implements OrphanedKeyAction
| Constructor and Description |
|---|
LogOrphanedKeyAction() |
| Modifier and Type | Method and Description |
|---|---|
String |
getChannel()
The channel to log to.
|
short |
getLevel()
The level to log at.
|
Object |
orphan(Object oid,
OpenJPAStateManager sm,
ValueMetaData vmd)
Callback received when OpenJPA discovers an orphaned key.
|
void |
setChannel(String channel)
The channel to log to.
|
void |
setLevel(short level)
The level to log at.
|
void |
setLevel(String level)
The level to log at.
|
public String getChannel()
org.apache.openjpa.Runtime.public void setChannel(String channel)
org.apache.openjpa.Runtime.public short getLevel()
WARN.public void setLevel(short level)
WARN.public void setLevel(String level)
WARN.public Object orphan(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–2017 Apache Software Foundation. All rights reserved.