Package org.jboss.as.controller.persistence

Examples of org.jboss.as.controller.persistence.ModelMarshallingContext


    }

    private ModelMarshallingContext wrapPossibleHost(final ModelMarshallingContext context) {

        if (type == TestModelType.HOST) {
            return new ModelMarshallingContext() {

                @Override
                public XMLElementWriter<SubsystemMarshallingContext> getSubsystemWriter(String subsystemName) {
                    return context.getSubsystemWriter(subsystemName);
                }
View Full Code Here


    private ModelMarshallingContext sanitizeContext(final ModelMarshallingContext context) {
        if (writeSanitizer == null) {
            return context;
        }
        final ModelNode model = writeSanitizer.sanitize(context.getModelNode());
        return new ModelMarshallingContext() {

            @Override
            public XMLElementWriter<SubsystemMarshallingContext> getSubsystemWriter(String subsystemName) {
                return context.getSubsystemWriter(subsystemName);
            }
View Full Code Here

TOP

Related Classes of org.jboss.as.controller.persistence.ModelMarshallingContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.