THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
package spell.services; /** * A simple service interface that defines a dictionary service. * A dictionary service simply verifies the existence of a word. **/ public interface DictionaryService { /** * Check for the existence of a word. * @param word the word to be checked. * @return true if the word is in the dictionary, * false otherwise. **/ public boolean checkWord(String word); } |
Then, create the file "src/spell/services/SpellChecker.java
" for the following Spell Checker service interface:
...
Code Block | ||||
---|---|---|---|---|
| ||||
-> ps START LEVEL 1 ID State Level Name [ 0] [Active ] [ 0] System Bundle (12.40.15) [ 1] [Active ] [ 1] Apache Felix ShellBundle ServiceRepository (1.04.23) [ 2] [Active ] [ 1] Apache Felix ShelliPOJO TUI (1.6.0.2) [ 3] [Active ] [ 1] Apache Felix iPOJO BundleArch RepositoryCommand (1.26.10) [ 4] [Active ] [ 1] Apache Felix iPOJOShell Service (1.4.02) [ 5] [Active ] [ 1] Apache Felix iPOJOShell Arch CommandTUI (1.4.01) -> |
iPOJO runtime is the bundle 4. Once started, install the four created bundles as above:
...