Class EJB3SubsystemXMLPersister

  • All Implemented Interfaces:
    org.jboss.staxmapper.XMLElementWriter<org.jboss.as.controller.persistence.SubsystemMarshallingContext>

    public class EJB3SubsystemXMLPersister
    extends Object
    implements org.jboss.staxmapper.XMLElementWriter<org.jboss.as.controller.persistence.SubsystemMarshallingContext>
    The XMLElementWriter that handles the EJB subsystem. As we only write out the most recent version of a subsystem we only need to keep the latest version around.
    Author:
    Stuart Douglas
    • Constructor Detail

      • EJB3SubsystemXMLPersister

        public EJB3SubsystemXMLPersister()
    • Method Detail

      • writeContent

        public void writeContent​(org.jboss.staxmapper.XMLExtendedStreamWriter writer,
                                 org.jboss.as.controller.persistence.SubsystemMarshallingContext context)
                          throws XMLStreamException
        Specified by:
        writeContent in interface org.jboss.staxmapper.XMLElementWriter<org.jboss.as.controller.persistence.SubsystemMarshallingContext>
        Throws:
        XMLStreamException
      • writeElements

        protected void writeElements​(org.jboss.staxmapper.XMLExtendedStreamWriter writer,
                                     org.jboss.as.controller.persistence.SubsystemMarshallingContext context)
                              throws XMLStreamException
        Throws:
        XMLStreamException
      • writeRemote

        protected void writeRemote​(org.jboss.staxmapper.XMLExtendedStreamWriter writer,
                                   org.jboss.dmr.ModelNode model)
                            throws XMLStreamException
        Throws:
        XMLStreamException