com.wiley.posa3.resourcelifecyclemanager
Class ConnectionFactory

java.lang.Object
  extended bycom.wiley.posa3.resourcelifecyclemanager.ConnectionFactory
All Implemented Interfaces:
ResourceFactory

public class ConnectionFactory
extends java.lang.Object
implements ResourceFactory

The ConnectionFactory creates new connections based on a configured strategy. It may eagerly acquire several connections, or it may lazily acquire resources.

Version:
1.0
Author:
Michael Kircher, Prashant Jain

Constructor Summary
ConnectionFactory()
          Default Constructor
 
Method Summary
 ManagedResource create()
          Create an instance of a managed resource -- in this case a Connection object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionFactory

public ConnectionFactory()
Default Constructor

Method Detail

create

public ManagedResource create()
Create an instance of a managed resource -- in this case a Connection object.

Specified by:
create in interface ResourceFactory
Returns:
ManagedResource an instance of a Connection object


Copyright 2004 John Wiley and Sons. All Rights Reserved.