Examples of EndConversation


Examples of com.github.overengineer.scope.conversation.annotations.EndConversation

                        }
                        if (LOG.isDebugEnabled()) {
                            LOG.debug("Adding method [{}] as an End Action for Conversation [{}]", methodName, conversation);
                        }
                        if (method.isAnnotationPresent(EndConversation.class)) {
                            EndConversation config = method.getAnnotation(EndConversation.class);
                            configuration.addEndAction(methodName, config.accessibleFromView());
                        } else {
                            configuration.addEndAction(methodName, false);
                        }
                    }
                }
View Full Code Here

Examples of com.github.overengineer.scope.conversation.annotations.EndConversation

    @Override
    public Collection<String> getEndConversations(Class<?> clazz, Method method) {
        Set<String> methodConversations = new HashSet<String>();
        Class<?> declaringClass = method.getDeclaringClass();
        if (method.isAnnotationPresent(EndConversation.class)) {
            EndConversation conversationmethod = method.getAnnotation(EndConversation.class);
            methodConversations.addAll(Arrays.asList(conversationmethod.conversations()));
            if (declaringClass.equals(clazz) && methodConversations.size() == 0) {
                methodConversations.addAll(Arrays.asList(getConversationsWithoutInheritance(clazz, actionSuffix)));
            }
        } else if (declaringClass.equals(clazz) && method.getName().startsWith("end")) {
            methodConversations.addAll(Arrays.asList(getConversationsWithoutInheritance(clazz, actionSuffix)));
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.EndConversation

    @Override
    public Collection<String> getEndConversations(Class<?> clazz, Method method) {
        Set<String> methodConversations = new HashSet<String>();
        Class<?> declaringClass = method.getDeclaringClass();
        if (method.isAnnotationPresent(EndConversation.class)) {
            EndConversation conversationmethod = method.getAnnotation(EndConversation.class);
            methodConversations.addAll(Arrays.asList(conversationmethod.conversations()));
            if (declaringClass.equals(clazz) && methodConversations.size() == 0) {
                methodConversations.addAll(Arrays.asList(getConversationsWithoutInheritance(clazz, actionSuffix)));
            }
        } else if (declaringClass.equals(clazz) && method.getName().startsWith("end")) {
            methodConversations.addAll(Arrays.asList(getConversationsWithoutInheritance(clazz, actionSuffix)));
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.EndConversation

    @Override
    public Collection<String> getEndConversations(Class<?> clazz, Method method) {
        Set<String> methodConversations = new HashSet<String>();
        Class<?> declaringClass = method.getDeclaringClass();
        if (method.isAnnotationPresent(EndConversation.class)) {
            EndConversation conversationmethod = method.getAnnotation(EndConversation.class);
            methodConversations.addAll(Arrays.asList(conversationmethod.conversations()));
            if (declaringClass.equals(clazz) && methodConversations.size() == 0) {
                methodConversations.addAll(Arrays.asList(getConversationsWithoutInheritance(clazz, actionSuffix)));
            }
        } else if (declaringClass.equals(clazz) && method.getName().startsWith("end")) {
            methodConversations.addAll(Arrays.asList(getConversationsWithoutInheritance(clazz, actionSuffix)));
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.EndConversation

    @Override
    public Collection<String> getEndConversations(Class<?> clazz, Method method) {
        Set<String> methodConversations = new HashSet<String>();
        Class<?> declaringClass = method.getDeclaringClass();
        if (method.isAnnotationPresent(EndConversation.class)) {
            EndConversation conversationmethod = method
                    .getAnnotation(EndConversation.class);
            methodConversations.addAll(Arrays.asList(conversationmethod
                    .conversations()));
            if (declaringClass.equals(clazz) && methodConversations.size() == 0) {
                methodConversations.addAll(Arrays
                        .asList(getConversationsWithoutInheritance(clazz,
                                actionSuffix)));
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.EndConversation

     */
    @Override
    public Collection<String> getEndConversations(Class<?> clazz, Method method) {
        Set<String> methodConversations = new HashSet<String>();
        if (method.isAnnotationPresent(EndConversation.class)) {
            EndConversation conversationmethod = method
                    .getAnnotation(EndConversation.class);
            String[] conversations = conversationmethod.conversations();
            if (conversations.length == 0) {
                conversations = getConversationControllerConversations(clazz,
                        actionSuffix);
            }
            methodConversations.addAll(Arrays.asList(conversations));
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.EndConversation

    @Override
    public Collection<String> getEndConversations(Class<?> clazz, Method method) {
        Set<String> methodConversations = new HashSet<String>();
        Class<?> declaringClass = method.getDeclaringClass();
        if (method.isAnnotationPresent(EndConversation.class)) {
            EndConversation conversationmethod = method
                    .getAnnotation(EndConversation.class);
            methodConversations.addAll(Arrays.asList(conversationmethod
                    .conversations()));
            if (declaringClass.equals(clazz) && methodConversations.size() == 0) {
                methodConversations.addAll(Arrays
                        .asList(getConversationsWithoutInheritance(clazz,
                                actionSuffix)));
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.EndConversation

    @Override
    public Collection<String> getEndConversations(Class<?> clazz, Method method) {
        Set<String> methodConversations = new HashSet<String>();
        Class<?> declaringClass = method.getDeclaringClass();
        if (method.isAnnotationPresent(EndConversation.class)) {
            EndConversation conversationmethod = method.getAnnotation(EndConversation.class);
            methodConversations.addAll(Arrays.asList(conversationmethod.conversations()));
            if (declaringClass.equals(clazz) && methodConversations.size() == 0) {
                methodConversations.addAll(Arrays.asList(getConversationsWithoutInheritance(clazz, actionSuffix)));
            }
        } else if (declaringClass.equals(clazz) && method.getName().startsWith("end")) {
            methodConversations.addAll(Arrays.asList(getConversationsWithoutInheritance(clazz, actionSuffix)));
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.EndConversation

     */
    @Override
    public Collection<String> getEndConversations(Class<?> clazz, Method method) {
        Set<String> methodConversations = new HashSet<String>();
        if (method.isAnnotationPresent(EndConversation.class)) {
            EndConversation conversationmethod = method
                    .getAnnotation(EndConversation.class);
            String[] conversations = conversationmethod.conversations();
            if (conversations.length == 0) {
                conversations = getConversationsWithoutInheritance(clazz,
                        actionSuffix);
            }
            methodConversations.addAll(Arrays.asList(conversations));
View Full Code Here

Examples of com.google.code.rees.scope.conversation.annotations.EndConversation

  @Override
  public Collection<String> getEndConversations(Class<?> clazz, Method method) {
    Set<String> methodConversations = new HashSet<String>();
    if (method.isAnnotationPresent(EndConversation.class)) {
      EndConversation conversationmethod = method.getAnnotation(EndConversation.class);
      String[] conversations = conversationmethod.conversations();
      if (conversations.length == 0) {
        conversations = getConversationControllerConversations(clazz, actionSuffix);
      }
      methodConversations.addAll(Arrays.asList(conversations));
    } else if (method.getName().startsWith("end")) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.