org.apache.openejb.server.ejbd
Class EjbServer

java.lang.Object
  extended by org.apache.openejb.server.ejbd.EjbServer
All Implemented Interfaces:
ServerService, ApplicationServer, Service

public class EjbServer
extends java.lang.Object
implements ServerService, ApplicationServer


Constructor Summary
EjbServer()
           
 
Method Summary
 java.lang.Object getBusinessObject(ProxyInfo info)
           
 javax.ejb.EJBHome getEJBHome(ProxyInfo info)
           
 javax.ejb.EJBMetaData getEJBMetaData(ProxyInfo info)
           
 javax.ejb.EJBObject getEJBObject(ProxyInfo info)
           
 javax.ejb.Handle getHandle(ProxyInfo info)
           
 javax.ejb.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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbServer

public EjbServer()
Method Detail

init

public void init(java.util.Properties props)
          throws java.lang.Exception
Specified by:
init in interface Service
Throws:
java.lang.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 java.lang.String getName()
Specified by:
getName in interface ServerService

getPort

public int getPort()
Specified by:
getPort in interface ServerService

service

public void service(java.net.Socket socket)
             throws ServiceException,
                    java.io.IOException
Specified by:
service in interface ServerService
Throws:
ServiceException
java.io.IOException

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

getIP

public java.lang.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 java.lang.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-2011 The Apache OpenEJB development community. All Rights Reserved.