Invocation API 1.1.0.Final

org.jboss.invocation
Class DelegatingInvocationContext

java.lang.Object
  extended by org.jboss.invocation.DelegatingInvocationContext
All Implemented Interfaces:
javax.interceptor.InvocationContext

public class DelegatingInvocationContext
extends Object
implements javax.interceptor.InvocationContext

An invocation context which simply delegates to another invocation context.

Author:
David M. Lloyd

Constructor Summary
DelegatingInvocationContext(javax.interceptor.InvocationContext delegate)
          Construct a new instance.
 
Method Summary
 Map<String,Object> getContextData()
          
 Method getMethod()
          
 Object[] getParameters()
          
 Object getTarget()
          
 Object getTimer()
          
 Object proceed()
          
 void setParameters(Object[] params)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingInvocationContext

public DelegatingInvocationContext(javax.interceptor.InvocationContext delegate)
Construct a new instance.

Parameters:
delegate - the delegate context
Method Detail

getTarget

public Object getTarget()

Specified by:
getTarget in interface javax.interceptor.InvocationContext

getMethod

public Method getMethod()

Specified by:
getMethod in interface javax.interceptor.InvocationContext

getParameters

public Object[] getParameters()

Specified by:
getParameters in interface javax.interceptor.InvocationContext

setParameters

public void setParameters(Object[] params)

Specified by:
setParameters in interface javax.interceptor.InvocationContext

getContextData

public Map<String,Object> getContextData()

Specified by:
getContextData in interface javax.interceptor.InvocationContext

getTimer

public Object getTimer()

Specified by:
getTimer in interface javax.interceptor.InvocationContext

proceed

public Object proceed()
               throws Exception

Specified by:
proceed in interface javax.interceptor.InvocationContext
Throws:
Exception

Invocation API 1.1.0.Final

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.