diff options
Diffstat (limited to '')
-rw-r--r-- | sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/BankService.java (renamed from sandbox/slaws/bank-challenge/bank-contribution/src/main/java/bank/BankService.java) | 0 | ||||
-rw-r--r-- | sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/ChallengeControl.java | 32 | ||||
-rw-r--r-- | sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/Statement.java (renamed from sandbox/slaws/bank-challenge/bank-contribution/src/main/java/bank/Statement.java) | 0 | ||||
-rw-r--r-- | sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/StockHolding.java (renamed from sandbox/slaws/bank-challenge/bank-contribution/src/main/java/bank/StockHolding.java) | 0 | ||||
-rw-r--r-- | sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/StockQuote.java (renamed from sandbox/slaws/bank-challenge/bank-contribution/src/main/java/bank/StockQuote.java) | 0 | ||||
-rw-r--r-- | sandbox/slaws/bank-challenge/common-contribution/src/main/resources/META-INF/sca-contribution.xml | 23 |
6 files changed, 55 insertions, 0 deletions
diff --git a/sandbox/slaws/bank-challenge/bank-contribution/src/main/java/bank/BankService.java b/sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/BankService.java index bc13dfd21d..bc13dfd21d 100644 --- a/sandbox/slaws/bank-challenge/bank-contribution/src/main/java/bank/BankService.java +++ b/sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/BankService.java diff --git a/sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/ChallengeControl.java b/sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/ChallengeControl.java new file mode 100644 index 0000000000..c03f9a2c9c --- /dev/null +++ b/sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/ChallengeControl.java @@ -0,0 +1,32 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package bank; + +import org.oasisopen.sca.annotation.Remotable; + +/** + * The Bank service interface. + */ +@Remotable +public interface ChallengeControl { + + void start(); + void increment(); + void stop(); +} diff --git a/sandbox/slaws/bank-challenge/bank-contribution/src/main/java/bank/Statement.java b/sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/Statement.java index 97439736e1..97439736e1 100644 --- a/sandbox/slaws/bank-challenge/bank-contribution/src/main/java/bank/Statement.java +++ b/sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/Statement.java diff --git a/sandbox/slaws/bank-challenge/bank-contribution/src/main/java/bank/StockHolding.java b/sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/StockHolding.java index 8bd0afd2be..8bd0afd2be 100644 --- a/sandbox/slaws/bank-challenge/bank-contribution/src/main/java/bank/StockHolding.java +++ b/sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/StockHolding.java diff --git a/sandbox/slaws/bank-challenge/bank-contribution/src/main/java/bank/StockQuote.java b/sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/StockQuote.java index 3bec8019b7..3bec8019b7 100644 --- a/sandbox/slaws/bank-challenge/bank-contribution/src/main/java/bank/StockQuote.java +++ b/sandbox/slaws/bank-challenge/common-contribution/src/main/java/bank/StockQuote.java diff --git a/sandbox/slaws/bank-challenge/common-contribution/src/main/resources/META-INF/sca-contribution.xml b/sandbox/slaws/bank-challenge/common-contribution/src/main/resources/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..d96d586130 --- /dev/null +++ b/sandbox/slaws/bank-challenge/common-contribution/src/main/resources/META-INF/sca-contribution.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. +--> +<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" + xmlns:sample="http://banking-challenge"> + <export.java package="bank"/> +</contribution>
\ No newline at end of file |