com.fatwire.gst.foundation.controller.action.support
Class SpringObjectFactory

java.lang.Object
  extended by com.fatwire.gst.foundation.controller.action.support.SpringObjectFactory
All Implemented Interfaces:
Factory

public class SpringObjectFactory
extends Object
implements Factory

Factory with access to Spring framework beans.

Author:
Dolf Dijkstra

Constructor Summary
SpringObjectFactory(org.springframework.context.ApplicationContext app)
           
 
Method Summary
<T> T
getObject(String name, Class<T> requiredType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringObjectFactory

public SpringObjectFactory(org.springframework.context.ApplicationContext app)
Parameters:
app -
Method Detail

getObject

public <T> T getObject(String name,
                       Class<T> requiredType)
Specified by:
getObject in interface Factory


Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.