|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.transport.platform.nio.client.NioClientObjectPoolImpl
public class NioClientObjectPoolImpl
This class is only a Fractal Wrapper of the Apache generic keyed object pool.
| Field Summary | |
|---|---|
protected ConfigurationService |
configurationService
Interface used to access configuration |
protected org.ow2.petals.util.LoggingUtil |
log
Logger Wrapper |
protected NioSelector |
selectorAgent
The socket selector Fractal component to use to process network IO. |
protected TopologyService |
topologyService
Interface used to get host and port of message recipient |
| Fields inherited from interface org.ow2.petals.transport.platform.nio.client.NioClientObjectPool |
|---|
NIO_CLIENT_OBJECT_ITF |
| Constructor Summary | |
|---|---|
NioClientObjectPoolImpl()
|
|
| Method Summary | |
|---|---|
NioClient |
borrowObject(java.lang.String targetContainerName)
|
void |
returnObject(java.lang.String targetContainerName,
NioClient clientConnection)
|
void |
start()
|
void |
stop()
Method called when the fractal component is stopped |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ConfigurationService configurationService
protected TopologyService topologyService
protected NioSelector selectorAgent
The socket selector Fractal component to use to process network IO.
protected org.ow2.petals.util.LoggingUtil log
| Constructor Detail |
|---|
public NioClientObjectPoolImpl()
| Method Detail |
|---|
public NioClient borrowObject(java.lang.String targetContainerName)
throws java.lang.Exception
borrowObject in interface NioClientObjectPooljava.lang.Exception
public void returnObject(java.lang.String targetContainerName,
NioClient clientConnection)
throws java.lang.Exception
returnObject in interface NioClientObjectPooljava.lang.Exception
public void start()
throws org.objectweb.fractal.api.control.IllegalLifeCycleException,
org.objectweb.fractal.api.NoSuchInterfaceException
org.objectweb.fractal.api.control.IllegalLifeCycleException
org.objectweb.fractal.api.NoSuchInterfaceException
public void stop()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||