30 Mar 2007 10:54
CVS update of <common>/org/continuent/hedera/factory (1 file)
Date: Friday, March 30, 2007 <at> 10:54:18
Author: damian
Path: /cvsroot/hedera/hedera/src/common/org/continuent/hedera/factory
Modified: AbstractGroupCommunicationFactory.java (1.1 -> 1.2)
Implement HEDERA-30: Return a status value after group communication factory disposal.
----------------------------------------+
AbstractGroupCommunicationFactory.java | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
Index: hedera/src/common/org/continuent/hedera/factory/AbstractGroupCommunicationFactory.java
diff -u
hedera/src/common/org/continuent/hedera/factory/AbstractGroupCommunicationFactory.java:1.1 hedera/src/common/org/continuent/hedera/factory/AbstractGroupCommunicationFactory.java:1.2
---
hedera/src/common/org/continuent/hedera/factory/AbstractGroupCommunicationFactory.java:1.1 Mon
Nov 6 20:02:07 2006
+++
hedera/src/common/org/continuent/hedera/factory/AbstractGroupCommunicationFactory.java Fri
Mar 30 10:54:17 2007
<at> <at> -58,10 +58,13 <at> <at>
* called when the channels and GMS produced by this factory will not be used
* any more. This is because some of the freed resources may be static and
* shared across channels and GMS.
+ *
+ * <at> return true if the factory was successfully disposed, false otherwise.
*/
- public void dispose()
+ public boolean dispose()
{
- // Does nothing by default
+ // Does nothing by default, and succeeds in doing so!
+ return true;
}
}
RSS Feed