[teiid-issues] [JBoss JIRA] (TEIID-2182) Mechanism to hook up event listener into Teiid runtime

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Wed Jan 16 08:57:22 EST 2013


     [ https://issues.jboss.org/browse/TEIID-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Reddy resolved TEIID-2182.
---------------------------------

    Resolution: Done


I changed the interface to

{code}
public interface EventListener {
	
	/**
	 * Invoked when VDB is deployed
	 * @param vdbName
	 * @param vdbVersion
	 */
	void vdbDeployed(String vdbName, int vdbVersion);
	
	/**
	 * Invoked when VDB undeployed
	 * @param vdbName
	 * @param vdbVersion
	 */
	void vdbUndeployed(String vdbName, int vdbVersion);
	
	/**
	 * VDB and all its metadata has been loaded and in ACTIVE state.
	 * @param vdb
	 */
	void vdbLoaded(VDB vdb);
	
	/**
	 * VDB failed to load and in FAILED state; Note this can be called
         * multiple times for given VDB
	 * @param vdb
	 */
	void vdbLoadFailed(VDB vdb);	
}
{code}

Please let me know if you think we need to modifications to this.
                
> Mechanism to hook up event listener into Teiid runtime
> ------------------------------------------------------
>
>                 Key: TEIID-2182
>                 URL: https://issues.jboss.org/browse/TEIID-2182
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: AdminApi, Server
>    Affects Versions: 8.1
>         Environment: Windows 7 64 bit
>            Reporter: Anil Allewar
>            Assignee: Ramesh Reddy
>             Fix For: 8.3
>
>
> It would be to useful allow the installation of custom listeners since we don't have a global vdb table that could have customizable triggers.  This could cover for example custom strategies for external materialization initialization.
> This would also help in where an application wants to listen to when a VDB was added, made active, destroyed so that it can handle those events as required by the application.
> Please see the thread below for the context & details
> https://community.jboss.org/message/756060

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list