org.fcrepo.server.messaging
Class NotificationInvocationHandler
java.lang.Object
org.fcrepo.server.proxy.AbstractInvocationHandler
org.fcrepo.server.messaging.NotificationInvocationHandler
- All Implemented Interfaces:
- InvocationHandler, ModuleConfiguredInvocationHandler
public class NotificationInvocationHandler
- extends AbstractInvocationHandler
- implements ModuleConfiguredInvocationHandler
A InvocationHandler responsible
for sending notifications via Messaging.
- Version:
- $Id$
- Author:
- Edwin Shin
|
Constructor Summary |
NotificationInvocationHandler()
Note: Setting of messaging does not take place in this
constructor because the construction of the Management proxy chain (of
which this class is intended to be a part) takes place in
ManagementModule.postInit(), i.e., prior to completion of Server
initialization. |
NotificationInvocationHandler(Messaging messaging)
This constructor is intended for testing. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationInvocationHandler
public NotificationInvocationHandler()
- Note: Setting of
messaging does not take place in this
constructor because the construction of the Management proxy chain (of
which this class is intended to be a part) takes place in
ManagementModule.postInit(), i.e., prior to completion of Server
initialization.
NotificationInvocationHandler
public NotificationInvocationHandler(Messaging messaging)
- This constructor is intended for testing.
- Parameters:
messaging -
init
public void init(Server server)
- Specified by:
init in interface ModuleConfiguredInvocationHandler
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
-
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
close
public void close()
- Overrides:
close in class AbstractInvocationHandler
Copyright © 2012 DuraSpace. All Rights Reserved.