[jboss-cvs] jboss-portal/wsrp/src/main/org/jboss/portal/wsrp/handler ...
Chris Laprun
chris.laprun at jboss.com
Thu Aug 10 15:56:48 EDT 2006
User: claprun
Date: 06/08/10 15:56:48
Modified: wsrp/src/main/org/jboss/portal/wsrp/handler
RequestHeaderClientHandler.java
Log:
- Now reset the producer information when the session is invalidated.
- Removed handler on other ports than Markup since they shouldn't be needed. Need to investigate this more
since the tests break if I don't define the handler on all ports.
- Cleaned-up WSRPConsumerImpl so that the registration information sent by remote producer is only
displayed if no registration data was defined in the producer configuration.
- Added reset method on RequestHeaderClientHandler.
- Minor improvements.
Revision Changes Path
1.7 +5 -0 jboss-portal/wsrp/src/main/org/jboss/portal/wsrp/handler/RequestHeaderClientHandler.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: RequestHeaderClientHandler.java
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/wsrp/src/main/org/jboss/portal/wsrp/handler/RequestHeaderClientHandler.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- RequestHeaderClientHandler.java 8 Aug 2006 04:31:50 -0000 1.6
+++ RequestHeaderClientHandler.java 10 Aug 2006 19:56:48 -0000 1.7
@@ -138,6 +138,11 @@
local.set(new CurrentInfo(groupId, sessionInformation));
}
+ public static void resetCurrentInfo()
+ {
+ local.set(null);
+ }
+
public static void setCurrentGroupId(String groupId)
{
CurrentInfo currentInfo = (CurrentInfo)local.get();
More information about the jboss-cvs-commits
mailing list