org.apache.openejb.server.derbynet
Class DerbyNetworkService
java.lang.Object
org.apache.openejb.server.derbynet.DerbyNetworkService
- All Implemented Interfaces:
- SelfManaging, ServerService, Service
public class DerbyNetworkService
- extends java.lang.Object
- implements ServerService, SelfManaging
- Version:
- $Rev: 752255 $ $Date: 2009-03-10 21:45:35 +0100 (Di, 10. Mär 2009) $
Method Summary |
java.lang.String |
getIP()
|
java.lang.String |
getName()
|
int |
getPort()
|
void |
init(java.util.Properties properties)
|
void |
service(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
|
void |
service(java.net.Socket socket)
|
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DerbyNetworkService
public DerbyNetworkService()
getIP
public java.lang.String getIP()
- Specified by:
getIP
in interface ServerService
getName
public java.lang.String getName()
- Specified by:
getName
in interface ServerService
getPort
public int getPort()
- Specified by:
getPort
in interface ServerService
init
public void init(java.util.Properties properties)
throws java.lang.Exception
- Specified by:
init
in interface Service
- Throws:
java.lang.Exception
service
public void service(java.io.InputStream inputStream,
java.io.OutputStream outputStream)
throws ServiceException,
java.io.IOException
- Specified by:
service
in interface ServerService
- Throws:
ServiceException
java.io.IOException
service
public void service(java.net.Socket socket)
throws ServiceException,
java.io.IOException
- Specified by:
service
in interface ServerService
- Throws:
ServiceException
java.io.IOException
start
public void start()
throws ServiceException
- Specified by:
start
in interface ServerService
- Throws:
ServiceException
stop
public void stop()
throws ServiceException
- Specified by:
stop
in interface ServerService
- Throws:
ServiceException
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.