org.openrdf.elmo.impl
Class InvocationContextImpl

java.lang.Object
  extended by org.openrdf.elmo.impl.InvocationContextImpl
All Implemented Interfaces:
InvocationContext

public class InvocationContextImpl
extends Object
implements InvocationContext

Internal implementation of InvocationContext. This is passed to AroundInvoke methods of registered behaviours.

Author:
James Leigh

Constructor Summary
InvocationContextImpl(Object target, Method method, Object[] parameters, Method proceed)
           
 
Method Summary
 InvocationContextImpl appendInvocation(Object target, Method method)
           
 Map<String,Object> getContextData()
           
 Method getMethod()
           
 Object[] getParameters()
           
 Object getTarget()
           
 Object proceed()
           
 void setParameters(Object[] parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationContextImpl

public InvocationContextImpl(Object target,
                             Method method,
                             Object[] parameters,
                             Method proceed)
Method Detail

appendInvocation

public InvocationContextImpl appendInvocation(Object target,
                                              Method method)

getTarget

public Object getTarget()
Specified by:
getTarget in interface InvocationContext

getMethod

public Method getMethod()
Specified by:
getMethod in interface InvocationContext

getParameters

public Object[] getParameters()
Specified by:
getParameters in interface InvocationContext

setParameters

public void setParameters(Object[] parameters)
Specified by:
setParameters in interface InvocationContext

getContextData

public Map<String,Object> getContextData()
Specified by:
getContextData in interface InvocationContext

proceed

public Object proceed()
               throws Exception
Specified by:
proceed in interface InvocationContext
Throws:
Exception


Copyright © 2004-2008 Aduna. All Rights Reserved.