Package thredds.server.config
Class TdsInit
java.lang.Object
thredds.server.config.TdsInit
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.DisposableBean,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
@Component
public class TdsInit
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.beans.factory.DisposableBean
A Singleton class to initialize and shutdown the CDM/TDS
Formerly CdmInit
- Since:
- Feb 20, 2009
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
TdsInit
public TdsInit()
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
destroy
public void destroy()- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-