Last active
August 29, 2015 14:10
-
-
Save carlosvin/12de1120a7fb58d6caaf to your computer and use it in GitHub Desktop.
My first osgi project (working)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#install and start a bundle in my default maven repository | |
bundle:install -s mvn:com.vin.mytest/impl/1.0-SNAPSHOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="CompilerConfiguration"> | |
<option name="DEFAULT_COMPILER" value="Javac" /> | |
<resourceExtensions /> | |
<wildcardResourcePatterns> | |
<entry name="!?*.java" /> | |
<entry name="!?*.form" /> | |
<entry name="!?*.class" /> | |
<entry name="!?*.groovy" /> | |
<entry name="!?*.scala" /> | |
<entry name="!?*.flex" /> | |
<entry name="!?*.kt" /> | |
<entry name="!?*.clj" /> | |
</wildcardResourcePatterns> | |
<annotationProcessing> | |
<profile default="true" name="Default" enabled="false"> | |
<processorPath useClasspath="true" /> | |
</profile> | |
<profile default="false" name="Maven default annotation processors profile" enabled="true"> | |
<sourceOutputDir name="target/generated-sources/annotations" /> | |
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" /> | |
<outputRelativeToContentRoot value="true" /> | |
<processorPath useClasspath="true" /> | |
<module name="api" /> | |
<module name="impl" /> | |
<module name="tasklist-ui-vaadin" /> | |
<module name="vaadinbridge" /> | |
</profile> | |
</annotationProcessing> | |
<bytecodeTargetLevel> | |
<module name="tasklist-ui-vaadin" target="1.6" /> | |
<module name="vaadinbridge" target="1.6" /> | |
</bytecodeTargetLevel> | |
</component> | |
</project> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<component name="CopyrightManager"> | |
<settings default="" /> | |
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" /> | |
</project> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<component name="libraryTable"> | |
<library name="Maven: org.apache.felix:org.osgi.core:1.4.0"> | |
<CLASSES> | |
<root url="jar://$MAVEN_REPOSITORY$/org/apache/felix/org.osgi.core/1.4.0/org.osgi.core-1.4.0.jar!/" /> | |
</CLASSES> | |
<JAVADOC> | |
<root url="jar://$MAVEN_REPOSITORY$/org/apache/felix/org.osgi.core/1.4.0/org.osgi.core-1.4.0-javadoc.jar!/" /> | |
</JAVADOC> | |
<SOURCES> | |
<root url="jar://$MAVEN_REPOSITORY$/org/apache/felix/org.osgi.core/1.4.0/org.osgi.core-1.4.0-sources.jar!/" /> | |
</SOURCES> | |
</library> | |
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<component name="libraryTable"> | |
<library name="Maven: org.slf4j:slf4j-api:1.7.7"> | |
<CLASSES> | |
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar!/" /> | |
</CLASSES> | |
<JAVADOC> | |
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7-javadoc.jar!/" /> | |
</JAVADOC> | |
<SOURCES> | |
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7-sources.jar!/" /> | |
</SOURCES> | |
</library> | |
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<component name="libraryTable"> | |
<library name="Maven: org.slf4j:slf4j-jdk14:1.7.7"> | |
<CLASSES> | |
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-jdk14/1.7.7/slf4j-jdk14-1.7.7.jar!/" /> | |
</CLASSES> | |
<JAVADOC> | |
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-jdk14/1.7.7/slf4j-jdk14-1.7.7-javadoc.jar!/" /> | |
</JAVADOC> | |
<SOURCES> | |
<root url="jar://$MAVEN_REPOSITORY$/org/slf4j/slf4j-jdk14/1.7.7/slf4j-jdk14-1.7.7-sources.jar!/" /> | |
</SOURCES> | |
</library> | |
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="EntryPointsManager"> | |
<entry_points version="2.0" /> | |
</component> | |
<component name="MavenProjectsManager"> | |
<option name="originalFiles"> | |
<list> | |
<option value="$PROJECT_DIR$/pom.xml" /> | |
<option value="$PROJECT_DIR$/../../Karaf-Tutorial/vaadin/pom.xml" /> | |
</list> | |
</option> | |
</component> | |
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="1.7 (2)" project-jdk-type="JavaSDK"> | |
<output url="file://$PROJECT_DIR$/out" /> | |
</component> | |
</project> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="ProjectModuleManager"> | |
<modules> | |
<module fileurl="file://$PROJECT_DIR$/api/api.iml" filepath="$PROJECT_DIR$/api/api.iml" /> | |
<module fileurl="file://$PROJECT_DIR$/impl/impl.iml" filepath="$PROJECT_DIR$/impl/impl.iml" /> | |
<module fileurl="file://$PROJECT_DIR$/karaftest.iml" filepath="$PROJECT_DIR$/karaftest.iml" /> | |
</modules> | |
</component> | |
</project> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="ScalaProjectSettings"> | |
<option name="intInjectionMapping"> | |
<map> | |
<entry key="xml" value="XML" /> | |
</map> | |
</option> | |
</component> | |
</project> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<component name="DependencyValidationManager"> | |
<state> | |
<option name="SKIP_IMPORT_STATEMENTS" value="false" /> | |
</state> | |
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="Palette2"> | |
<group name="Swing"> | |
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" /> | |
</item> | |
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" /> | |
</item> | |
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" /> | |
</item> | |
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true"> | |
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" /> | |
</item> | |
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" /> | |
<initial-values> | |
<property name="text" value="Button" /> | |
</initial-values> | |
</item> | |
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> | |
<initial-values> | |
<property name="text" value="RadioButton" /> | |
</initial-values> | |
</item> | |
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" /> | |
<initial-values> | |
<property name="text" value="CheckBox" /> | |
</initial-values> | |
</item> | |
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" /> | |
<initial-values> | |
<property name="text" value="Label" /> | |
</initial-values> | |
</item> | |
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> | |
<preferred-size width="150" height="-1" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> | |
<preferred-size width="150" height="-1" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1"> | |
<preferred-size width="150" height="-1" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
<preferred-size width="150" height="50" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
<preferred-size width="150" height="50" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
<preferred-size width="150" height="50" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" /> | |
</item> | |
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
<preferred-size width="150" height="50" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3"> | |
<preferred-size width="150" height="50" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3"> | |
<preferred-size width="150" height="50" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> | |
<preferred-size width="200" height="200" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3"> | |
<preferred-size width="200" height="200" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true"> | |
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> | |
</item> | |
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" /> | |
</item> | |
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" /> | |
</item> | |
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" /> | |
</item> | |
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1"> | |
<preferred-size width="-1" height="20" /> | |
</default-constraints> | |
</item> | |
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false"> | |
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" /> | |
</item> | |
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false"> | |
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" /> | |
</item> | |
</group> | |
</component> | |
</project> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project version="4"> | |
<component name="VcsDirectoryMappings"> | |
<mapping directory="" vcs="" /> | |
</component> | |
</project> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> | |
<component name="FacetManager"> | |
<facet type="Osmorc" name="OSGi"> | |
<configuration osmorcControlsManifest="true" manifestLocation="" jarfileLocation="$MODULE_DIR$/target//usr/share/intellijidea-ce/bin/api.jar" outputPathType="CompilerOutputPath" useBndFile="false" bndFileLocation="" useBundlorFile="false" bundlorFileLocation="" bundleActivator="" bundleSymbolicName="com.vin.mytest.api" bundleVersion="1.0.0" ignoreFilePattern="" useProjectDefaultManifestFileLocation="true" alwaysRebuildBundleJAR="false"> | |
<additionalProperties> | |
<property key="Bundle-Name" value="api" /> | |
</additionalProperties> | |
<additionalJARContents /> | |
</configuration> | |
</facet> | |
</component> | |
<component name="NewModuleRootManager" inherit-compiler-output="false"> | |
<output url="file://$MODULE_DIR$/target/classes" /> | |
<output-test url="file://$MODULE_DIR$/target/test-classes" /> | |
<content url="file://$MODULE_DIR$"> | |
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> | |
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" /> | |
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" /> | |
<excludeFolder url="file://$MODULE_DIR$/target" /> | |
</content> | |
<orderEntry type="inheritedJdk" /> | |
<orderEntry type="sourceFolder" forTests="false" /> | |
</component> | |
</module> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<parent> | |
<artifactId>karaftest</artifactId> | |
<groupId>com.vin.mytest</groupId> | |
<version>1.0-SNAPSHOT</version> | |
</parent> | |
<modelVersion>4.0.0</modelVersion> | |
<artifactId>api</artifactId> | |
<packaging>bundle</packaging> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<version>2.5.0</version> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<extensions>true</extensions> | |
<configuration> | |
<instructions> | |
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> | |
<Bundle-Name>${project.artifactId}</Bundle-Name> | |
<Bundle-Version>1.0.0</Bundle-Version> | |
<!--<Export-Service>com.vin.mytest.api.TimeService</Export-Service>--> | |
</instructions> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vin.mytest.api; | |
public interface TimeService { | |
public Long getCurrentTime(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PK� | |
wEMETA-INF/MANIFEST.MF��m�1o�0��H�C�-���2� | |
��ku�Gz±��D��ׁ1t}��{�.CGl���%kR +���.�����˳h��x��E� | |
gҊoթ_H��L���%e4ڶ�b�F�)���}� | |
�j�+�Ku���ۤ���Ȉ��<@<+��� | |
�Cu-�\C�,� | |
���N�K2a��m�����F,�:]ѣ0x��35��PÁ49�aے����&�F��e[�`����@��O&��n�NY�ީ�={*���GR.d�PK6� | |
�PK� | |
wE META-INF/PKPK� | |
wEMETA-INF/maven/PKPK� | |
wEMETA-INF/maven/com.vin.mytest/PKPK� | |
wE"META-INF/maven/com.vin.mytest/api/PKPK� | |
wE0META-INF/maven/com.vin.mytest/api/pom.properties | |
�� | |
� �O��Ήnv��e���[�Sq*���~�=&���|@H+UQ����ҹx�0��ZOY<��B��8����m��qA*��?p�Nr����5�5��f�a��z��LT�vQ:�GEK~PK�m0~�PKG | |
wE)META-INF/maven/com.vin.mytest/api/pom.xml�S]o�0}ϯ`h���n���q�J�:�_Y�W�8�-��m���}�@ ���sϽ��s��E%�hˍZ-�38�#��N�ʖ����_�.�~��E���2~r�X $�+Hʞ8�&C���+��*���Bʢ�b������KH8���Пۛ�W�eU�ӭX��ь� ����)Fe���LB3\PÕ#�Θ'6��_)y��n���S3���#LK� | |
�׆��=���x�Ar��!��_aԡ�4���Ny���j���l,��X�����/��K����!m�u)��"/}���ms"ݼ���� | |
�E5�đ#��[=ځ��@� | |
�1@#gz3�d^9��8S���1�i�Yi½���US27]bO�lD&�r�s�������=�֖7�C�oMe�k�c���z쏵^�=�� �*�q �f+����m�����m����o/w������y�PK�B �!PK� | |
wEcom/PKPK� | |
wEcom/vin/PKPK� | |
wEcom/vin/mytest/PKPK� | |
wEcom/vin/mytest/api/PKPK� | |
wE$com/vin/mytest/api/TimeService.class;�o�>CNvvvF����Ң�Լ����TF! | |
M��IJD�ļt}��tkF���Ң�T��� | |
���Ԣ���T=�RF���\��<��ʒ���ĂL}$U@=#�R�K��@��������b`�LlPK���_��PK� | |
wE6� | |
�META-INF/MANIFEST.MF��PK� | |
wE LMETA-INF/PK� | |
wE�META-INF/maven/PK� | |
wE�META-INF/maven/com.vin.mytest/PK� | |
wE"META-INF/maven/com.vin.mytest/api/PK� | |
wE�m0~�0dMETA-INF/maven/com.vin.mytest/api/pom.propertiesPKG | |
wE�B �!)@META-INF/maven/com.vin.mytest/api/pom.xmlPK� | |
wEjcom/PK� | |
wE�com/vin/PK� | |
wE�com/vin/mytest/PK� | |
wEcom/vin/mytest/api/PK� | |
wE���_��$Xcom/vin/mytest/api/TimeService.classPKC7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IntelliJ API Decompiler stub source generated from a class file | |
// Implementation of methods is not available | |
package com.vin.mytest.api; | |
public interface TimeService { | |
java.lang.Long getCurrentTime(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Manifest-Version: 1.0 | |
Bnd-LastModified: 1416703534361 | |
Build-Jdk: 1.7.0_71 | |
Built-By: carlos | |
Bundle-ManifestVersion: 2 | |
Bundle-Name: api | |
Bundle-SymbolicName: com.vin.mytest.api | |
Bundle-Version: 1.0.0 | |
Created-By: Apache Maven Bundle Plugin | |
Export-Package: com.vin.mytest.api;version="1.0.0" | |
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.5))" | |
Tool: Bnd-2.3.0.201405100607 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
com/vin/mytest/api/TimeService.class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/carlos/workspaces/bigdata/karaftest/api/src/main/java/com/vin/mytest/api/TimeService.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> | |
<component name="FacetManager"> | |
<facet type="Osmorc" name="OSGi"> | |
<configuration osmorcControlsManifest="true" manifestLocation="" jarfileLocation="$MODULE_DIR$/target//usr/share/intellijidea-ce/bin/impl.jar" outputPathType="CompilerOutputPath" useBndFile="false" bndFileLocation="" useBundlorFile="false" bundlorFileLocation="" bundleActivator="com.vin.mytest.impl.Activator" bundleSymbolicName="com.vin.mytest.impl" bundleVersion="1.0.0" ignoreFilePattern="" useProjectDefaultManifestFileLocation="true" alwaysRebuildBundleJAR="false"> | |
<additionalProperties> | |
<property key="Bundle-Name" value="impl" /> | |
<property key="Private-Package" value="com.vin.mytest.impl" /> | |
<property key="Import-Package" value="org.osgi.framework,com.vin.mytest.api," /> | |
<property key="*;resolution" value="=optional" /> | |
<property key="Export-Service" value="com.vin.mytest.api.TimeService" /> | |
</additionalProperties> | |
<additionalJARContents /> | |
</configuration> | |
</facet> | |
</component> | |
<component name="NewModuleRootManager" inherit-compiler-output="false"> | |
<output url="file://$MODULE_DIR$/target/classes" /> | |
<output-test url="file://$MODULE_DIR$/target/test-classes" /> | |
<content url="file://$MODULE_DIR$"> | |
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> | |
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" /> | |
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" /> | |
<excludeFolder url="file://$MODULE_DIR$/target" /> | |
</content> | |
<orderEntry type="inheritedJdk" /> | |
<orderEntry type="sourceFolder" forTests="false" /> | |
<orderEntry type="module" module-name="api" /> | |
<orderEntry type="library" name="Maven: org.slf4j:slf4j-jdk14:1.7.7" level="project" /> | |
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.7" level="project" /> | |
<orderEntry type="library" name="Maven: org.apache.felix:org.osgi.core:1.4.0" level="project" /> | |
</component> | |
</module> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<parent> | |
<artifactId>karaftest</artifactId> | |
<groupId>com.vin.mytest</groupId> | |
<version>1.0-SNAPSHOT</version> | |
</parent> | |
<modelVersion>4.0.0</modelVersion> | |
<artifactId>impl</artifactId> | |
<packaging>bundle</packaging> | |
<dependencies> | |
<dependency> | |
<groupId>com.vin.mytest</groupId> | |
<artifactId>api</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
</dependency> | |
<dependency> | |
<groupId>org.slf4j</groupId> | |
<artifactId>slf4j-jdk14</artifactId> | |
<version>1.7.7</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>org.osgi.core</artifactId> | |
<version>1.4.0</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<version>2.5.0</version> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<extensions>true</extensions> | |
<configuration> | |
<instructions> | |
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> | |
<Bundle-Name>${project.artifactId}</Bundle-Name> | |
<Bundle-Version>1.0.0</Bundle-Version> | |
<Private-Package>com.vin.mytest.impl</Private-Package> | |
<Bundle-Activator>com.vin.mytest.impl.Activator</Bundle-Activator> | |
<Import-Package> | |
org.osgi.framework,com.vin.mytest.api, | |
*;resolution:=optional | |
</Import-Package> | |
<Export-Service>com.vin.mytest.api.TimeService</Export-Service> | |
</instructions> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vin.mytest.impl; | |
import com.vin.mytest.api.TimeService; | |
import org.osgi.framework.BundleActivator; | |
import org.osgi.framework.BundleContext; | |
import org.osgi.framework.ServiceRegistration; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
public class Activator implements BundleActivator { | |
private static final Logger logger = LoggerFactory.getLogger(Activator.class); | |
private ServiceRegistration sr; | |
public void start(BundleContext context) throws Exception { | |
logger.info("Starting"); | |
sr = context. | |
registerService(TimeService.class.getName(), | |
new TimerServiceImpl(), null); | |
} | |
public void stop(BundleContext context) throws Exception { | |
logger.info("Stopping"); | |
sr.unregister(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.vin.mytest.impl; | |
import com.vin.mytest.api.TimeService; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
/** | |
* Created by carlos on 22/11/14. | |
*/ | |
public class TimerServiceImpl implements TimeService { | |
private static final Logger logger = LoggerFactory.getLogger(TimerServiceImpl.class); | |
public void init(){ | |
logger.info("Init"); | |
} | |
@Override | |
public Long getCurrentTime() { | |
return System.currentTimeMillis(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> | |
<bean id="timerService" class="com.vin.mytest.impl.TimerServiceImpl" init-method="init"/> | |
<service ref="timerService" interface="com.vin.mytest.api.TimeService"/> | |
</blueprint> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IntelliJ API Decompiler stub source generated from a class file | |
// Implementation of methods is not available | |
package com.vin.mytest.impl; | |
public class Activator implements org.osgi.framework.BundleActivator { | |
private static final org.slf4j.Logger logger; | |
private org.osgi.framework.ServiceRegistration sr; | |
public Activator() { /* compiled code */ } | |
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception { /* compiled code */ } | |
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception { /* compiled code */ } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// IntelliJ API Decompiler stub source generated from a class file | |
// Implementation of methods is not available | |
package com.vin.mytest.impl; | |
public class TimerServiceImpl implements com.vin.mytest.api.TimeService { | |
private static final org.slf4j.Logger logger; | |
public TimerServiceImpl() { /* compiled code */ } | |
public void init() { /* compiled code */ } | |
public java.lang.Long getCurrentTime() { /* compiled code */ } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Manifest-Version: 1.0 | |
Bnd-LastModified: 1416703534664 | |
Build-Jdk: 1.7.0_71 | |
Built-By: carlos | |
Bundle-Activator: com.vin.mytest.impl.Activator | |
Bundle-Blueprint: OSGI-INF/blueprint/config.xml | |
Bundle-ManifestVersion: 2 | |
Bundle-Name: impl | |
Bundle-SymbolicName: com.vin.mytest.impl | |
Bundle-Version: 1.0.0 | |
Created-By: Apache Maven Bundle Plugin | |
Export-Service: com.vin.mytest.api.TimeService | |
Import-Package: org.osgi.framework;version="[1.5,2)",com.vin.mytest.api; | |
version="[1.0,2)",org.osgi.service.blueprint;version="[1.0.0,2.0.0)";re | |
solution:=optional,org.slf4j;resolution:=optional | |
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.5))" | |
Tool: Bnd-2.3.0.201405100607 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> | |
<bean id="timerService" class="com.vin.mytest.impl.TimerServiceImpl" init-method="init"/> | |
<service ref="timerService" interface="com.vin.mytest.api.TimeService"/> | |
</blueprint> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PK� | |
wEMETA-INF/MANIFEST.MF��mR�N�0�G�?X9�F"�i�VJ�E��(����&NxԱ�����I�Xu/�43��̓7T@�=3Հ)�1�ȣ{��̡�8�gs2�N��,1�x��{;0��u��V�eTq�XD�E����j�#+܁��A[Uͱ������V t��lo�����b��]dRP⯊��ͱ��1v��X������j'9d��HN��,�0W�Q���eM�7�6�c | |
z�����]�R�h�T٩�?AŎ�ﭫ^�H�=-�^�˦\(��S���,��O��ap~�t�{跎�:���;�?K���o,�Ʉ�[m�/em����^$�FqJ��_�тb���8hs�ޚ�Ea^S�2�����vt{�~r�ja�ޓ�<E����d�8!Ә����7PK�����PK� | |
wE META-INF/PKPK� | |
wEMETA-INF/maven/PKPK� | |
wEMETA-INF/maven/com.vin.mytest/PKPK� | |
wE#META-INF/maven/com.vin.mytest/impl/PKPK� | |
wE1META-INF/maven/com.vin.mytest/impl/pom.properties | |
ɻ | |
�0�=_q��!i�R� "�R����6�"M��{=�i��1��+�����j� �К/��_-F[����*�0ދs� ��&h�b�M���$��[>^�)��\�%8Z���ȸg�R6�Z�����PK1��PKJ | |
wE*META-INF/maven/com.vin.mytest/impl/pom.xml��]o�0���+"����I��SF�:i�*�#R�j��1� ��6 U��>c��$L7Q^�������]�I<�!)g3gFΐ0�ʢ��k����\�/|M�j7�3�Y�t | |
a����"�L�?�� �,���1!�\�*l�ہ�'p9����ΐ �2�ä.�T��;��2�g�s�2��k|@�w|���"A��=$ | |
V���A��H���Z[#��T+�'`KH^�y��βԾ���x��/~>.=�W- l�x H�T��i�A�&i|H�O�7(�o�_e,�I��^)�$%,�@�lPW�K-���ۈ(�ݵ�[%[�.�����ɺ���`3���W���lߐ�4�\�pQ�� ��'EK�@n(�=���h���4�tG��nV-c����/��N����ko;ߵ8ǫc�I�+K_�Lײ!�1g!�2af����MdXu��l�,��%Y�����k9�AY�7PK�1�<�}v��] �%z��n�jZ���[��;7#��& | |
�#�m:Ks�k�#����Պ��O}��\���S]�P����\�@� �8���WA$���i�3��(>���y�sc\����,iB�e���O��O\�=*�D[��T��F��PK��el�PK� | |
wE OSGI-INF/PKPK� | |
wEOSGI-INF/blueprint/PKPK� | |
wEOSGI-INF/blueprint/config.xmle��n�0Ew�=R���l2'�EfeH���}��ɋsn�M*��8ܚ��G�����i�P����,�P2������@R^[�w֮�jr���2���~G�|5��g�<:l���,!D_�r2�Io�j3��hN��= �p�$j�ۂ��^?bP��נU�\|�?�]�UX��xPK�G�.PK� | |
wEcom/PKPK� | |
wEcom/vin/PKPK� | |
wEcom/vin/mytest/PKPK� | |
wEcom/vin/mytest/impl/PKPK� | |
wE#com/vin/mytest/impl/Activator.class�TkS�@=[JS�@���WlA�(>�(Pf:�X�?9!,u1M:IZ�g���?��n->���ͽ{�={7�~� `+*��B7nđK � �*n▂) | |
��q[fL�q'���QpO�}<P�P�#���T*�e�-9nE����m�� | |
���/�W�kT��}����&�+��]��M�Ya��#�_g��Mΐ, ��֫�]36,����n�B��`�'<����T������=_՚�ϛ�h�#Yuz���c�2[�ۛ/:��w�����Ҏ�k�#O�c���N�!>kZawj٩�&_�vO��Զ�04�!��"z��,� | |
����aOۚ3jB_U�`N�S<c=M�醩+P0�aE | |
)�<�V�5,!�0�_1,kx�$w�2��rc��R�jլgH�ꚲ�n�D* | |
{�a�˕Ze�%��%[Ѣex4J��ː��O1�u����gS3��S�K?��/,}Q��'��-���ϗI�T��82��˶l���.C�q�����Bf]^�еO��\��H?����Q�Ә�?N������.��A��j� ��U��0@Y��-E#�D����&&S���(o�g�����=���e����nBȷA�p�w��l�y�����C��P�1���N�:�?��n�O�� �H�l�8ɐB�7�|Bd/�%P��h�8�PK�9?��PK� | |
wE*com/vin/mytest/impl/TimerServiceImpl.class�RMo�@}����1�H(- | |
��$j��V\"Uje�C���1��j�Dʿ�p�p��c��!p�����7of���o���o���*8�Up���0��L<�&�[����x�PV���Pw"�۱��l'���e�a�ٺ`0:�{����P�����nO�����2�σF�A�;��H�v0ND��2�T���� | |
=��8�3�Z�H:C�E��ID�l9w��� | |
}��\9�T���FC�#�]�%�K�na�B | |
�9&G�B��,<��=6^2l�Z���WxͰT(;� | |
�G | |
l�0��2#�t�{?"�ͩN����k:�*�q���a�+f�N*���^�����UCq�gh4O�1��Y=G��Dz�P���-q{Z[G�q|��{gh�8�� | |
}���i' | |
:��]�?�<#?���%,�-gA�d���� �p{~C��]�J���0J((L�T�R�ڄfwr�vNï1����)8���NTlf7T��2T>�t�(jd�2ֻ�PK | |
��PK� | |
wE�����META-INF/MANIFEST.MF��PK� | |
wE �META-INF/PK� | |
wEMETA-INF/maven/PK� | |
wEKMETA-INF/maven/com.vin.mytest/PK� | |
wE#�META-INF/maven/com.vin.mytest/impl/PK� | |
wE1��1�META-INF/maven/com.vin.mytest/impl/pom.propertiesPKJ | |
wE��el�*�META-INF/maven/com.vin.mytest/impl/pom.xmlPK� | |
wE �OSGI-INF/PK� | |
wE�OSGI-INF/blueprint/PK� | |
wE�G�.OSGI-INF/blueprint/config.xmlPK� | |
wEcom/PK� | |
wEJcom/vin/PK� | |
wE�com/vin/mytest/PK� | |
wE�com/vin/mytest/impl/PK� | |
wE�9?��# com/vin/mytest/impl/Activator.classPK� | |
wE | |
��* com/vin/mytest/impl/TimerServiceImpl.classPKaz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
com/vin/mytest/impl/TimerServiceImpl.class | |
com/vin/mytest/impl/Activator.class |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/carlos/workspaces/bigdata/karaftest/impl/src/main/java/com/vin/mytest/impl/TimerServiceImpl.java | |
/home/carlos/workspaces/bigdata/karaftest/impl/src/main/java/com/vin/mytest/impl/Activator.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> | |
<component name="NewModuleRootManager" inherit-compiler-output="false"> | |
<output url="file://$MODULE_DIR$/target/classes" /> | |
<output-test url="file://$MODULE_DIR$/target/test-classes" /> | |
<content url="file://$MODULE_DIR$"> | |
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> | |
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" /> | |
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" /> | |
<excludeFolder url="file://$MODULE_DIR$/target" /> | |
</content> | |
<orderEntry type="inheritedJdk" /> | |
<orderEntry type="sourceFolder" forTests="false" /> | |
</component> | |
</module> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.vin.mytest</groupId> | |
<artifactId>karaftest</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<modules> | |
<module>api</module> | |
<module>impl</module> | |
</modules> | |
<name>Karaf Test</name> | |
<packaging>pom</packaging> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment