.setXmlName(Constants.NAME)
.setAllowNull(true) // todo should be false, but 'add' won't validate then
.build();
protected static final SimpleAttributeDefinition PROTOCOL =
new SimpleAttributeDefinitionBuilder(Constants.PROTOCOL, ModelType.STRING)
<BUG>.setXmlName(Constants.PROTOCOL)</BUG>
.setAllowNull(false)
.setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES)
<BUG>.setValidator(new StringLengthValidator(1))
.build();</BUG>
protected static final SimpleAttributeDefinition SOCKET_BINDING =

.setXmlName(Constants.NAME)
.setAllowNull(true) // todo should be false, but 'add' won't validate then
.build();
protected static final SimpleAttributeDefinition PROTOCOL =
new SimpleAttributeDefinitionBuilder(Constants.PROTOCOL, ModelType.STRING)
.setAllowNull(false)
.setFlags(AttributeAccess.Flag.RESTART_ALL_SERVICES)
.setValidator(new StringLengthValidator(1))
.setAllowExpression(true)
.build();
protected static final SimpleAttributeDefinition SOCKET_BINDING =
