continue;
}
if(!isEntryPoint(currentView, conversationRequired.defaultEntryPoint(), conversationRequired.entryPoints()))
{
EditableWindowContext editableWindowContext =
(EditableWindowContext)ConversationUtils.getWindowContextManager().getCurrentWindowContext();
Set<? extends Bean> foundBeans =
beanManager.getBeans(pageBeanDescriptor.getBeanClass(), new AnyLiteral());
Bean<?> foundBean;
Set<Bean<?>> beanSet;
Class<?> conversationGroup;
for(Bean<?> currentBean : foundBeans)
{
beanSet = new HashSet<Bean<?>>(1);
beanSet.add(currentBean);
foundBean = beanManager.resolve(beanSet);
//only page-beans are supported -> we have to compare them by bean-name
if(!pageBeanDescriptor.getBeanName().equals(foundBean.getName()))
{
continue;
}
conversationGroup = getConversationGroup(conversationRequired, foundBean);
if(!editableWindowContext.isConversationActive(conversationGroup,
foundBean.getQualifiers().toArray(new Annotation[foundBean.getQualifiers().size()])))
{
return ViewConfigCache
.getViewConfigDescriptor(conversationRequired.defaultEntryPoint()).getViewId();
}