public class ActivatorBean extends Object
This is a blueprint driven activator. The startup is called if all requested services are ready to use.
The services are implemented as dummy, they are not used here. The point of interest is the availability only.
| Constructor and Description |
|---|
ActivatorBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp()
The cleanup of the service
|
org.osgi.framework.BundleContext |
getBundleContext() |
InstPropertyService |
getPropertyService() |
Session0Service |
getSession0Service() |
SessionService |
getSessionService() |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
void |
setInstPropertyService(InstPropertyService instPropertyService) |
void |
setSession0Service(Session0Service session0Service) |
void |
setSessionService(SessionService sessionService) |
void |
startUp()
The startup of the service
|
public void startUp()
throws IOException
IOExceptionpublic void cleanUp()
throws IOException
IOExceptionpublic org.osgi.framework.BundleContext getBundleContext()
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
bundleContext - the bundleContext to setpublic Session0Service getSession0Service()
public void setSession0Service(Session0Service session0Service)
session0Service - the session0Service to setpublic SessionService getSessionService()
public void setSessionService(SessionService sessionService)
sessionService - the sessionService to setpublic InstPropertyService getPropertyService()
public void setInstPropertyService(InstPropertyService instPropertyService)
instPropertyService - the instPropertyService to setCopyright © 2015. All rights reserved.