Author: chris.laprun(a)jboss.com
Date: 2011-09-13 13:09:53 -0400 (Tue, 13 Sep 2011)
New Revision: 7389
Modified:
components/wsrp/branches/clustering/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ProducerBean.java
Log:
- ProducerBean should now be available on clusters, though more testing needs to be done.
Modified:
components/wsrp/branches/clustering/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ProducerBean.java
===================================================================
---
components/wsrp/branches/clustering/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ProducerBean.java 2011-09-13
17:03:26 UTC (rev 7388)
+++
components/wsrp/branches/clustering/admin-gui/src/main/java/org/gatein/wsrp/admin/ui/ProducerBean.java 2011-09-13
17:09:53 UTC (rev 7389)
@@ -36,6 +36,7 @@
import javax.faces.event.ActionEvent;
import javax.faces.event.ValueChangeEvent;
import javax.faces.model.SelectItem;
+import java.io.Serializable;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
@@ -46,7 +47,7 @@
* @version $Revision: 12854 $
* @since 2.6.3
*/
-public class ProducerBean extends ManagedBean
+public class ProducerBean extends ManagedBean implements Serializable
{
private transient ProducerConfigurationService configurationService;
private String policyClassName;
@@ -58,6 +59,10 @@
public ProducerConfigurationService getConfigurationService()
{
+ if (configurationService == null)
+ {
+ configurationService =
beanContext.findBean("ProducerConfigurationService",
ProducerConfigurationService.class);
+ }
return configurationService;
}
Show replies by date