|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openejb.server.ServiceAccessController
public class ServiceAccessController
The Server will call the following methods. newInstance() init( port, properties) start() stop() All Daemon implementations must have a no argument constructor.
| Constructor Summary | |
|---|---|
ServiceAccessController(ServerService next)
|
|
| Method Summary | |
|---|---|
void |
checkHostsAuthorization(InetAddress client,
InetAddress server)
|
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. |
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 ServiceAccessController(ServerService next)
| Method Detail |
|---|
public void init(Properties props)
throws Exception
init in interface ServerServiceinit in interface Serviceprops -
ServiceException
Exception
public void start()
throws ServiceException
start in interface ServerServiceServiceException
public void stop()
throws ServiceException
stop in interface ServerServiceServiceException
public void service(Socket socket)
throws ServiceException,
IOException
service in interface ServerServiceServiceException
IOException
public void service(InputStream in,
OutputStream out)
throws ServiceException,
IOException
service in interface ServerServiceServiceException
IOExceptionpublic String getName()
ServerService
getName in interface ServerServicepublic String getIP()
getIP in interface ServerServicepublic int getPort()
getPort in interface ServerService
public void checkHostsAuthorization(InetAddress client,
InetAddress server)
throws SecurityException
SecurityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||