DESY ACOP Beans Home

com.cosylab.util
Class DefaultObjectFactory

java.lang.Object
  extended by com.cosylab.util.DefaultObjectFactory
All Implemented Interfaces:
ObjectFactory

public class DefaultObjectFactory
extends java.lang.Object
implements ObjectFactory

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

Since:
VERSION
Version:
$Id: DefaultObjectFactory.java,v 1.3 2008-04-22 12:26:29 jbobnar Exp $
Author:
Andrej Kosmrlj

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

DefaultObjectFactory

public DefaultObjectFactory(java.lang.Class objectType)
Method Detail

newInstance

public PoolableObject newInstance()
Description copied from interface: ObjectFactory
New instance of PoolableObject

Specified by:
newInstance in interface ObjectFactory
Returns:


Copyright © 2010. All Rights Reserved.