com.gentics.api.portalnode.portlet
Class AbstractGenticsPortlet.SubPluginEventBrokerProvider

java.lang.Object
  extended by com.gentics.api.portalnode.portlet.AbstractGenticsPortlet.SubPluginEventBrokerProvider
All Implemented Interfaces:
EventBrokerProvider
Enclosing class:
AbstractGenticsPortlet

protected class AbstractGenticsPortlet.SubPluginEventBrokerProvider
extends Object
implements EventBrokerProvider

Internal helper class to provide the event broker for nested plugins


Field Summary
protected  String pluginId
          id of the nested plugin
protected  String sessionEventBrokerName
          name of the "eventBroker" property in the portlet session
 
Constructor Summary
AbstractGenticsPortlet.SubPluginEventBrokerProvider(String pluginId)
          Create an instance of the EventBrokerProvider
 
Method Summary
 EventBroker getEventBroker()
          get the event broker
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pluginId

protected String pluginId
id of the nested plugin


sessionEventBrokerName

protected String sessionEventBrokerName
name of the "eventBroker" property in the portlet session

Constructor Detail

AbstractGenticsPortlet.SubPluginEventBrokerProvider

public AbstractGenticsPortlet.SubPluginEventBrokerProvider(String pluginId)
Create an instance of the EventBrokerProvider

Parameters:
pluginId - id of the plugin
Method Detail

getEventBroker

public EventBroker getEventBroker()
Description copied from interface: EventBrokerProvider
get the event broker

Specified by:
getEventBroker in interface EventBrokerProvider
Returns:
event broker


Copyright © 2013 Gentics Software GmbH. All Rights Reserved.