|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.event.LogOrphanedKeyAction
public class LogOrphanedKeyAction
Log a message when an orphaned key is discovered.
Constructor Summary | |
---|---|
LogOrphanedKeyAction()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogOrphanedKeyAction()
Method Detail |
---|
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)
OrphanedKeyAction
orphan
in interface OrphanedKeyAction
oid
- the orphaned keysm
- the instance representing the record in which the
key was discovered; may be nullvmd
- the value in which the key was discovered
fmd
; typically
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |