HI All,
I have created a custom method by using the following code -
public class CustomMethod extends DfSingleDocbaseModule implements IDfMethod {
private static IDfSession session = null;
public int execute(Map paramMap, PrintWriter arg1) throws Exception {
session = getSession();
/* Some Custom Logic here */
releaseSession(session); // Not yet added this line of code
return 0;
}
}
I am using DfSingleDocbaseModule to get the session.
Using this session i am doing some work.
I would like to know if I release the session using releasesession method of DfSingleDocbaseModule,
what will be the impact ?
What will be the effect of not releasing session using this method ?
Thank you