Package com.softwarementors.extjs.djn.config.annotations

Examples of com.softwarementors.extjs.djn.config.annotations.DirectAction


 
  private List<RegisteredAction> createActionsFromJavaClass(RegisteredApi api, Class<?> actionClass) {
    assert api != null;
    assert actionClass != null;
   
    DirectAction actionAnnotation = actionClass.getAnnotation(DirectAction.class);
    List<String> actionNames = new ArrayList<String>();
    if( actionAnnotation != null ) {
      Collections.addAll( actionNames, actionAnnotation.action() );
    }
   
    if( actionNames.isEmpty()) {
      actionNames.add( ClassUtils.getSimpleName(actionClass) );
    }
View Full Code Here

TOP

Related Classes of com.softwarementors.extjs.djn.config.annotations.DirectAction

Copyright © 2018 www.massapicom. 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.