ConversationAttributes conversation = clazz.getAnnotation(ConversationAttributes.class);
if (conversation == null) {
return;
}
Scope scope = clazz.getAnnotation(Scope.class);
if (scope == null) {
// implicitly assume conversation
type.setJavaScope(org.apache.tuscany.sca.implementation.java.JavaScopeImpl.CONVERSATION);
} else if (conversation != null) {
long maxAge;