org.oddjob.jmx
Class RemoteOperation<T>

java.lang.Object
  extended by org.oddjob.jmx.RemoteOperation<T>
Type Parameters:
T - The return type.
Direct Known Subclasses:
JMXOperation, MBeanOperation, MethodOperation

public abstract class RemoteOperation<T>
extends Object

A Base class that encapsulates the idea of an Operation that can be invoked locally or remotely.

This is not an interface to allow a common idea of equality based on method name and signature to be defined.

Author:
rob

Constructor Summary
RemoteOperation()
           
 
Method Summary
 boolean equals(Object obj)
           
abstract  String getActionName()
           
abstract  String[] getSignature()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteOperation

public RemoteOperation()
Method Detail

getActionName

public abstract String getActionName()

getSignature

public abstract String[] getSignature()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object