|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.schema.AttributeTypeRegistryMonitorAdapter
A simple do nothing monitor adapter for AttributeTypeRegistries. Note for safty exception based callback print the stack tract to stderr.
Constructor Summary | |
AttributeTypeRegistryMonitorAdapter()
|
Method Summary | |
void |
lookedUp(AttributeType attributeType)
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(AttributeType attributeType)
Monitors when a AttributeType is registered successfully. |
void |
registerFailed(AttributeType attributeType,
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 AttributeTypeRegistryMonitorAdapter()
Method Detail |
public void registered(AttributeType attributeType)
AttributeTypeRegistryMonitor
registered
in interface AttributeTypeRegistryMonitor
attributeType
- the AttributeType successfully registeredpublic void lookedUp(AttributeType attributeType)
AttributeTypeRegistryMonitor
lookedUp
in interface AttributeTypeRegistryMonitor
attributeType
- the AttributeType successfully lookeduppublic void lookupFailed(java.lang.String oid, java.lang.Throwable fault)
AttributeTypeRegistryMonitor
lookupFailed
in interface AttributeTypeRegistryMonitor
oid
- the OID for the AttributeType to lookupfault
- the exception to be thrown for the faultpublic void registerFailed(AttributeType attributeType, java.lang.Throwable fault)
AttributeTypeRegistryMonitor
registerFailed
in interface AttributeTypeRegistryMonitor
attributeType
- the AttributeType 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 |