Package org.hive.container.lib

Examples of org.hive.container.lib.Application


            LoggerFactory.getLogger().fatal("Bad request! \nClass:" + request.getApplicationName() + "\nMethod:" + request.getMethodName() + "\nArgs:" + request.getArgs());
            return  null;
        }

        //  Get an instance of the requested application
        Application application = register.getInstance(request.getApplicationName());
        if (application == null) {
            LoggerFactory.getLogger().fatal(String.format("Can't load class %s.", request.getApplicationName()));
            return null;
        }

        // Invoke target method
        return application.invokeMethod(request.getMethodName(), request.getArgs().toArray());
    }
View Full Code Here

TOP

Related Classes of org.hive.container.lib.Application

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.