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:
com.composum.sling.core.bean.RestrictedBean
,com.composum.sling.core.SlingBean
public class OsgiBundlesModel extends com.composum.sling.core.AbstractSlingBean
-
-
Constructor Summary
Constructors Constructor Description OsgiBundlesModel()
OsgiBundlesModel(com.composum.sling.core.BeanContext context)
OsgiBundlesModel(com.composum.sling.core.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
-
-
-
-
Method Detail
-
getCountTotal
public int getCountTotal()
-
getCountActive
public int getCountActive()
-
getBundles
@NotNull public @NotNull Collection<OsgiBundleModel> getBundles()
-
getBundleContext
protected org.osgi.framework.BundleContext getBundleContext()
-
-