org.onebusaway.webapp.impl
Class GWTAbstractFactory
java.lang.Object
org.onebusaway.webapp.impl.GWTAbstractFactory
- All Implemented Interfaces:
- org.springframework.beans.factory.FactoryBean
- Direct Known Subclasses:
- GWTMessagesFactory
public abstract class GWTAbstractFactory
- extends Object
- implements org.springframework.beans.factory.FactoryBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_type
protected Class<?> _type
GWTAbstractFactory
public GWTAbstractFactory(Class<?> parentType)
setType
public void setType(Class<?> type)
setSingleton
public void setSingleton(boolean singleton)
getObjectType
public Class<?> getObjectType()
FactoryBean
Interface
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean
getObject
public Object getObject()
throws Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean
- Throws:
Exception
createInstance
protected abstract Object createInstance()
throws Exception
- Private Methods
- Throws:
Exception
Copyright © 2012 OneBusAway. All Rights Reserved.