Package net.xeoh.plugins.base.annotations.events

Examples of net.xeoh.plugins.base.annotations.events.Shutdown


        for (final Method method : methods) {
            log("callshutdown/method", new OptionInfo("method", method.getName()));       

            // Init methods will be marked by the corresponding annotation.
            final Shutdown annotation = method.getAnnotation(Shutdown.class);
            if (annotation != null) {
                log("callshutdown/method/shutdownannotation", new OptionInfo("method", method.getName()));       

                try {
                    method.invoke(plugin, new Object[0]);
View Full Code Here


        for (final Method method : methods) {
            this.logger.finest("Processing method " + method);

            // Init methods will be marked by the corresponding annotation.
            final Shutdown annotation = method.getAnnotation(Shutdown.class);
            if (annotation != null) {
                this.logger.finer("Annotation found on method " + method);

                try {
                    method.invoke(plugin, new Object[0]);
View Full Code Here

TOP

Related Classes of net.xeoh.plugins.base.annotations.events.Shutdown

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.