Package com.composum.sling.nodes.tools
Class OsgiBundlesModel
- java.lang.Object
-
- com.composum.sling.core.AbstractSlingBean
-
- com.composum.sling.nodes.tools.OsgiBundlesModel
-
- All Implemented Interfaces:
RestrictedBean
,SlingBean
public class OsgiBundlesModel extends AbstractSlingBean
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.composum.sling.core.AbstractSlingBean
AbstractSlingBean.NodeClosure
-
-
Field Summary
-
Fields inherited from class com.composum.sling.core.AbstractSlingBean
context, queryManager, request, resolver, resource, response, session, sling
-
-
Constructor Summary
Constructors Constructor Description OsgiBundlesModel()
OsgiBundlesModel(BeanContext context)
OsgiBundlesModel(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.osgi.framework.BundleContext
getBundleContext()
@NotNull Collection<OsgiBundleModel>
getBundles()
int
getCountActive()
int
getCountTotal()
-
Methods inherited from class com.composum.sling.core.AbstractSlingBean
executeQuery, findBeans, findNodes, findNodes, findPathList, getContentResource, getDomId, getHasTitle, getId, getInherited, getInherited, getName, getNode, getParent, getParent, getPath, getPermissible, getProperty, getProperty, getQueryManager, getRequest, getResolver, getResource, getResponse, getServiceKey, getSession, getSling, getStringId, getTitle, getType, getUrl, getUsername, initialize, initialize, isPermissible, isReadAllowed, isWriteAllowed, toString, toString
-
-
-
-
Constructor Detail
-
OsgiBundlesModel
public OsgiBundlesModel(BeanContext context, org.apache.sling.api.resource.Resource resource)
-
OsgiBundlesModel
public OsgiBundlesModel(BeanContext context)
-
OsgiBundlesModel
public OsgiBundlesModel()
-
-
Method Detail
-
getCountTotal
public int getCountTotal()
-
getCountActive
public int getCountActive()
-
getBundles
@NotNull public @NotNull Collection<OsgiBundleModel> getBundles()
-
getBundleContext
protected org.osgi.framework.BundleContext getBundleContext()
-
-