|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Acceptor
An Acceptor is used by the RemotingService to allow clients to connect. It should take care of dispatching client requests to the RemotingService's Dispatcher.
Method Summary | |
---|---|
org.hornetq.core.server.cluster.ClusterConnection |
getClusterConnection()
|
Map<String,Object> |
getConfiguration()
|
boolean |
isUnsecurable()
Whether this acceptor allows insecure connections. |
void |
pause()
Pause the acceptor and stop it from receiving client requests. |
void |
setDefaultHornetQPrincipal(org.hornetq.core.security.HornetQPrincipal defaultHornetQPrincipal)
Set the default security Principal to be used when no user/pass are defined, only for InVM |
void |
setNotificationService(org.hornetq.core.server.management.NotificationService notificationService)
Set the notification service for this acceptor to use. |
Methods inherited from interface org.hornetq.core.server.HornetQComponent |
---|
isStarted, start, stop |
Method Detail |
---|
void pause()
org.hornetq.core.server.cluster.ClusterConnection getClusterConnection()
Map<String,Object> getConfiguration()
void setNotificationService(org.hornetq.core.server.management.NotificationService notificationService)
notificationService
- the notification servicevoid setDefaultHornetQPrincipal(org.hornetq.core.security.HornetQPrincipal defaultHornetQPrincipal)
boolean isUnsecurable()
java.lang.IllegalStatException
- if false @setDefaultHornetQPrincipal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |