List of usage examples for org.springframework.beans.factory ObjectFactory interface-usage
From source file org.joinfaces.annotations.ViewScopedClassFactory.java
public class ViewScopedClassFactory implements ObjectFactory<ViewScopedClass> { @Override public ViewScopedClass getObject() throws BeansException { return new ViewScopedClass(); }
From source file com.github.persapiens.jsfboot.annotations.ViewScopedClassFactory.java
public class ViewScopedClassFactory implements ObjectFactory<ViewScopedClass> { @Override public ViewScopedClass getObject() throws BeansException { return new ViewScopedClass(); }
From source file devbury.threadscope.ThreadScopeStateTest.java
public class ThreadScopeStateTest implements ObjectFactory<ThreadScopeStateTest> { boolean destructionCallbackCalled = false; @Test public void testFinalize() throws Throwable {
From source file org.jasig.openregistry.test.domain.MockReconciliationCriteriaFactory.java
public class MockReconciliationCriteriaFactory implements ObjectFactory<ReconciliationCriteria> { public ReconciliationCriteria getObject() throws BeansException { return new MockReconciliationCriteria(); }
From source file net.sourceforge.jabm.util.CombiObjectFactory.java
@SuppressWarnings("rawtypes") public class CombiObjectFactory implements ObjectFactory { protected ArrayList<Integer> numberOfObjectsPerFactory; protected ArrayList<ObjectFactory> factories;
From source file org.openregistry.core.factory.jpa.JpaPersonFactory.java
/**
* Autowired component that will construct a new JpaPersonImpl to be fed to our other layers. There should only be one
* of these configured at a given time.
*
* @author Scott Battaglia
* @version $Revision$ $Date$
From source file org.openregistry.core.factory.jpa.JpaReconciliationCriteriaFactory.java
/**
* Constructs a new {@link org.openregistry.core.domain.jpa.sor.JpaReconciliationCriteriaImpl}.
*
* @author Scott Battaglia
* @version $Revision$ $Date$
* @since 1.0.0
From source file net.solarnetwork.node.util.CurrentDateObjectFactory.java
/**
* Factory for Date objects.
*
* @author matt
* @version $Id$
*/
From source file net.solarnetwork.node.util.StringFormatObjectFactory.java
/**
* Factory for String objects created from a format template.
*
* <p>This method will call {@link String#format(String, Object...)} passing
* in the {@code template} String and the configured {@code parameters}. If
* any of the configured parameters are themselves {@link ObjectFactory}
From source file net.solarnetwork.node.io.rxtx.SerialPortConversationalDataCollectorFactory.java
/**
* {@link ObjectFactory} for {@link SerialPortConversationalDataCollector} objects.
*
* <p>Configure the properties of this class, then calls to {@link #getObject()} will
* return new instances of {@link SerialPortConversationalDataCollector} for each
* invocation, configured with this object's property values.</p>