@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Destroy
A beanProviderMethod annotated with @Destroy("methodName") will ensure that the destroy method is called when the ApplicationContext shuts down. The ApplicationContext either shuts down when you call the ApplicationContext.shutdown() method, or when the JVM exits.
public abstract String value
Copyright © 2011-2013 SYSE. All Rights Reserved.