Package org.apache.geronimo.monitoring.console.data

Examples of org.apache.geronimo.monitoring.console.data.Node


    }
   
    private void deleteDefaultServerView(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception {
        try {
            userTransaction.begin();
            Node node = entityManager.find(Node.class, "Default Server");
            if (node != null) {
                List<Graph> graphs = entityManager.createNamedQuery("graphsByNode").setParameter("name", node.getName()).getResultList();
                if (!(graphs == null || graphs.isEmpty())) {
                    for (Graph graph : graphs) {
                        List<View> views = graph.getViews();
                        for (View view : views) {
                            entityManager.remove(view);
View Full Code Here

TOP

Related Classes of org.apache.geronimo.monitoring.console.data.Node

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.