org.apache.shiro.util
Class AbstractFactory<T>
java.lang.Object
org.apache.shiro.util.AbstractFactory<T>
- All Implemented Interfaces:
- Factory<T>
- Direct Known Subclasses:
- IniFactorySupport
public abstract class AbstractFactory<T>
- extends Object
- implements Factory<T>
TODO - Class JavaDoc
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFactory
public AbstractFactory()
isSingleton
public boolean isSingleton()
setSingleton
public void setSingleton(boolean singleton)
getInstance
public T getInstance()
- Description copied from interface:
Factory
- Returns an instance of the required type. The implementation determines whether or not a new or cached
instance is created every time this method is called.
- Specified by:
getInstance
in interface Factory<T>
- Returns:
- an instance of the required type.
createInstance
protected abstract T createInstance()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.