org.apache.openejb.server.ejbd
Class EjbServer
java.lang.Object
org.apache.openejb.server.ejbd.EjbServer
- All Implemented Interfaces:
- ServerService, ApplicationServer, Service
public class EjbServer
- extends Object
- implements ServerService, ApplicationServer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EjbServer
public EjbServer()
init
public void init(Properties props)
throws Exception
- Specified by:
init
in interface Service
- Throws:
Exception
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
getName
public String getName()
- Specified by:
getName
in interface ServerService
getPort
public int getPort()
- Specified by:
getPort
in interface ServerService
service
public void service(Socket socket)
throws ServiceException,
IOException
- Specified by:
service
in interface ServerService
- Throws:
ServiceException
IOException
service
public void service(InputStream inputStream,
OutputStream outputStream)
throws ServiceException,
IOException
- Specified by:
service
in interface ServerService
- Throws:
ServiceException
IOException
getIP
public String getIP()
- Specified by:
getIP
in interface ServerService
getEJBMetaData
public javax.ejb.EJBMetaData getEJBMetaData(ProxyInfo info)
- Specified by:
getEJBMetaData
in interface ApplicationServer
getHandle
public javax.ejb.Handle getHandle(ProxyInfo info)
- Specified by:
getHandle
in interface ApplicationServer
getHomeHandle
public javax.ejb.HomeHandle getHomeHandle(ProxyInfo info)
- Specified by:
getHomeHandle
in interface ApplicationServer
getEJBObject
public javax.ejb.EJBObject getEJBObject(ProxyInfo info)
- Specified by:
getEJBObject
in interface ApplicationServer
getBusinessObject
public Object getBusinessObject(ProxyInfo info)
- Specified by:
getBusinessObject
in interface ApplicationServer
getEJBHome
public javax.ejb.EJBHome getEJBHome(ProxyInfo info)
- Specified by:
getEJBHome
in interface ApplicationServer
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.