Examples of addAdditionalProperty()


Examples of org.rhq.modules.plugins.jbossas7.json.Operation.addAdditionalProperty()

            if (mode == D2DMode.OPERATION) {
                op.addAdditionalProperty("operations", true);
            }
            //additionally request metric metadata
            if (mode == D2DMode.METRICS) {
                op.addAdditionalProperty("include-runtime", true);
            }
            //additionally request both metric and operations metadata
            if (mode == D2DMode.RECURSIVE) {
                op.addAdditionalProperty("operations", true);
                op.addAdditionalProperty("include-runtime", true);
View Full Code Here

Examples of org.rhq.modules.plugins.jbossas7.json.Operation.addAdditionalProperty()

            if (mode == D2DMode.METRICS) {
                op.addAdditionalProperty("include-runtime", true);
            }
            //additionally request both metric and operations metadata
            if (mode == D2DMode.RECURSIVE) {
                op.addAdditionalProperty("operations", true);
                op.addAdditionalProperty("include-runtime", true);
            }
   
            ComplexResult res = conn.executeComplex(op);
            if (res == null) {
View Full Code Here

Examples of org.rhq.modules.plugins.jbossas7.json.Operation.addAdditionalProperty()

                op.addAdditionalProperty("include-runtime", true);
            }
            //additionally request both metric and operations metadata
            if (mode == D2DMode.RECURSIVE) {
                op.addAdditionalProperty("operations", true);
                op.addAdditionalProperty("include-runtime", true);
            }
   
            ComplexResult res = conn.executeComplex(op);
            if (res == null) {
                System.err.println("Got no result");
View Full Code Here

Examples of org.rhq.modules.plugins.jbossas7.json.Operation.addAdditionalProperty()

                    //append new type information
                    currentAttributeState.add(loaded);
                    //write values back out.
                    Operation write = new WriteAttribute(address);
                    write.addAdditionalProperty("name", attribute);//attribute to execute on

                    //now complete the write operation by updating the value
                    write.addAdditionalProperty("value", (Object) currentAttributeState);
                    result = connection.execute(write);
                    if (result.isSuccess()) {
View Full Code Here

Examples of org.rhq.modules.plugins.jbossas7.json.Operation.addAdditionalProperty()

                    //write values back out.
                    Operation write = new WriteAttribute(address);
                    write.addAdditionalProperty("name", attribute);//attribute to execute on

                    //now complete the write operation by updating the value
                    write.addAdditionalProperty("value", (Object) currentAttributeState);
                    result = connection.execute(write);
                    if (result.isSuccess()) {
                        report.setStatus(CreateResourceStatus.SUCCESS);
                        //Ex. subsystem=security,security-domain=createOne,authentication=classic,login-modules:0
                        report.setResourceKey(path + "," + attribute + ":" + (currentAttributeState.size() - 1));
View Full Code Here

Examples of org.rhq.modules.plugins.jbossas7.json.Operation.addAdditionalProperty()

                        } else if (pKey.equals("type")) {
                            loaded.setType(conf.getSimpleProperties().get(pKey).getStringValue());
                        }
                    }
                    Operation write = new WriteAttribute(address);
                    write.addAdditionalProperty("name", attribute);//attribute to execute on

                    //now complete the write operation by updating the value
                    write.addAdditionalProperty("value", (Object) currentAttributeState);
                    executeWriteAndGenerateAs7ServerUpdate(report, conf, write);
                } else {//Need to locate specific module type
View Full Code Here

Examples of org.rhq.modules.plugins.jbossas7.json.Operation.addAdditionalProperty()

                    }
                    Operation write = new WriteAttribute(address);
                    write.addAdditionalProperty("name", attribute);//attribute to execute on

                    //now complete the write operation by updating the value
                    write.addAdditionalProperty("value", (Object) currentAttributeState);
                    executeWriteAndGenerateAs7ServerUpdate(report, conf, write);
                } else {//Need to locate specific module type

                //locate specific node and populate the config
                    String loginModuleIdentifier = attribute + ":";
View Full Code Here

Examples of org.rhq.modules.plugins.jbossas7.json.Operation.addAdditionalProperty()

                        } else if (pKey.equals("type")) {
                            valueObject.setType(conf.getSimpleProperties().get(pKey).getStringValue());
                    }
                }
                Operation write = new WriteAttribute(address);
                write.addAdditionalProperty("name", attribute);//attribute to execute on

                //now complete the write operation by updating the value
                write.addAdditionalProperty("value", (Object) currentAttributeState);
                executeWriteAndGenerateAs7ServerUpdate(report, conf, write);
                }
View Full Code Here

Examples of org.rhq.modules.plugins.jbossas7.json.Operation.addAdditionalProperty()

                }
                Operation write = new WriteAttribute(address);
                write.addAdditionalProperty("name", attribute);//attribute to execute on

                //now complete the write operation by updating the value
                write.addAdditionalProperty("value", (Object) currentAttributeState);
                executeWriteAndGenerateAs7ServerUpdate(report, conf, write);
                }
            }
        } else if (supportsLoginModuleOptionType(grandParentType)) {//Module Options child.
            //get type and lookup supported node and type
View Full Code Here

Examples of org.rhq.modules.plugins.jbossas7.json.Operation.addAdditionalProperty()

                //make these settings the new state for this part of the attribute.
                valueObject.setOptions(currentOptions);
                currentAttributeState.set(lmi, valueObject);

                Operation write = new WriteAttribute(address);
                write.addAdditionalProperty("name", attribute);//attribute to execute on

                //now complete the write operation by updating the value
                write.addAdditionalProperty("value", (Object) currentAttributeState);
                executeWriteAndGenerateAs7ServerUpdate(report, conf, write);
            }
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.