QName.valueOf("org.jboss.httpListener:remove"),
QName.valueOf("org.jboss.as:resource-operation#remove"),
"Remove"))
.end()
.add(new Select(ns, "httpListener", "HTTPListenerSelection"))
.mappedBy(httpListenerTable)
.start(new Container(ns, "undertow#httpListenerConfig", "httpConfig", Choice))
.mappedBy(singleHttpListener)
.add(new Container(ns, "undertow#httpListenerAttributes", "Attributes", Form))
.mappedBy(new DMRMapping()
.addAttributes(
"worker", "enabled",
"socket-binding", "buffer-pool"
)
)
.end()
.end()
// ------------------- AJP --------------------
.start(ajp)
.mappedBy(ajpListenerCollection)
.start(new Container<StereoTypes>(ns, "ajptools", "Tools", Toolstrip))
.mappedBy(singleAjpListener)
.add(new Trigger(
QName.valueOf("org.jboss.ajpListener:add"),
QName.valueOf("org.jboss.as:resource-operation#add"),
"Add"))
.mappedBy(ajpListenerCollection)
.add(new Trigger(
QName.valueOf("org.jboss.ajpListener:remove"),
QName.valueOf("org.jboss.as:resource-operation#remove"),
"Remove"))
.end()
.add(new Select(ns, "ajpListener", "AJPListenerSelection"))
.mappedBy(ajpListenerTable)
.start(new Container(ns, "undertow#ajpListenerConfig", "ajpConfig", Choice))
.mappedBy(singleAjpListener)
.add(new Container(ns, "undertow#ajpListenerAttributes", "Attributes", Form))
.mappedBy(new DMRMapping()
.addAttributes(
"worker", "enabled",
"socket-binding", "buffer-pool"
)
)
.end()
.end()
// ------------------- HTTPS--------------------
.start(https)
.mappedBy(httpsListenerCollection)
.start(new Container<StereoTypes>(ns, "httpstools", "Tools", Toolstrip))
.mappedBy(singleHTTPSListener)
.add(new Trigger(
QName.valueOf("org.jboss.httpsListener:add"),
QName.valueOf("org.jboss.as:resource-operation#add"),
"Add"))
.mappedBy(httpsListenerCollection)
.add(new Trigger(
QName.valueOf("org.jboss.httpsListener:remove"),
QName.valueOf("org.jboss.as:resource-operation#remove"),
"Remove"))
.end()
.add(new Select(ns, "httpsListener", "HTTPSListenerSelection"))
.mappedBy(httpsListenerTable)
.start(new Container(ns, "undertow#httpsListenerConfig", "httpsConfig", Choice))
.mappedBy(singleHTTPSListener)
.add(new Container(ns, "undertow#httpsListenerAttributes", "Attributes", Form))