org.apache.openejb.server
Class ServicePool
java.lang.Object
org.apache.openejb.server.ServerServiceFilter
org.apache.openejb.server.ServicePool
- All Implemented Interfaces:
- ServerService, Service
public class ServicePool
- extends ServerServiceFilter
|
Constructor Summary |
ServicePool(ServerService next,
int threads)
|
ServicePool(ServerService next,
int threads,
int queue,
boolean block)
|
ServicePool(ServerService next,
int threadCore,
int threads,
int queue,
boolean block,
long keepAliveTime)
|
ServicePool(ServerService next,
Properties properties)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServicePool
public ServicePool(ServerService next,
Properties properties)
ServicePool
public ServicePool(ServerService next,
int threads)
ServicePool
public ServicePool(ServerService next,
int threads,
int queue,
boolean block)
ServicePool
public ServicePool(ServerService next,
int threadCore,
int threads,
int queue,
boolean block,
long keepAliveTime)
getThreadPool
public ThreadPoolExecutor getThreadPool()
service
public void service(InputStream in,
OutputStream out)
throws ServiceException,
IOException
- Specified by:
service in interface ServerService- Overrides:
service in class ServerServiceFilter
- Throws:
ServiceException
IOException
service
public void service(Socket socket)
throws ServiceException,
IOException
- Specified by:
service in interface ServerService- Overrides:
service in class ServerServiceFilter
- Throws:
ServiceException
IOException
Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.