Skip navigation links
A B C D G M N O R S U 

A

addingService(ServiceReference<F>) - Method in class org.jgrapes.osgi.core.ComponentCollector
Whenever a new factory is added, it is used to create component instances with this component’s channel.
Application - Class in org.jgrapes.osgi.demo.portal
 
Application() - Constructor for class org.jgrapes.osgi.demo.portal.Application
 
Application - Class in org.jgrapes.osgi.demo.upnp
 
Application() - Constructor for class org.jgrapes.osgi.demo.upnp.Application
 

B

BasicServer - Class in org.jgrapes.osgi.demo.httpserver
A basic server.
BasicServer() - Constructor for class org.jgrapes.osgi.demo.httpserver.BasicServer
 
bundleChanged(BundleEvent) - Method in class org.jgrapes.osgi.portlets.bundles.BundleListPortlet
Translates the OSGi BundleEvent to a JGrapes event and fires it on all known portal session channels.
BundleChanged(BundleEvent) - Constructor for class org.jgrapes.osgi.portlets.bundles.BundleListPortlet.BundleChanged
Instantiates a new event.
bundleEvent() - Method in class org.jgrapes.osgi.portlets.bundles.BundleListPortlet.BundleChanged
Return the OSGi bundle event.
BundleListModel(String) - Constructor for class org.jgrapes.osgi.portlets.bundles.BundleListPortlet.BundleListModel
Instantiates a new bundle list model.
BundleListPortlet - Class in org.jgrapes.osgi.portlets.bundles
 
BundleListPortlet(Channel, BundleContext, Map<Object, Object>) - Constructor for class org.jgrapes.osgi.portlets.bundles.BundleListPortlet
Creates a new component with its channel set to the given channel.
BundleListPortlet.BundleChanged - Class in org.jgrapes.osgi.portlets.bundles
Wraps an OSGi BundleEvent.
BundleListPortlet.BundleListModel - Class in org.jgrapes.osgi.portlets.bundles
The bundle’s model.
BundleListPortletFactory - Class in org.jgrapes.osgi.portlets.bundles
The factory service for BundleListPortlets.
BundleListPortletFactory() - Constructor for class org.jgrapes.osgi.portlets.bundles.BundleListPortletFactory
 
bundles() - Method in class org.jgrapes.osgi.portlets.bundles.BundleListPortlet.BundleListModel
Return the bundles.

C

ComponentCollector<F extends org.jgrapes.core.ComponentFactory> - Class in org.jgrapes.osgi.core
An advanced version of the basic ComponentCollector that is based on the OSGi registry and not on the ServiceLoader.
ComponentCollector(Channel, BundleContext, Class<F>, Function<String, List<Map<Object, Object>>>) - Constructor for class org.jgrapes.osgi.core.ComponentCollector
Creates a collector component that uses the ServiceTracker to monitor the addition and removal of component factories.
ComponentCollector(Channel, BundleContext, Class<F>) - Constructor for class org.jgrapes.osgi.core.ComponentCollector
Utility constructor that uses each factory to create a single instance, using an empty map as properties.
componentType() - Method in class org.jgrapes.osgi.portlets.bundles.BundleListPortletFactory
 
componentType() - Method in class org.jgrapes.osgi.portlets.services.ServiceListPortletFactory
 
componentType() - Method in class org.jgrapes.osgi.portlets.upnpbrowser.UPnPBrowserPortletFactory
 
context() - Static method in class org.jgrapes.osgi.demo.httpserver.BasicServer
Returns the context passed to the application.
context() - Static method in class org.jgrapes.osgi.demo.portal.Application
Returns the context passed to the application.
context() - Static method in class org.jgrapes.osgi.demo.upnp.Application
Returns the context passed to the application.
create(Channel, Map<Object, Object>) - Method in class org.jgrapes.osgi.portlets.bundles.BundleListPortletFactory
 
create(Channel, Map<Object, Object>) - Method in class org.jgrapes.osgi.portlets.services.ServiceListPortletFactory
 
create(Channel, Map<Object, Object>) - Method in class org.jgrapes.osgi.portlets.upnpbrowser.UPnPBrowserPortletFactory
 

D

DemoPortalWeblet - Class in org.jgrapes.osgi.demo.portal
 
DemoPortalWeblet(Channel, Channel, URI) - Constructor for class org.jgrapes.osgi.demo.portal.DemoPortalWeblet
Instantiates a new demo portal weblet.
doAddPortlet(AddPortletRequest, PortalSession) - Method in class org.jgrapes.osgi.portlets.bundles.BundleListPortlet
 
doAddPortlet(AddPortletRequest, PortalSession) - Method in class org.jgrapes.osgi.portlets.services.ServiceListPortlet
 
doAddPortlet(AddPortletRequest, PortalSession) - Method in class org.jgrapes.osgi.portlets.upnpbrowser.UPnPBrowserPortlet
 
doDeletePortlet(DeletePortletRequest, PortalSession, String, Serializable) - Method in class org.jgrapes.osgi.portlets.bundles.BundleListPortlet
 
doDeletePortlet(DeletePortletRequest, PortalSession, String, Serializable) - Method in class org.jgrapes.osgi.portlets.services.ServiceListPortlet
 
doDeletePortlet(DeletePortletRequest, PortalSession, String, Serializable) - Method in class org.jgrapes.osgi.portlets.upnpbrowser.UPnPBrowserPortlet
 
doGetResource(PortletResourceRequest, IOSubchannel) - Method in class org.jgrapes.osgi.portlets.upnpbrowser.UPnPBrowserPortlet
 
doNotifyPortletModel(NotifyPortletModel, PortalSession, Serializable) - Method in class org.jgrapes.osgi.portlets.bundles.BundleListPortlet
 
doRenderPortlet(RenderPortletRequest, PortalSession, String, Serializable) - Method in class org.jgrapes.osgi.portlets.bundles.BundleListPortlet
 
doRenderPortlet(RenderPortletRequest, PortalSession, String, Serializable) - Method in class org.jgrapes.osgi.portlets.services.ServiceListPortlet
 
doRenderPortlet(RenderPortletRequest, PortalSession, String, Serializable) - Method in class org.jgrapes.osgi.portlets.upnpbrowser.UPnPBrowserPortlet
 

G

generatePortletId() - Method in class org.jgrapes.osgi.portlets.bundles.BundleListPortlet
 
generatePortletId() - Method in class org.jgrapes.osgi.portlets.services.ServiceListPortlet
 
generatePortletId() - Method in class org.jgrapes.osgi.portlets.upnpbrowser.UPnPBrowserPortlet
 

M

main(String[]) - Static method in class org.jgrapes.osgi.demo.upnp.Application
The main method.
modifiedService(ServiceReference<F>, F) - Method in class org.jgrapes.osgi.core.ComponentCollector
 

N

NewPortalSessionPolicy - Class in org.jgrapes.osgi.demo.portal
 
NewPortalSessionPolicy() - Constructor for class org.jgrapes.osgi.demo.portal.NewPortalSessionPolicy
Creates a new component with its channel set to itself.
NewPortalSessionPolicy(Channel) - Constructor for class org.jgrapes.osgi.demo.portal.NewPortalSessionPolicy
Creates a new component with its channel set to the given channel.
NewPortalSessionPolicy - Class in org.jgrapes.osgi.demo.upnp
 
NewPortalSessionPolicy() - Constructor for class org.jgrapes.osgi.demo.upnp.NewPortalSessionPolicy
Creates a new component with its channel set to itself.
NewPortalSessionPolicy(Channel) - Constructor for class org.jgrapes.osgi.demo.upnp.NewPortalSessionPolicy
Creates a new component with its channel set to the given channel.

O

onBundleChanged(BundleListPortlet.BundleChanged, PortalSession) - Method in class org.jgrapes.osgi.portlets.bundles.BundleListPortlet
Handles a BundleListPortlet.BundleChanged event by updating the information in the portal sessions.
onPortalConfigured(PortalConfigured, IOSubchannel) - Method in class org.jgrapes.osgi.demo.portal.NewPortalSessionPolicy
On portal configured.
onPortalConfigured(PortalConfigured, IOSubchannel) - Method in class org.jgrapes.osgi.demo.upnp.NewPortalSessionPolicy
Check layout.
onPortalReady(PortalReady, PortalSession) - Method in class org.jgrapes.osgi.portlets.bundles.BundleListPortlet
On PortalReady, fire the AddPortletType.
onPortalReady(PortalReady, PortalSession) - Method in class org.jgrapes.osgi.portlets.services.ServiceListPortlet
On PortalReady, fire the AddPortletType.
onPortalReady(PortalReady, PortalSession) - Method in class org.jgrapes.osgi.portlets.upnpbrowser.UPnPBrowserPortlet
On PortalReady, fire the AddPortletType.
onRenderPortlet(RenderPortlet, IOSubchannel) - Method in class org.jgrapes.osgi.demo.portal.NewPortalSessionPolicy
Handles a portlet render request.
onRenderPortlet(RenderPortlet, IOSubchannel) - Method in class org.jgrapes.osgi.demo.upnp.NewPortalSessionPolicy
Handle render portlet requests.
onServiceChanged(ServiceListPortlet.ServiceChanged, PortalSession) - Method in class org.jgrapes.osgi.portlets.services.ServiceListPortlet
Handles a ServiceListPortlet.ServiceChanged event by updating the information in the portal sessions.
org.jgrapes.osgi.core - package org.jgrapes.osgi.core
 
org.jgrapes.osgi.demo.httpserver - package org.jgrapes.osgi.demo.httpserver
 
org.jgrapes.osgi.demo.portal - package org.jgrapes.osgi.demo.portal
 
org.jgrapes.osgi.demo.upnp - package org.jgrapes.osgi.demo.upnp
 
org.jgrapes.osgi.portlets.bundles - package org.jgrapes.osgi.portlets.bundles
 
org.jgrapes.osgi.portlets.services - package org.jgrapes.osgi.portlets.services
 
org.jgrapes.osgi.portlets.upnpbrowser - package org.jgrapes.osgi.portlets.upnpbrowser
 

R

removedService(ServiceReference<F>, F) - Method in class org.jgrapes.osgi.core.ComponentCollector
Removes all child component with the type produced by the factory that is removed.
RootDeviceListener - Class in org.jgrapes.osgi.demo.upnp
Receives the root device events.
RootDeviceListener() - Constructor for class org.jgrapes.osgi.demo.upnp.RootDeviceListener
 

S

serviceChanged(ServiceEvent) - Method in class org.jgrapes.osgi.demo.upnp.RootDeviceListener
 
serviceChanged(ServiceEvent) - Method in class org.jgrapes.osgi.portlets.services.ServiceListPortlet
Translates the OSGi ServiceEvent to a JGrapes event and fires it on all known portal session channels.
ServiceChanged(ServiceEvent) - Constructor for class org.jgrapes.osgi.portlets.services.ServiceListPortlet.ServiceChanged
Instantiates a new event.
serviceChanged(ServiceEvent) - Method in class org.jgrapes.osgi.portlets.upnpbrowser.UPnPBrowserPortlet
Translates the OSGi ServiceEvent to a JGrapes event and fires it on all known portal session channels.
serviceEvent() - Method in class org.jgrapes.osgi.portlets.services.ServiceListPortlet.ServiceChanged
 
ServiceListModel(String) - Constructor for class org.jgrapes.osgi.portlets.services.ServiceListPortlet.ServiceListModel
Instantiates a new service list model.
ServiceListPortlet - Class in org.jgrapes.osgi.portlets.services
A portlet for inspecting the services in an OSGi runtime.
ServiceListPortlet(Channel, BundleContext, ServiceComponentRuntime) - Constructor for class org.jgrapes.osgi.portlets.services.ServiceListPortlet
Creates a new component with its channel set to the given channel.
ServiceListPortlet.ServiceChanged - Class in org.jgrapes.osgi.portlets.services
Wraps an OSGi ServiceEvent.
ServiceListPortlet.ServiceListModel - Class in org.jgrapes.osgi.portlets.services
The portlet’s model.
ServiceListPortletFactory - Class in org.jgrapes.osgi.portlets.services
The factory service for ServiceListPortlets.
ServiceListPortletFactory() - Constructor for class org.jgrapes.osgi.portlets.services.ServiceListPortletFactory
 
setScr(ServiceComponentRuntime) - Method in class org.jgrapes.osgi.portlets.services.ServiceListPortletFactory
 
setScr(ServiceComponentRuntime) - Method in class org.jgrapes.osgi.portlets.upnpbrowser.UPnPBrowserPortletFactory
 
start(BundleContext) - Method in class org.jgrapes.osgi.demo.httpserver.BasicServer
 
start(BundleContext) - Method in class org.jgrapes.osgi.demo.portal.Application
 
start(BundleContext) - Method in class org.jgrapes.osgi.demo.upnp.Application
 
stateFromSession(Session, String, Class<T>) - Method in class org.jgrapes.osgi.portlets.bundles.BundleListPortlet
 
stateFromSession(Session, String, Class<T>) - Method in class org.jgrapes.osgi.portlets.services.ServiceListPortlet
 
stateFromSession(Session, String, Class<T>) - Method in class org.jgrapes.osgi.portlets.upnpbrowser.UPnPBrowserPortlet
 
stop(BundleContext) - Method in class org.jgrapes.osgi.demo.httpserver.BasicServer
 
stop(BundleContext) - Method in class org.jgrapes.osgi.demo.portal.Application
 
stop(BundleContext) - Method in class org.jgrapes.osgi.demo.upnp.Application
 

U

UPnPBrowserModel(String) - Constructor for class org.jgrapes.osgi.portlets.upnpbrowser.UPnPBrowserPortlet.UPnPBrowserModel
Instantiates a new service list model.
UPnPBrowserPortlet - Class in org.jgrapes.osgi.portlets.upnpbrowser
A portlet for inspecting the services in an OSGi runtime.
UPnPBrowserPortlet(Channel, BundleContext, ServiceComponentRuntime) - Constructor for class org.jgrapes.osgi.portlets.upnpbrowser.UPnPBrowserPortlet
Creates a new component with its channel set to the given channel.
UPnPBrowserPortlet.UPnPBrowserModel - Class in org.jgrapes.osgi.portlets.upnpbrowser
The portlet’s model.
UPnPBrowserPortletFactory - Class in org.jgrapes.osgi.portlets.upnpbrowser
The factory service for UPnPBrowserPortlets.
UPnPBrowserPortletFactory() - Constructor for class org.jgrapes.osgi.portlets.upnpbrowser.UPnPBrowserPortletFactory
 
A B C D G M N O R S U 
Skip navigation links