org.apache.tapestry5.internal.spring
Class StaticObjectCreator
java.lang.Object
org.apache.tapestry5.internal.spring.StaticObjectCreator
- All Implemented Interfaces:
- ObjectCreator
public class StaticObjectCreator
- extends Object
- implements ObjectCreator
An ObjectCreator
for a statically identified object (typically, a bean from the
Spring application context).
StaticObjectCreator
public StaticObjectCreator(Object object,
String description)
createObject
public Object createObject()
- Description copied from interface:
ObjectCreator
- Create and return the object. In some limited circumstances, the implementation may cache the result, returning
the same object for repeated calls.
- Specified by:
createObject
in interface ObjectCreator
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2012 The Apache Software Foundation.