Permalink
Browse files

LPS-25716 Source formatting

  • Loading branch information...
1 parent 3ce6260 commit fcca8d085578792c389f209ea0cbaf845ead8690 @brianchandotcom brianchandotcom committed Feb 23, 2012
@@ -156,7 +156,7 @@
<property name="messageSender" ref="com.liferay.portal.kernel.messaging.sender.MessageSender" />
</bean>
<bean id="com.liferay.portlet.MonitoringPortletFactoryImpl" class="com.liferay.portlet.MonitoringPortletFactoryImpl">
- <constructor-arg ref="messageSender.monitoring" />
+ <property name="singleDestinationMessageSender" ref="messageSender.monitoring" />
</bean>
<bean id="com.liferay.portlet.PortletInstanceFactoryUtil" class="com.liferay.portlet.PortletInstanceFactoryUtil">
<property name="portletInstanceFactory">
@@ -172,8 +172,8 @@ public InvokerPortletImpl(
"org.apache.portals.bridges.struts.StrutsPortlet");
_initialize(
- portletModel, portlet, null, portletContext,
- checkAuthToken, facesPortlet, strutsPortlet, strutsBridgePortlet);
+ portletModel, portlet, null, portletContext, checkAuthToken,
+ facesPortlet, strutsPortlet, strutsBridgePortlet);
}
public void destroy() {
@@ -660,20 +660,19 @@ private void _initialize(
private static Log _log = LogFactoryUtil.getLog(InvokerPortletImpl.class);
private List<ActionFilter> _actionFilters = new ArrayList<ActionFilter>();
- private List<EventFilter> _eventFilters = new ArrayList<EventFilter>();
- private List<RenderFilter> _renderFilters = new ArrayList<RenderFilter>();
- private List<ResourceFilter> _resourceFilters =
- new ArrayList<ResourceFilter>();
-
private boolean _checkAuthToken;
private boolean _destroyable;
+ private List<EventFilter> _eventFilters = new ArrayList<EventFilter>();
private Integer _expCache;
private boolean _facesPortlet;
private Portlet _portlet;
private PortletConfigImpl _portletConfigImpl;
private PortletContextImpl _portletContextImpl;
private String _portletId;
private com.liferay.portal.model.Portlet _portletModel;
+ private List<RenderFilter> _renderFilters = new ArrayList<RenderFilter>();
+ private List<ResourceFilter> _resourceFilters =
+ new ArrayList<ResourceFilter>();
private boolean _strutsBridgePortlet;
private boolean _strutsPortlet;
@@ -26,12 +26,7 @@
*/
public class MonitoringPortletFactoryImpl extends InvokerPortletFactoryImpl {
- public MonitoringPortletFactoryImpl(
- SingleDestinationMessageSender singleDestinationMessageSender) {
-
- _singleDestinationMessageSender = singleDestinationMessageSender;
- }
-
+ @Override
public InvokerPortlet create(
com.liferay.portal.model.Portlet portletModel, Portlet portlet,
PortletConfig portletConfig, PortletContext portletContext,
@@ -47,6 +42,7 @@ public InvokerPortlet create(
invokerPortlet, _singleDestinationMessageSender);
}
+ @Override
public InvokerPortlet create(
com.liferay.portal.model.Portlet portletModel, Portlet portlet,
PortletContext portletContext)
@@ -59,6 +55,12 @@ public InvokerPortlet create(
invokerPortlet, _singleDestinationMessageSender);
}
+ public void setSingleDestinationMessageSender(
+ SingleDestinationMessageSender singleDestinationMessageSender) {
+
+ _singleDestinationMessageSender = singleDestinationMessageSender;
+ }
+
private SingleDestinationMessageSender _singleDestinationMessageSender;
}

0 comments on commit fcca8d0

Please sign in to comment.