public interface Acceptor
extends org.hornetq.core.server.HornetQComponent
Modifier and Type | Method and Description |
---|---|
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.
|
void pause()
org.hornetq.core.server.cluster.ClusterConnection getClusterConnection()
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 @setDefaultHornetQPrincipalCopyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.