org.jfox.ejb
Class EJBObjectFactory

java.lang.Object
  extended byorg.huihoo.jfox.pool.ObjectFactoryImpl
      extended byorg.jfox.ejb.EJBObjectFactory
All Implemented Interfaces:
ObjectFactory

public class EJBObjectFactory
extends ObjectFactoryImpl

Éú³É EJBPoolableObject , EJBPoolableObject ·â×°ÁË EJBObject


Field Summary
 
Fields inherited from class org.huihoo.jfox.pool.ObjectFactoryImpl
classType
 
Constructor Summary
EJBObjectFactory(java.lang.Class classType, java.lang.Class beanClass)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 PoolableObject makeObject()
          create a new poolable object
 
Methods inherited from class org.huihoo.jfox.pool.ObjectFactoryImpl
destroyObject, equals, getObjectClass, hashCode, validateObject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBObjectFactory

public EJBObjectFactory(java.lang.Class classType,
                        java.lang.Class beanClass)
                 throws java.lang.Exception
Method Detail

makeObject

public PoolableObject makeObject()
                          throws java.lang.Exception
Description copied from interface: ObjectFactory
create a new poolable object

Specified by:
makeObject in interface ObjectFactory
Overrides:
makeObject in class ObjectFactoryImpl
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)