org.jboss.metatype.plugins.values
Class CompositeValueInvocationHandler

java.lang.Object
  extended by org.jboss.metatype.plugins.values.CompositeValueInvocationHandler
All Implemented Interfaces:
Serializable, InvocationHandler

public class CompositeValueInvocationHandler
extends Object
implements InvocationHandler, Serializable

CompositeValueInvocationHandler.

Version:
$Revision: 84841 $
Author:
Ales Justin, Adrian Brock, Scott.Stark@jboss.org
See Also:
Serialized Form

Constructor Summary
CompositeValueInvocationHandler(CompositeValue compositeValue)
          Create a new CompositeValueInvocationHandler.
 
Method Summary
static String getCompositeDataKey(Method method)
          Get the key for a composite data getter method
 CompositeValue getCompositeValue()
          Get the compositeData.
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeValueInvocationHandler

public CompositeValueInvocationHandler(CompositeValue compositeValue)
Create a new CompositeValueInvocationHandler.

Parameters:
compositeValue - the composite value
Method Detail

getCompositeValue

public CompositeValue getCompositeValue()
Get the compositeData.

Returns:
the compositeData.

invoke

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

getCompositeDataKey

public static String getCompositeDataKey(Method method)
Get the key for a composite data getter method

Parameters:
method - the method
Returns:
the key


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