Examples of asProperty()


Examples of org.jboss.dmr.ModelNode.asProperty()

        }
        final StringBuilder b = new StringBuilder();
        final Iterator<ModelNode> iterator = modelNode.get(SCHEMA_LOCATIONS).asList().iterator();
        while (iterator.hasNext()) {
            final ModelNode location = iterator.next();
            final Property property = location.asProperty();
            b.append(property.getName()).append(' ').append(property.getValue().asString());
            if (iterator.hasNext()) {
                b.append(' ');
            }
        }
View Full Code Here

Examples of org.jboss.dmr.client.ModelNode.asProperty()

            if(attributeValue.isDefined())
            {
                if(ModelType.OBJECT.equals(attributeValue.getType()))
                {
                    // probably children
                    Property child = attributeValue.asProperty();

                    ModelNode childOp = new ModelNode();
                    childOp.get(OP).set(ADD);
                    childOp.get(ADDRESS).set(toResourceParent.get(ADDRESS));
                    childOp.get(ADDRESS).add(key, child.getName());
View Full Code Here

Examples of org.jboss.dmr.client.ModelNode.asProperty()

                @Override
                protected void onSuccess(final ModelNode result) {
                    List<ModelNode> roleMappings = result.get(RESULT).asList();
                    for (ModelNode node : roleMappings) {
                        Property property = node.asProperty();
                        String roleName = property.getName();

                        if (name != null) {
                            if (name.equals(roleName)) {
                                matchingRoles.add(roleName);
View Full Code Here

Examples of org.jboss.dmr.client.ModelNode.asProperty()

                typeDenominator = path;

            i++;
        }

        final String typeName = typeDenominator.asProperty().getName();

        Function<DMRContext> squatterFn = new Function<DMRContext>() {
            @Override
            public void execute(final Control<DMRContext> control) {
View Full Code Here

Examples of org.jboss.dmr.client.ModelNode.asProperty()

            if(attributeValue.isDefined())
            {
                if(ModelType.OBJECT.equals(attributeValue.getType()))
                {
                    // probably children
                    Property child = attributeValue.asProperty();

                    ModelNode childOp = new ModelNode();
                    childOp.get(OP).set(ADD);
                    childOp.get(ADDRESS).set(toResourceParent.get(ADDRESS));
                    childOp.get(ADDRESS).add(key, child.getName());
View Full Code Here

Examples of org.jboss.dmr.client.ModelNode.asProperty()

                typeDenominator = path;

            i++;
        }

        final String typeName = typeDenominator.asProperty().getName();

        Function<DMRContext> squatterFn = new Function<DMRContext>() {
            @Override
            public void execute(final Control<DMRContext> control) {
View Full Code Here

Examples of org.jboss.dmr.client.ModelNode.asProperty()

                @Override
                protected void onSuccess(final ModelNode result) {
                    List<ModelNode> roleMappings = result.get(RESULT).asList();
                    for (ModelNode node : roleMappings) {
                        Property property = node.asProperty();
                        String roleName = property.getName();

                        if (name != null) {
                            if (name.equals(roleName)) {
                                matchingRoles.add(roleName);
View Full Code Here

Examples of org.jboss.dmr.client.ModelNode.asProperty()

                @Override
                protected void onSuccess(final ModelNode result) {
                    List<ModelNode> roleMappings = result.get(RESULT).asList();
                    for (ModelNode node : roleMappings) {
                        Property property = node.asProperty();
                        String roleName = property.getName();

                        if (name != null) {
                            if (name.equals(roleName)) {
                                matchingRoles.add(roleName);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.