workaroud for snor issue
[vfc/nfvo/wfengine.git] / wso2 / wso2bpel-ext / wso2bpel-core / BPEL4RESTLight / src / main / java / de / unistuttgart / iaas / bpel / extensions / bpel4restlight / Bpel4RestLightExtensionBundle.java
1 /**
2  * Copyright 2011 IAAS University of Stuttgart <br>
3  * <br>
4  * 
5  * @author uwe.breitenbuecher@iaas.uni-stuttgart.de
6  * 
7  */
8 /**
9  * Copyright 2017 ZTE Corporation.
10  *
11  * Licensed under the Apache License, Version 2.0 (the "License");
12  * you may not use this file except in compliance with the License.
13  * You may obtain a copy of the License at
14  *
15  *     http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  */
23 package de.unistuttgart.iaas.bpel.extensions.bpel4restlight;
24
25 import org.apache.ode.bpel.runtime.extension.AbstractExtensionBundle;
26
27
28 public class Bpel4RestLightExtensionBundle extends AbstractExtensionBundle {
29         
30         public static final String NAMESPACE = "http://iaas.uni-stuttgart.de/bpel/extensions/bpel4restlight";
31         
32         
33         /** {@inheritDoc} */
34         @Override
35         public String getNamespaceURI() {
36                 return NAMESPACE;
37         }
38         
39         /** {@inheritDoc} */
40         @Override
41         public void registerExtensionActivities() {
42                 super.registerExtensionOperation("logNodes", EPRDemoOperation.class);
43                 super.registerExtensionOperation("PUT", Bpel4RestLightOperation.class);
44                 super.registerExtensionOperation("GET", Bpel4RestLightOperation.class);
45                 super.registerExtensionOperation("POST", Bpel4RestLightOperation.class);
46                 super.registerExtensionOperation("DELETE", Bpel4RestLightOperation.class);
47         }
48 }