Search in sources :

Example 6 with OutboundSocketBinding

use of org.wildfly.swarm.spi.api.OutboundSocketBinding in project wildfly-swarm by wildfly-swarm.

the class SocketBindingGroupMarshaller method configureSocketBindings.

private void configureSocketBindings(PathAddress address, SocketBindingGroup group, List<ModelNode> list) {
    List<SocketBinding> socketBindings = group.socketBindings();
    for (SocketBinding each : socketBindings) {
        configureSocketBinding(address, each, list);
    }
    List<OutboundSocketBinding> outboundSocketBindings = group.outboundSocketBindings();
    for (OutboundSocketBinding each : outboundSocketBindings) {
        configureSocketBinding(address, each, list);
    }
}
Also used : SocketBinding(org.wildfly.swarm.spi.api.SocketBinding) OutboundSocketBinding(org.wildfly.swarm.spi.api.OutboundSocketBinding) OutboundSocketBinding(org.wildfly.swarm.spi.api.OutboundSocketBinding)

Aggregations

OutboundSocketBinding (org.wildfly.swarm.spi.api.OutboundSocketBinding)6 SocketBinding (org.wildfly.swarm.spi.api.SocketBinding)3 SocketBindingGroup (org.wildfly.swarm.spi.api.SocketBindingGroup)3 List (java.util.List)2 ApplicationScoped (javax.enterprise.context.ApplicationScoped)2 Any (javax.enterprise.inject.Any)2 Inject (javax.inject.Inject)2 LinkedList (java.util.LinkedList)1 Consumer (java.util.function.Consumer)1 Instance (javax.enterprise.inject.Instance)1 Named (javax.inject.Named)1 PathAddress (org.jboss.as.controller.PathAddress)1 ModelNode (org.jboss.dmr.ModelNode)1 ValueExpression (org.jboss.dmr.ValueExpression)1 Test (org.junit.Test)1 MailSession (org.wildfly.swarm.config.mail.MailSession)1 SMTPServer (org.wildfly.swarm.config.mail.mail_session.SMTPServer)1 Server (org.wildfly.swarm.config.messaging.activemq.Server)1 Interface (org.wildfly.swarm.container.Interface)1 EnhancedSMTPServer (org.wildfly.swarm.mail.EnhancedSMTPServer)1