org.glassfish.grizzly.smart
Class Value<E>

java.lang.Object
  extended by org.glassfish.grizzly.smart.Value<E>

public class Value<E>
extends Object

Object represents the value of some object either directly or by Reference

Author:
Alexey Stashok

Constructor Summary
Value(E directValue)
           
Value(Reference<E> reference)
           
 
Method Summary
 E get()
           
 E getByReference(Object rootObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Value

public Value(E directValue)

Value

public Value(Reference<E> reference)
Method Detail

get

public E get()

getByReference

public E getByReference(Object rootObject)
                 throws IllegalArgumentException,
                        IllegalAccessException,
                        InvocationTargetException
Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException


Copyright © 2009 SUN Microsystems. All Rights Reserved.