public class EjbServer extends java.lang.Object implements ServerService, ApplicationServer
Modifier and Type | Field and Description |
---|---|
protected KeepAliveServer |
keepAlive |
protected EjbDaemon |
server |
Constructor and Description |
---|
EjbServer() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getBusinessObject(ProxyInfo info) |
EJBHome |
getEJBHome(ProxyInfo info) |
EJBMetaData |
getEJBMetaData(ProxyInfo info) |
EJBObject |
getEJBObject(ProxyInfo info) |
Handle |
getHandle(ProxyInfo info) |
HomeHandle |
getHomeHandle(ProxyInfo info) |
java.lang.String |
getIP() |
java.lang.String |
getName() |
int |
getPort() |
void |
init(java.util.Properties props) |
void |
service(java.io.InputStream inputStream,
java.io.OutputStream outputStream) |
void |
service(java.net.Socket socket) |
void |
start() |
void |
stop() |
protected KeepAliveServer keepAlive
protected EjbDaemon server
public void init(java.util.Properties props) throws java.lang.Exception
public void start() throws ServiceException
start
in interface ServerService
ServiceException
public void stop() throws ServiceException
stop
in interface ServerService
ServiceException
public java.lang.String getName()
getName
in interface ServerService
public int getPort()
getPort
in interface ServerService
public void service(java.net.Socket socket) throws ServiceException, java.io.IOException
service
in interface ServerService
ServiceException
java.io.IOException
public void service(java.io.InputStream inputStream, java.io.OutputStream outputStream) throws ServiceException, java.io.IOException
service
in interface ServerService
ServiceException
java.io.IOException
public java.lang.String getIP()
getIP
in interface ServerService
public EJBMetaData getEJBMetaData(ProxyInfo info)
getEJBMetaData
in interface ApplicationServer
public Handle getHandle(ProxyInfo info)
getHandle
in interface ApplicationServer
public HomeHandle getHomeHandle(ProxyInfo info)
getHomeHandle
in interface ApplicationServer
public EJBObject getEJBObject(ProxyInfo info)
getEJBObject
in interface ApplicationServer
public java.lang.Object getBusinessObject(ProxyInfo info)
getBusinessObject
in interface ApplicationServer
public EJBHome getEJBHome(ProxyInfo info)
getEJBHome
in interface ApplicationServer