|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.connector.http.HttpManagedConnectionFactoryImpl
public final class HttpManagedConnectionFactoryImpl
Managed Connection Factory used by the Application Server to create a non-managed factory and connection for the application.
| Constructor Summary | |
|---|---|
HttpManagedConnectionFactoryImpl()
|
|
| Method Summary | |
|---|---|
Object |
createConnectionFactory()
|
Object |
createConnectionFactory(ConnectionManager cm)
|
ManagedConnection |
createManagedConnection(Subject subject,
ConnectionRequestInfo cri)
|
PrintWriter |
getLogWriter()
|
Integer |
getMaxConnections()
Gets the configuration parameter "MaxConnections". |
String |
getUrl()
Gets the configuration parameter "Url". |
ManagedConnection |
matchManagedConnections(Set connectionSet,
Subject subject,
ConnectionRequestInfo cri)
|
void |
setLogWriter(PrintWriter arg0)
|
void |
setMaxConnections(Integer connections)
Sets the configuration parameter "MaxConnections" defined in the deployment descriptor. |
void |
setUrl(String url)
Set configuration parameter "Url" as defined in deployment descriptor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.resource.spi.ManagedConnectionFactory |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public HttpManagedConnectionFactoryImpl()
| Method Detail |
|---|
public Object createConnectionFactory(ConnectionManager cm)
createConnectionFactory in interface ManagedConnectionFactorypublic Object createConnectionFactory()
createConnectionFactory in interface ManagedConnectionFactory
public ManagedConnection createManagedConnection(Subject subject,
ConnectionRequestInfo cri)
createManagedConnection in interface ManagedConnectionFactory
public ManagedConnection matchManagedConnections(Set connectionSet,
Subject subject,
ConnectionRequestInfo cri)
matchManagedConnections in interface ManagedConnectionFactorypublic void setLogWriter(PrintWriter arg0)
setLogWriter in interface ManagedConnectionFactorypublic PrintWriter getLogWriter()
getLogWriter in interface ManagedConnectionFactorypublic void setMaxConnections(Integer connections)
connections - max count of connectionspublic Integer getMaxConnections()
public void setUrl(String url)
url - the url connecting topublic String getUrl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||