@Override public void writeContent(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { context.startSubsystemElement(Namespace.CURRENT.getUriString(), false); ModelNode node = context.getModelNode(); // write the orb configuration section if there are any orb properties to be written. this.writeORBConfig(writer, node); // write the poa configuration section if there are any poa properties to be written. this.writePOAConfig(writer, node); // write the naming configuration section if there are any naming properties to be written. this.writeNamingConfig(writer, node); // write the interop configuration section if there are any interop properties to be written. this.writeInteropConfig(writer, node); // write the security configuration section if there are any security properties to be written. this.writeSecurityConfig(writer, node); // write all defined generic properties. String properties = JacORBSubsystemConstants.PROPERTIES; if (node.hasDefined(properties)) { this.writeGenericProperties(writer, node.get(properties)); } // write the ior-settings configuration section if there are any security properties to be written. if (node.hasDefined(JacORBSubsystemConstants.IOR_SETTINGS)) IORSettingsParser.INSTANCE.writeContent(writer, node.get(JacORBSubsystemConstants.IOR_SETTINGS, JacORBSubsystemConstants.DEFAULT)); writer.writeEndElement(); // End of subsystem element }
@Override public void writeContent(XMLExtendedStreamWriter writer, SubsystemMarshallingContext context) throws XMLStreamException { context.startSubsystemElement(Namespace.CURRENT.getUriString(), false); ModelNode node = context.getModelNode(); // write the orb configuration section if there are any orb properties to be written. this.writeORBConfig(writer, node); // write the poa configuration section if there are any poa properties to be written. this.writePOAConfig(writer, node); // write the naming configuration section if there are any naming properties to be written. this.writeNamingConfig(writer, node); // write the interop configuration section if there are any interop properties to be written. this.writeInteropConfig(writer, node); // write the security configuration section if there are any security properties to be written. this.writeSecurityConfig(writer, node); // write all defined generic properties. String properties = JacORBSubsystemConstants.PROPERTIES; if (node.hasDefined(properties)) { this.writeGenericProperties(writer, node.get(properties)); } // write the ior-settings configuration section if there are any security properties to be written. if (node.hasDefined(JacORBSubsystemConstants.IOR_SETTINGS)) IORSettingsParser.INSTANCE.writeContent(writer, node.get(JacORBSubsystemConstants.IOR_SETTINGS, JacORBSubsystemConstants.DEFAULT)); writer.writeEndElement(); // End of subsystem element }