public class ConstantProvider<T> extends Object implements ObjectProvider<T>, Serializable
Constructor and Description |
---|
ConstantProvider(T constant)
Create a new ConstantProvider instance.
|
public ConstantProvider(T constant)
constant
- public T getObject()
ObjectProviderException
if any problems arise while
constructing/finding the object.getObject
in interface ObjectProvider<T>
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.