PK q%< META-INF/PKq%<META-INF/MANIFEST.MFUM 0}+/ <$xO9r[ 3-/h?ao ͨAI߃#$?E6)BJA7kڈUYbB=Æ'^pfN:TZxsJ*yjÇ{<8֗M'Ej:%<PKjcPK q%<WEB-INF/PK q%<WEB-INF/classes/PK q%<WEB-INF/classes/test/PK q%<mr r +WEB-INF/classes/test/BundleController.class1 #I JKL IM N O PQ "RS TUV8W X Y Z[ \] ^_ ^`a ^bc ^d "ef gh gij kl kmnctxLjavax/servlet/ServletContext;RuntimeVisibleAnnotationsLjavax/ws/rs/core/Context;resp(Ljavax/servlet/http/HttpServletResponse;()VCodeLineNumberTableLocalVariableTablethisLtest/BundleController;bundleController'(Ljava/lang/String;Ljava/lang/String;)VbundleLorg/osgi/framework/Bundle;exLjava/io/IOException;Ljava/lang/Exception;bundleIdLjava/lang/String; requestType uninstallIdJ bundleContext"Lorg/osgi/framework/BundleContext;Ljavax/ws/rs/POST;"RuntimeVisibleParameterAnnotationsLjavax/ws/rs/FormParam;valueidbsubmit SourceFileBundleController.javaLjavax/ws/rs/Path;/bundlecontroller *+o pqjava/lang/StringBuilder Controller : rs tuv wx $%osgi-bundlecontexty z{ org/osgi/framework/BundleContextjava/lang/Long |} ~ Stop  +Start + Uninstall + () bundleviewer xjava/io/IOException +java/lang/Exceptiontest/BundleControllerjava/lang/Objectjava/lang/SystemoutLjava/io/PrintStream;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;toString()Ljava/lang/String;java/io/PrintStreamprintln(Ljava/lang/String;)Vjavax/servlet/ServletContext getAttribute&(Ljava/lang/String;)Ljava/lang/Object; longValue()J parseLong(Ljava/lang/String;)J getBundle(J)Lorg/osgi/framework/Bundle;java/lang/StringequalsIgnoreCase(Ljava/lang/String;)Zorg/osgi/framework/BundlegetState()Istopstart uninstall&javax/servlet/http/HttpServletResponseencodeRedirectURL&(Ljava/lang/String;)Ljava/lang/String; sendRedirectprintStackTrace!"#$%&'()&'*+,/*-. /012,l ,Y, B*   :+*  B+B! s!:d,W B,)WW , **X:N:!**0:&:** :I I ! -""#$+&/'D)I,O-Y.^/v01345=@>?A9:=@>?A< =@!>#?(@+B.f Yf34565756#56,/0,89,:9;<+=>&?@ABsCABsDEF& GBsHPK q%<7*WEB-INF/classes/test/BundleInstaller.class1h 9: ; <= >?@ AB 9C D EF G H EIJK LM >NOPQ RSTctxLjavax/servlet/ServletContext;RuntimeVisibleAnnotationsLjavax/ws/rs/core/Context; returnMessageLjava/lang/String;()VCodeLineNumberTableLocalVariableTablethisLtest/BundleInstaller; installBundle&(Ljava/lang/String;)Ljava/lang/String;bundleLorg/osgi/framework/Bundle;exLjava/lang/Exception; installUrl bundleContext"Lorg/osgi/framework/BundleContext;Ljavax/ws/rs/POST;"RuntimeVisibleParameterAnnotationsLjavax/ws/rs/FormParam;value SourceFileBundleInstaller.javaLjavax/ws/rs/Path;/bundleinstaller !"FAIL  osgi-bundlecontextU VW org/osgi/framework/BundleContext (Xjava/lang/StringBuilderBundle deployed with ID : YZ[ \] Y^ _` a" Started : PASSbundleIdb cd ef7Please specify Installation Type and Bundle Path : FAILjava/lang/Exception&Exception installing the bundle : FAIL g"test/BundleInstallerjava/lang/Objectjavax/servlet/ServletContext getAttribute&(Ljava/lang/String;)Ljava/lang/Object;/(Ljava/lang/String;)Lorg/osgi/framework/Bundle;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;org/osgi/framework/Bundle getBundleId()J(J)Ljava/lang/StringBuilder;toString()Ljava/lang/String;startjava/lang/LongvalueOf(J)Ljava/lang/Long; setAttribute'(Ljava/lang/String;Ljava/lang/Object;)VprintStackTrace! !"#9 **$ %  &'()#*M+^,+N* Y  - -* Y *  *-  *N*-*tw$: $%7&='W)k*n+t0w-x.~/1%4P*+x ,-&'. x/012 34s.56 74s8PK q%<,&cc,WEB-INF/classes/test/BundleUninstaller.class1s >? @ AB CDE1F G H I JKL >M N JO P JQR ST CUVWX YZ[ctxLjavax/servlet/ServletContext;RuntimeVisibleAnnotationsLjavax/ws/rs/core/Context; returnMessageLjava/lang/String;()VCodeLineNumberTableLocalVariableTablethisLtest/BundleUninstaller;uninstallBundle&(Ljava/lang/String;)Ljava/lang/String;bundleLorg/osgi/framework/Bundle;exLjava/lang/Exception;bundleId uninstallIdJ bundleContext"Lorg/osgi/framework/BundleContext;Ljavax/ws/rs/POST;"RuntimeVisibleParameterAnnotationsLjavax/ws/rs/FormParam;value SourceFileBundleUninstaller.javaLjavax/ws/rs/Path;/bundleuninstaller $%FAIL "# osgi-bundlecontext\ ]^ org/osgi/framework/BundleContextjava/lang/Long _` ab cde f%java/lang/StringBuilderStopped Bundle : gh ij kj l% Uninstalled Bundle : PASSm no pq4Please specify the bundleId to be uninstalled : FAILjava/lang/Exception*Exception while uninstalling bundle : FAIL r%test/BundleUninstallerjava/lang/Objectjavax/servlet/ServletContext getAttribute&(Ljava/lang/String;)Ljava/lang/Object; longValue()J parseLong(Ljava/lang/String;)J getBundle(J)Lorg/osgi/framework/Bundle;org/osgi/framework/Bundlestopappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;getSymbolicName()Ljava/lang/String;toString uninstalljava/lang/IntegervalueOf(I)Ljava/lang/Integer; setAttribute'(Ljava/lang/String;Ljava/lang/Object;)VprintStackTrace! !"#$%&9 **' (  )*+,&^ A*:+* A+ A d : *Y*Y** *:**0'N !#$+&0)6*@+G,d-k.01274568(>@T-. /0)*1#2345 67 89s1:; <9s=PK q%< и 'WEB-INF/classes/test/BundleViewer.class1 1YZ[\ 0]^ _`a b 0cd ef egh ijklmn Yo pq rs tu vwxy tz 0{ t|}~ # i *ctxLjavax/servlet/ServletContext;RuntimeVisibleAnnotationsLjavax/ws/rs/core/Context;resp(Ljavax/servlet/http/HttpServletResponse;()VCodeLineNumberTableLocalVariableTablethisLtest/BundleViewer; getBundlesiIexLjava/lang/Exception; bundleContext"Lorg/osgi/framework/BundleContext;bundles[Lorg/osgi/framework/Bundle;Ljava/io/IOException;outLjava/io/PrintWriter;bgcolors[Ljava/lang/String; ExceptionsLjavax/ws/rs/GET;getState(I)Ljava/lang/String;state stateAsStringLjava/lang/String; SourceFileBundleViewer.javaLjavax/ws/rs/Path;value /bundleviewer 89java/lang/String#B5EAAA#C3FDB8 23osgi-bundlecontext  org/osgi/framework/BundleContext ? 67text/html;charset=UTF-8 .
 java/lang/StringBuilder ) O OP java/lang/Exception 9216
BUNDLEIDSTATEBUNDLE SYMBOLIC NAME

9java/io/IOExceptionActive InstalledResolvedtest/BundleViewerjava/lang/Objectjavax/servlet/ServletContext getAttribute&(Ljava/lang/String;)Ljava/lang/Object;()[Lorg/osgi/framework/Bundle;&javax/servlet/http/HttpServletResponsesetContentType(Ljava/lang/String;)V getWriter()Ljava/io/PrintWriter;java/io/PrintWriterprintlnappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;toString()Ljava/lang/String;org/osgi/framework/Bundle getBundleId()J(J)Ljava/lang/StringBuilder;()IgetSymbolicNameprintStackTraceclose!012345674589:/*;< =>?9:|dLYSYSM*N- :*  * L++++6+Y,p2+Y2+Y2+Y*2 +Y2!+"6 :$+%+&+'+(+)N-++) :+)U%(#GN*GZNSZZ\Z;!! "(#3$=%C&I'O(U.`/01234.%8(6*7/95:;;A<G@KAN=O>S@WAZ@cB<RX@A*BC 'DE(FGOBHd=>bIJSKLM*4NOP:9,M3*0 $-M .M/M,;EF(G.H4I7K< 9=>9QA6RSTU4 VWsXPK q% /REST_WAB Keep a copy of the generated servlet class' java code. PK q%<^l/LLWEB-INF/web.xml ServletAdaptor com.sun.jersey.spi.container.servlet.ServletContainer 1 ServletAdaptor /web/* 30 index.jsp PK q% <%@page contentType="text/html" pageEncoding="UTF-8"%> Index Page
OSGI Framework Controller
Install Bundle

Uninstall Bundle

View Bundles
PK q%< install.jsp<%-- Document : install Created on : 6 Nov, 2009, 2:20:52 PM Author : mohit --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> Bundle Installer
Install URL :   

PK q%<+1 uninstall.jsp<%-- Document : uninstall Created on : 9 Nov, 2009, 12:26:19 PM Author : mohit --%> <%@page contentType="text/html" pageEncoding="UTF-8"%> Bundle Uninstaller
BundleId :   

PK q%< META-INF/PKq%