Package org.jboss.as.console.client.shared.dispatch.impl

Examples of org.jboss.as.console.client.shared.dispatch.impl.SimpleDMRResponseHandler


    public void onDeleteProperty(final PropertyRecord property) {
        ModelNode operation = createOperation(REMOVE);
        operation.get(ADDRESS).add(FRAMEWORK_PROPERTY_RESOURCE, property.getKey());

        dispatcher.execute(new DMRAction(operation),
            new SimpleDMRResponseHandler(REMOVE, Console.CONSTANTS.subsys_osgi_frameworkProperty(), property.getKey(),
                new Command() {
                    @Override
                    public void execute() {
                        loadOSGiPropertyDetails();
                    }
View Full Code Here


        operation.get(ADDRESS).add(CAPABILITY_RESOURCE, entity.getIdentifier());
        if (entity.getStartLevel() != null && entity.getStartLevel().length() > 0)
            operation.get(STARTLEVEL_ATTRIBUTE).set(entity.getStartLevel());

        dispatcher.execute(new DMRAction(operation),
            new SimpleDMRResponseHandler(ADD, Console.CONSTANTS.subsys_osgi_capability(), entity.getIdentifier(),
                new Command() {
                    @Override
                    public void execute() {
                        loadOSGiCapabilityDetails();
                    }
View Full Code Here

    public void onDeleteCapability(final String identifier) {
        ModelNode operation = createOperation(REMOVE);
        operation.get(ADDRESS).add(CAPABILITY_RESOURCE, identifier);

        dispatcher.execute(new DMRAction(operation),
            new SimpleDMRResponseHandler(REMOVE, Console.CONSTANTS.subsys_osgi_capability(), identifier,
                new Command() {
                    @Override
                    public void execute() {
                        loadOSGiCapabilityDetails();
                    }
View Full Code Here

        for (PropertyRecord record : data.getProperties()) {
            modelData.get(record.getKey()).set(record.getValue());
        }

        dispatcher.execute(new DMRAction(operation),
            new SimpleDMRResponseHandler(ADD, Console.CONSTANTS.subsys_osgi_configAdminPID(), data.getPid(),
                new Command() {
                    @Override
                    public void execute() {
                        loadOSGiConfigAdminDetails(data.getPid());
                    }
View Full Code Here

    public void onDeleteConfigurationAdminData(final String pid) {
        ModelNode operation = createOperation(REMOVE);
        operation.get(ADDRESS).add("configuration", pid);

        dispatcher.execute(new DMRAction(operation),
            new SimpleDMRResponseHandler(REMOVE, Console.CONSTANTS.subsys_osgi_configAdminPID(), pid,
                new Command() {
                    @Override
                    public void execute() {
                        loadOSGiConfigAdminDetails(null);
                    }
View Full Code Here

TOP

Related Classes of org.jboss.as.console.client.shared.dispatch.impl.SimpleDMRResponseHandler

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.