org.jbpm.integration.spec.runtime
Class InvocationProxy

java.lang.Object
  extended by org.jbpm.integration.spec.runtime.InvocationProxy
All Implemented Interfaces:
java.lang.reflect.InvocationHandler, InvocationProxySupport

public class InvocationProxy
extends java.lang.Object
implements InvocationProxySupport, java.lang.reflect.InvocationHandler

Decorates management invocations with common system aspects.

Since:
05-Dec-2008
Author:
Thomas.Diesler@jboss.com

Method Summary
 org.jboss.bpm.api.service.ProcessEngineSupport getUnderlying()
           
static
<T> T
getUnderlying(java.lang.Object implObj, java.lang.Class<T> implClazz)
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method m, java.lang.Object[] args)
           
static
<T> T
newInstance(org.jboss.bpm.api.service.ProcessEngineSupport obj, java.lang.Class<T> interf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static <T> T newInstance(org.jboss.bpm.api.service.ProcessEngineSupport obj,
                                java.lang.Class<T> interf)

getUnderlying

public static <T> T getUnderlying(java.lang.Object implObj,
                                  java.lang.Class<T> implClazz)

getUnderlying

public org.jboss.bpm.api.service.ProcessEngineSupport getUnderlying()
Specified by:
getUnderlying in interface InvocationProxySupport

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method m,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable


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