Author: chris.laprun(a)jboss.com
Date: 2007-03-13 01:28:50 -0400 (Tue, 13 Mar 2007)
New Revision: 6648
Modified:
trunk/registration/src/main/org/jboss/portal/registration/impl/RegistrationManagerImpl.java
Log:
- Comment call to clearAssociatedState since it's not implemented yet. More
importantly, do we need a call to clear associated state?
Modified:
trunk/registration/src/main/org/jboss/portal/registration/impl/RegistrationManagerImpl.java
===================================================================
---
trunk/registration/src/main/org/jboss/portal/registration/impl/RegistrationManagerImpl.java 2007-03-13
00:10:35 UTC (rev 6647)
+++
trunk/registration/src/main/org/jboss/portal/registration/impl/RegistrationManagerImpl.java 2007-03-13
05:28:50 UTC (rev 6648)
@@ -232,7 +232,7 @@
ParameterValidation.throwIllegalArgExceptionIfNull(registration,
"Registration");
registration.setStatus(RegistrationStatus.INVALID); // just in case...
- registration.clearAssociatedState();
+// registration.clearAssociatedState(); // todo: do we need to clear associated
state?
persistenceManager.removeRegistration(registration.getId());
}
@@ -330,7 +330,7 @@
{
Registration reg = (Registration)regs.next();
reg.setStatus(RegistrationStatus.INVALID);
- reg.clearAssociatedState(); //todo: or should we wait until current operations
are done?
+// reg.clearAssociatedState(); //todo: do we need to clear the associateed state?
If we do, should we wait until current operations are done?
}
}