14 Replies Latest reply on Apr 23, 2014 2:52 PM by Steven Hawkins

    Attaching VDBLifeCycleListener to application

    Anil Allewar Newbie

      We have an application that gets the deployed VDBs at runtime and uses that information to service data that is available through deployed VBDs. For performance considerations we are trying to use in memory cache; however we would like to refresh the cache when say a new VDB gets deployed.

       

      I see that we have VDBLifeCycleListener interface that when implemented should be able to listen to VDB lifecycle events and act accordingly. However I have not been able to find as to how we can hookup the VDBLifeCycleListener implementation to the Teiid runtime.

       

      Can someone please guide me as to how can I attach VDBLifeCycleListener impl to the Teiid runtime?