com.caucho.config.program
Class SingletonValueGenerator

java.lang.Object
  extended by com.caucho.config.program.ValueGenerator
      extended by com.caucho.config.program.SingletonValueGenerator
All Implemented Interfaces:
ObjectProxy

public class SingletonValueGenerator
extends ValueGenerator

Creates a new value.


Constructor Summary
SingletonValueGenerator(java.lang.Object value)
           
 
Method Summary
 java.lang.Object create()
           
 java.lang.Class<?> getType()
           
 
Methods inherited from class com.caucho.config.program.ValueGenerator
createObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingletonValueGenerator

public SingletonValueGenerator(java.lang.Object value)
Method Detail

getType

public java.lang.Class<?> getType()
Overrides:
getType in class ValueGenerator

create

public java.lang.Object create()
Specified by:
create in class ValueGenerator