com.prolifics.jco
Class PoolablePantherNGComponentFactory

java.lang.Object
  extended by 
      extended by com.prolifics.jco.PoolablePantherNGComponentFactory
All Implemented Interfaces:
ComponentFactory, PoolableComponentFactory<ComponentKey,PoolableComponent>
Direct Known Subclasses:
PoolablePantherComponentFactory

public abstract class PoolablePantherNGComponentFactory
extends
implements PoolableComponentFactory<ComponentKey,PoolableComponent>


Field Summary
protected   componentPool
           
 
Constructor Summary
PoolablePantherNGComponentFactory()
           
PoolablePantherNGComponentFactory( pool)
           
 
Method Summary
 void close()
           
 void destroyObject(ComponentKey unusedKey, PoolableComponent component)
           
 Component getComponent(java.lang.String componentName)
           
 Component getComponent(java.lang.String componentName, int id)
           
  getComponentPool()
           
 void releaseComponent(Component component)
           
 void removeComponent(Component component)
           
 void setComponentPool( componentPool)
           
 boolean validateObject(PoolableComponent component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

componentPool

protected  componentPool
Constructor Detail

PoolablePantherNGComponentFactory

public PoolablePantherNGComponentFactory( pool)

PoolablePantherNGComponentFactory

public PoolablePantherNGComponentFactory()
Method Detail

getComponentPool

public  getComponentPool()
Specified by:
getComponentPool in interface PoolableComponentFactory<ComponentKey,PoolableComponent>

setComponentPool

public void setComponentPool( componentPool)
Specified by:
setComponentPool in interface PoolableComponentFactory<ComponentKey,PoolableComponent>

destroyObject

public void destroyObject(ComponentKey unusedKey,
                          PoolableComponent component)
                   throws java.lang.Exception
Throws:
java.lang.Exception

validateObject

public boolean validateObject(PoolableComponent component)

getComponent

public Component getComponent(java.lang.String componentName)
                       throws java.lang.Exception
Specified by:
getComponent in interface ComponentFactory
Throws:
java.lang.Exception

getComponent

public Component getComponent(java.lang.String componentName,
                              int id)
                       throws java.lang.Exception
Specified by:
getComponent in interface ComponentFactory
Throws:
java.lang.Exception

releaseComponent

public void releaseComponent(Component component)
                      throws java.lang.Exception
Specified by:
releaseComponent in interface ComponentFactory
Throws:
java.lang.Exception

removeComponent

public void removeComponent(Component component)
                     throws java.lang.Exception
Specified by:
removeComponent in interface ComponentFactory
Throws:
java.lang.Exception

close

public void close()
           throws java.lang.Exception
Specified by:
close in interface ComponentFactory
Throws:
java.lang.Exception