View Javadoc

1   /*
2    * Copyright 2013 smartics, Kronseder & Reiner GmbH
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package de.smartics.properties.jboss.extension.resources;
17  
18  import org.jboss.as.controller.AbstractRemoveStepHandler;
19  import org.jboss.as.controller.OperationContext;
20  import org.jboss.as.controller.OperationFailedException;
21  import org.jboss.dmr.ModelNode;
22  
23  /**
24   * Removes the subsystem resource from the model.
25   */
26  final class SubsystemRemove extends AbstractRemoveStepHandler
27  {
28  
29    // ********************************* Fields *********************************
30  
31    // --- constants ------------------------------------------------------------
32  
33    /**
34     * The operation singleton.
35     */
36    static final SubsystemRemove INSTANCE = new SubsystemRemove();
37  
38    // --- members --------------------------------------------------------------
39  
40    // ****************************** Initializer *******************************
41  
42    // ****************************** Constructors ******************************
43  
44    private SubsystemRemove()
45    {
46    }
47  
48    // ****************************** Inner Classes *****************************
49  
50    // ********************************* Methods ********************************
51  
52    // --- init -----------------------------------------------------------------
53  
54    // --- get&set --------------------------------------------------------------
55  
56    // --- business -------------------------------------------------------------
57  
58    @Override
59    protected void performRuntime(final OperationContext context,
60        final ModelNode operation, final ModelNode model)
61      throws OperationFailedException
62    {
63    }
64  
65    // --- object basics --------------------------------------------------------
66  
67  }