org.fcrepo.server.security.xacml.pdp.decorator
Class PolicyIndexInvocationHandler

java.lang.Object
  extended by org.fcrepo.server.proxy.AbstractInvocationHandler
      extended by org.fcrepo.server.security.xacml.pdp.decorator.PolicyIndexInvocationHandler
All Implemented Interfaces:
InvocationHandler, ModuleConfiguredInvocationHandler

public class PolicyIndexInvocationHandler
extends AbstractInvocationHandler
implements ModuleConfiguredInvocationHandler

A InvocationHandler responsible for updating the FeSL XACML policy index whenever API-M invocations result in changes to a policy stored in a Fedora object.

Version:
$Id$
Author:
Stephen Bayliss

Field Summary
 
Fields inherited from class org.fcrepo.server.proxy.AbstractInvocationHandler
target
 
Constructor Summary
PolicyIndexInvocationHandler()
           
 
Method Summary
 void init(Server server)
           
 Object invoke(Object proxy, Method method, Object[] args)
          
 void setDOManager(DOManager manager)
           
 void setPolicyIndex(PolicyIndex policyIndex)
           
 
Methods inherited from class org.fcrepo.server.proxy.AbstractInvocationHandler
close, setTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyIndexInvocationHandler

public PolicyIndexInvocationHandler()
Method Detail

setPolicyIndex

public void setPolicyIndex(PolicyIndex policyIndex)

setDOManager

public void setDOManager(DOManager manager)

init

public void init(Server server)
          throws InitializationException
Specified by:
init in interface ModuleConfiguredInvocationHandler
Throws:
InitializationException

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable

Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2012 DuraSpace. All Rights Reserved.