Package com.dodo.blog.ui.ajax.annotation

Examples of com.dodo.blog.ui.ajax.annotation.GetModel


    protected Object getModelObject( Page page, String modelId )
            throws InvocationTargetException, IllegalAccessException
    {
        for ( Method method : page.getClass().getDeclaredMethods() )
        {
            GetModel getModelAnnotation = method.getAnnotation( GetModel.class );
            if ( getModelAnnotation != null && getModelAnnotation.name().equals( modelId ) )
            {
                return method.invoke( page );
            }
        }
View Full Code Here

TOP

Related Classes of com.dodo.blog.ui.ajax.annotation.GetModel

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.