|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.schema.NameFormRegistryMonitorAdapter
public class NameFormRegistryMonitorAdapter
A simple do nothing monitor adapter for NameFormRegistries. Note for safty exception based callback print the stack tract to stderr.
Constructor Summary | |
---|---|
NameFormRegistryMonitorAdapter()
|
Method Summary | |
---|---|
void |
lookedUp(NameForm nameForm)
Monitors when a Comparator is successfully looked up. |
void |
lookupFailed(java.lang.String oid,
java.lang.Throwable fault)
Monitors when a lookup attempt fails. |
void |
registered(NameForm nameForm)
Monitors when a NameForm is registered successfully. |
void |
registerFailed(NameForm nameForm,
java.lang.Throwable fault)
Monitors when a registration attempt fails. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NameFormRegistryMonitorAdapter()
Method Detail |
---|
public void registered(NameForm nameForm)
NameFormRegistryMonitor
registered
in interface NameFormRegistryMonitor
nameForm
- the NameForm successfully registeredpublic void lookedUp(NameForm nameForm)
NameFormRegistryMonitor
lookedUp
in interface NameFormRegistryMonitor
nameForm
- the NameForm successfully lookeduppublic void lookupFailed(java.lang.String oid, java.lang.Throwable fault)
NameFormRegistryMonitor
lookupFailed
in interface NameFormRegistryMonitor
oid
- the OID for the NameForm to lookupfault
- the exception to be thrown for the faultpublic void registerFailed(NameForm nameForm, java.lang.Throwable fault)
NameFormRegistryMonitor
registerFailed
in interface NameFormRegistryMonitor
nameForm
- the NameForm which failed registrationfault
- the exception to be thrown for the fault
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |