[jboss-svn-commits] JBL Code SVN: r24214 - labs/jbossrules/trunk/drools-process/drools-process-enterprise/src/main/java/org/drools/persistence/session.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Dec 2 11:30:05 EST 2008
Author: KrisVerlaenen
Date: 2008-12-02 11:30:05 -0500 (Tue, 02 Dec 2008)
New Revision: 24214
Modified:
labs/jbossrules/trunk/drools-process/drools-process-enterprise/src/main/java/org/drools/persistence/session/SingleSessionCommandService.java
Log:
- added dispose method
Modified: labs/jbossrules/trunk/drools-process/drools-process-enterprise/src/main/java/org/drools/persistence/session/SingleSessionCommandService.java
===================================================================
--- labs/jbossrules/trunk/drools-process/drools-process-enterprise/src/main/java/org/drools/persistence/session/SingleSessionCommandService.java 2008-12-02 15:53:01 UTC (rev 24213)
+++ labs/jbossrules/trunk/drools-process/drools-process-enterprise/src/main/java/org/drools/persistence/session/SingleSessionCommandService.java 2008-12-02 16:30:05 UTC (rev 24214)
@@ -68,6 +68,13 @@
}
}
+ public void dispose() {
+ StatefulSession session = persister.getObject();
+ if (session != null) {
+ session.dispose();
+ }
+ }
+
public String getSessionId() {
return persister.getUniqueId();
}
More information about the jboss-svn-commits
mailing list