|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.server.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)
|
|
ServiceAccessController(ServerService next,
InetAddress[] allowedHosts)
|
Method Summary | |
void |
checkHostsAuthorization(InetAddress clientAddress,
InetAddress serverAddress)
|
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)
|
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)
public ServiceAccessController(ServerService next, InetAddress[] allowedHosts)
Method Detail |
public void service(Socket socket) throws ServiceException, IOException
service
in interface SocketService
ServiceException
IOException
public void checkHostsAuthorization(InetAddress clientAddress, InetAddress serverAddress) throws SecurityException
SecurityException
public void init(Properties props) throws Exception
init
in interface ServerService
Exception
public void start() throws ServiceException
start
in interface ServerService
ServiceException
public void stop() throws ServiceException
stop
in interface ServerService
ServiceException
public String getName()
SocketService
getName
in interface SocketService
public String getIP()
ServerService
getIP
in interface ServerService
public int getPort()
ServerService
getPort
in interface ServerService
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |