站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

ResourceInvoker (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.tm.plugins.tyrex
Class ResourceInvoker

java.lang.Object
  extended byorg.jboss.tm.plugins.tyrex.ResourceInvoker
All Implemented Interfaces:
Externalizable, InvocationHandler, Serializable

public class ResourceInvoker
extends Object
implements InvocationHandler, Externalizable

This is the InvocationHandler for the Proxy we hand over to the originator's Coordinator to control our subordinate transaction

Version:
$Revision: 1.5 $
Author:
Anatoly Akkerman
See Also:
org.omg.CosTransactions.Resource, java.lang.reflect.Proxy, java.lang.reflect.InvocationHandler, ResourceRemote, CoordinatorRemote, Serialized Form

Constructor Summary
ResourceInvoker()
           
ResourceInvoker(Resource res)
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceInvoker

public ResourceInvoker()

ResourceInvoker

public ResourceInvoker(Resource res)
Method Detail

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.