Created
June 20, 2013 22:58
-
-
Save rotty3000/5827519 to your computer and use it in GitHub Desktop.
osgi + SRC + Liferay webservice
This file contains hidden or 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.liferay.test.jsonwebservice; | |
| import aQute.bnd.annotation.component.Component; | |
| import com.liferay.portal.kernel.jsonwebservice.JSONWebService; | |
| /** | |
| * @author Raymond Augé | |
| */ | |
| @Component( | |
| immediate=true, | |
| provide=Object.class | |
| ) | |
| @JSONWebService | |
| public class TestJSONWebService { | |
| public String doSomethingInteresting() { | |
| return "Something interesting!"; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment