Author: chris.laprun(a)jboss.com
Date: 2010-09-07 05:25:32 -0400 (Tue, 07 Sep 2010)
New Revision: 4062
Modified:
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/producer/WSRPProducerImpl.java
Log:
- If no ExportManager has been set, use the default one.
Modified:
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/producer/WSRPProducerImpl.java
===================================================================
---
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/producer/WSRPProducerImpl.java 2010-09-07
08:25:27 UTC (rev 4061)
+++
components/wsrp/trunk/producer/src/main/java/org/gatein/wsrp/producer/WSRPProducerImpl.java 2010-09-07
09:25:32 UTC (rev 4062)
@@ -24,6 +24,7 @@
package org.gatein.wsrp.producer;
import org.gatein.exports.ExportManager;
+import org.gatein.exports.impl.ExportManagerImpl;
import org.gatein.pc.api.NoSuchPortletException;
import org.gatein.pc.api.Portlet;
import org.gatein.pc.api.PortletInvoker;
@@ -361,6 +362,10 @@
public ExportManager getExportManager()
{
+ if (exportManager == null)
+ {
+ exportManager = new ExportManagerImpl();
+ }
return exportManager;
}
Show replies by date