|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.buglabs.osgi.sewing.SewingServiceImpl
public class SewingServiceImpl
| Constructor Summary | |
|---|---|
SewingServiceImpl(HttpService httpService)
|
|
| Method Summary | |
|---|---|
void |
register(BundleContext context,
java.lang.String alias,
SewingHttpServlet sewingServlet)
Registers your SewingHttpServlet and initializes the framework for your application This will register the servlet at the alias you pass in as well as the resources for images (/alias.images), stylesheets, and javascripts |
void |
unregister(SewingHttpServlet sewingServlet)
Pass the instance of the servlet you sent in to the register request to unregister the servlet and it's resources |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SewingServiceImpl(HttpService httpService)
| Method Detail |
|---|
public void register(BundleContext context,
java.lang.String alias,
SewingHttpServlet sewingServlet)
ISewingService
register in interface ISewingServicecontext - the bundle context for the your web applicationalias - the name in the url for your application, must begin with a /,
i.e. "/MyWebApplication"sewingServlet - your implementation of SewingHttpServletpublic void unregister(SewingHttpServlet sewingServlet)
ISewingService
unregister in interface ISewingService
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||