Author: chris.laprun(a)jboss.com
Date: 2010-04-01 18:00:42 -0400 (Thu, 01 Apr 2010)
New Revision: 2460
Modified:
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/RegistrationEndpoint.java
Log:
- GTNWSRP-14: For some reason, deregister was not implemented correctly.
Modified:
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/RegistrationEndpoint.java
===================================================================
---
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/RegistrationEndpoint.java 2010-04-01
21:39:12 UTC (rev 2459)
+++
components/wsrp/trunk/wsrp-producer-war/src/main/java/org/gatein/wsrp/endpoints/RegistrationEndpoint.java 2010-04-01
22:00:42 UTC (rev 2460)
@@ -114,6 +114,11 @@
@WebParam(name = "extensions", targetNamespace =
"urn:oasis:names:tc:wsrp:v1:types") List<Extension> extensions)
throws InvalidRegistration, OperationFailed
{
- return null; //To change body of implemented methods use File | Settings | File
Templates.
+ RegistrationContext rc = new RegistrationContext();
+ rc.setRegistrationHandle(registrationHandle);
+ rc.setRegistrationState(registrationState);
+
+ producer.deregister(rc);
+ return null;
}
}
Show replies by date