return null;
}
private EditableConversation closeSubGroups(ConversationKey conversationKey, Class<?>[] subGroups)
{
EditableConversation editableConversation = this.groupedConversations.get(conversationKey);
if(editableConversation == null)
{
throw new IllegalStateException(conversationKey.toString() +
" is no valid key for an existing conversation");
}
List<Class<?>> implicitSubGroupCandidates = new ArrayList<Class<?>>();
for(Class<?> subGroup : subGroups)
{
if(editableConversation.removeBeanEntry(subGroup) == null)
{
//no bean was scoped -> try to use the sub-group as sub-group-type
implicitSubGroupCandidates.add(subGroup);
}
}