Examples of ModelNumber


Examples of org.gatein.management.api.model.ModelNumber

    }

    @Managed
    @ManagedOperation(name = OperationNames.UPDATE_RESOURCE, description = "Updates the navigation")
    public ModelObject updateNavigation(@ManagedContext OperationContext context, @ManagedContext ModelObject navModel) {
        ModelNumber priority = get(navModel, ModelNumber.class, "priority");
        if (priority.isDefined()) {
            navigation.setPriority(priority.getInt());
        }

        Node node = getNode(NodePath.root(), true, Nodes.visitChildren());
        return populateNavigationModel(node, 0, context);
    }
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.