//yeah this code just got placed here because it was easy - again, this class and the arbitrator just need overhauling (but thats a lot of work!)
long maxIdleTime = this.maxIdleTimeMillis;
if (method.isAnnotationPresent(BeginConversation.class)) {
BeginConversation beginConversation = method.getAnnotation(BeginConversation.class);
if (beginConversation.maxIdleTimeMillis() != -1L) {
maxIdleTime = beginConversation.maxIdleTimeMillis();
}
}
if (LOG.isDebugEnabled()) {
LOG.debug("Adding method " + methodName + " as a Begin Action to ConversationClassConfigurationImpl for Conversation " + conversation + " with a timeout of " + maxIdleTime / 1000 + " seconds.");