Java EE 5 SDK

com.sun.appserv.management.j2ee.statistics
Class GetterInvocationHandler<T>

java.lang.Object
  extended by com.sun.appserv.management.j2ee.statistics.GetterInvocationHandler<T>
All Implemented Interfaces:
Serializable, InvocationHandler
Direct Known Subclasses:
MapGetterInvocationHandler

public abstract class GetterInvocationHandler<T>
extends Object
implements InvocationHandler, Serializable

Abstract base InvocationHandler for any getXXX() method.
Internal use only

See Also:
Serialized Form

Constructor Summary
GetterInvocationHandler()
           
 
Method Summary
protected abstract  boolean containsValue(String name)
           
protected abstract  T getValue(String name)
           
 Object invoke(Object myProxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetterInvocationHandler

public GetterInvocationHandler()
Method Detail

getValue

protected abstract T getValue(String name)

containsValue

protected abstract boolean containsValue(String name)

invoke

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

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.