|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.server.ServicePool
public class ServicePool
| Constructor Summary | |
|---|---|
ServicePool(ServerService next,
Executor executor)
|
|
ServicePool(ServerService next,
String name,
int threads)
|
|
ServicePool(ServerService next,
String name,
Properties properties)
|
|
| Method Summary | |
|---|---|
String |
getIP()
Gets the ip number that the daemon is listening on. |
String |
getName()
Gets the name of the service. |
int |
getPort()
Gets the port number that the daemon is listening on. |
ThreadPoolExecutor |
getThreadPool()
|
void |
init(Properties props)
Pulls out the access log information |
void |
service(InputStream in,
OutputStream out)
|
void |
service(Socket socket)
|
void |
start()
|
void |
stop()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServicePool(ServerService next,
String name,
Properties properties)
public ServicePool(ServerService next,
String name,
int threads)
public ServicePool(ServerService next,
Executor executor)
| Method Detail |
|---|
public ThreadPoolExecutor getThreadPool()
public void service(InputStream in,
OutputStream out)
throws ServiceException,
IOException
service in interface ServerServiceServiceException
IOException
public void service(Socket socket)
throws ServiceException,
IOException
service in interface ServerServiceServiceException
IOException
public void init(Properties props)
throws Exception
init in interface Serviceprops -
ServiceException
Exception
public void start()
throws ServiceException
start in interface ServerServiceServiceException
public void stop()
throws ServiceException
stop in interface ServerServiceServiceExceptionpublic String getName()
getName in interface ServerServicepublic String getIP()
getIP in interface ServerServicepublic int getPort()
getPort in interface ServerService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||