|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cosylab.util.DefaultObjectFactory
public class DefaultObjectFactory
DefaultObjectFactory
is default ObjectFactory
implementation.
Tries to create a new instance of certain Class
objects with default constructor.
If it fails creating new instance with default constructor it will returned null
Constructor Summary | |
---|---|
DefaultObjectFactory(java.lang.Class objectType)
|
Method Summary | |
---|---|
PoolableObject |
newInstance()
New instance of PoolableObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultObjectFactory(java.lang.Class objectType)
Method Detail |
---|
public PoolableObject newInstance()
ObjectFactory
PoolableObject
newInstance
in interface ObjectFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |