Interface JBossAllSchema<S extends org.jboss.staxmapper.Versioned<org.jboss.staxmapper.IntVersion,​S>,​T>

  • All Superinterfaces:
    JBossAllXMLParser<T>, Schema, org.jboss.staxmapper.Versioned<org.jboss.staxmapper.IntVersion,​S>, VersionedSchema<org.jboss.staxmapper.IntVersion,​S>

    public interface JBossAllSchema<S extends org.jboss.staxmapper.Versioned<org.jboss.staxmapper.IntVersion,​S>,​T>
    extends VersionedSchema<org.jboss.staxmapper.IntVersion,​S>, JBossAllXMLParser<T>
    A versioned schema for an XML element contained within jboss-all.xml,
    Author:
    Paul Ferraro
    • Method Detail

      • createDeploymentUnitProcessor

        static <T,​S extends JBossAllSchema<S,​T>> DeploymentUnitProcessor createDeploymentUnitProcessor​(Set<S> schemas,
                                                                                                                   AttachmentKey<T> key)
        Creates a deployment unit processor that registers parsers for the specified jboss-all.xml schemas.
        Type Parameters:
        T - the deployment unit attachment type, generated by the parser
        S - the schema type
        Parameters:
        schemas - a set of XML element schemas
        key - a deployment unit attachment key
        Returns:
        a deployment unit processor