Package com.elevenware.redcorn.lifecycle

Examples of com.elevenware.redcorn.lifecycle.Lifecycle.stop()


    @Override
    public void stop() {
        for(BeanDefinition definition: context.values()) {
            if (Lifecycle.class.isAssignableFrom(definition.getType())) {
                Lifecycle lifecycle = (Lifecycle) definition.getPayload();
                lifecycle.stop();
            }
        }
    }

}
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.