Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.tm.plugins.tyrex
Class ResourceInvoker

    java.lang.Object
      org.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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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