org.ow2.carol.cmi.ejb2_1.pool
Class EJBObjectFactory
java.lang.Object
org.ow2.carol.cmi.ejb2_1.pool.EJBObjectFactory
- All Implemented Interfaces:
- org.ow2.util.pool.impl.PoolFactory<org.ow2.carol.cmi.reference.CMIReferenceable,org.ow2.carol.cmi.reference.CMIReference>
public class EJBObjectFactory
- extends java.lang.Object
- implements org.ow2.util.pool.impl.PoolFactory<org.ow2.carol.cmi.reference.CMIReferenceable,org.ow2.carol.cmi.reference.CMIReference>
This is the pool factory to share stubs for EJBObject.
For stateless EJB2 only.
- Author:
- The new CMI team
|
Constructor Summary |
EJBObjectFactory(org.ow2.carol.cmi.controller.common.ClusterViewManager clusterViewManager)
|
|
Method Summary |
org.ow2.carol.cmi.reference.CMIReferenceable |
create(org.ow2.carol.cmi.reference.CMIReference cmiReference)
|
boolean |
isMatching(org.ow2.carol.cmi.reference.CMIReferenceable object,
org.ow2.carol.cmi.reference.CMIReference clue)
|
void |
remove(org.ow2.carol.cmi.reference.CMIReferenceable object)
|
boolean |
validate(org.ow2.carol.cmi.reference.CMIReferenceable object,
org.ow2.util.pool.impl.PoolEntryStatistics stats)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJBObjectFactory
public EJBObjectFactory(org.ow2.carol.cmi.controller.common.ClusterViewManager clusterViewManager)
create
public org.ow2.carol.cmi.reference.CMIReferenceable create(org.ow2.carol.cmi.reference.CMIReference cmiReference)
throws org.ow2.util.pool.api.PoolException
- Specified by:
create in interface org.ow2.util.pool.impl.PoolFactory<org.ow2.carol.cmi.reference.CMIReferenceable,org.ow2.carol.cmi.reference.CMIReference>
- Throws:
org.ow2.util.pool.api.PoolException
isMatching
public boolean isMatching(org.ow2.carol.cmi.reference.CMIReferenceable object,
org.ow2.carol.cmi.reference.CMIReference clue)
- Specified by:
isMatching in interface org.ow2.util.pool.impl.PoolFactory<org.ow2.carol.cmi.reference.CMIReferenceable,org.ow2.carol.cmi.reference.CMIReference>
remove
public void remove(org.ow2.carol.cmi.reference.CMIReferenceable object)
- Specified by:
remove in interface org.ow2.util.pool.impl.PoolFactory<org.ow2.carol.cmi.reference.CMIReferenceable,org.ow2.carol.cmi.reference.CMIReference>
validate
public boolean validate(org.ow2.carol.cmi.reference.CMIReferenceable object,
org.ow2.util.pool.impl.PoolEntryStatistics stats)
- Specified by:
validate in interface org.ow2.util.pool.impl.PoolFactory<org.ow2.carol.cmi.reference.CMIReferenceable,org.ow2.carol.cmi.reference.CMIReference>
Copyright © 2007 OW2 Consortium. All Rights Reserved.