Author: chris.laprun(a)jboss.com
Date: 2011-09-14 15:44:51 -0400 (Wed, 14 Sep 2011)
New Revision: 7429
Modified:
components/pc/trunk/federation/src/main/java/org/gatein/pc/federation/FederatingPortletInvoker.java
components/pc/trunk/federation/src/main/java/org/gatein/pc/federation/impl/FederatingPortletInvokerService.java
components/pc/trunk/federation/src/test/java/org/gatein/pc/federation/FederatingPortletInvokerTestCase.java
Log:
- Renamed setter.
Modified:
components/pc/trunk/federation/src/main/java/org/gatein/pc/federation/FederatingPortletInvoker.java
===================================================================
---
components/pc/trunk/federation/src/main/java/org/gatein/pc/federation/FederatingPortletInvoker.java 2011-09-14
19:39:58 UTC (rev 7428)
+++
components/pc/trunk/federation/src/main/java/org/gatein/pc/federation/FederatingPortletInvoker.java 2011-09-14
19:44:51 UTC (rev 7429)
@@ -50,7 +50,7 @@
/**
* Returns the registered FederatedPortletInvoker associated with the specified
identifier, delegating to the {@link
- * PortletInvokerResolver} specified using {@link
#setNullInvokerHandler(PortletInvokerResolver)} if it's not
+ * PortletInvokerResolver} specified using {@link
#setPortletInvokerResolver(PortletInvokerResolver)} if it's not
* initially
* resolved or returns <code>null</code> if a FederatedPortletInvoker is
not found after going through the specified
* NullInvokerHandler resolution mechanism.
@@ -118,5 +118,5 @@
*
* @param portletResolver
*/
- void setNullInvokerHandler(PortletInvokerResolver portletResolver);
+ void setPortletInvokerResolver(PortletInvokerResolver portletResolver);
}
Modified:
components/pc/trunk/federation/src/main/java/org/gatein/pc/federation/impl/FederatingPortletInvokerService.java
===================================================================
---
components/pc/trunk/federation/src/main/java/org/gatein/pc/federation/impl/FederatingPortletInvokerService.java 2011-09-14
19:39:58 UTC (rev 7428)
+++
components/pc/trunk/federation/src/main/java/org/gatein/pc/federation/impl/FederatingPortletInvokerService.java 2011-09-14
19:44:51 UTC (rev 7429)
@@ -305,7 +305,7 @@
return federated.importPortlet(stateType, compoundPortletContext);
}
- public synchronized void setNullInvokerHandler(PortletInvokerResolver
portletResolver)
+ public synchronized void setPortletInvokerResolver(PortletInvokerResolver
portletResolver)
{
if (portletResolver == null)
{
Modified:
components/pc/trunk/federation/src/test/java/org/gatein/pc/federation/FederatingPortletInvokerTestCase.java
===================================================================
---
components/pc/trunk/federation/src/test/java/org/gatein/pc/federation/FederatingPortletInvokerTestCase.java 2011-09-14
19:39:58 UTC (rev 7428)
+++
components/pc/trunk/federation/src/test/java/org/gatein/pc/federation/FederatingPortletInvokerTestCase.java 2011-09-14
19:44:51 UTC (rev 7429)
@@ -208,7 +208,7 @@
final String federatedId = "inexistent";
assertNull(federatingInvoker.getFederatedInvoker(federatedId));
- federatingInvoker.setNullInvokerHandler(new PortletInvokerResolver()
+ federatingInvoker.setPortletInvokerResolver(new PortletInvokerResolver()
{
public FederatedPortletInvoker resolvePortletInvokerFor(String invokerId,
FederatingPortletInvoker callingInvoker, String compoundPortletId) throws
NoSuchPortletException
{
Show replies by date