# Targlet Container Listeners

###### Identifier:

org.eclipse.oomph.targlets.core.targletContainerListeners

###### Since:

1.0

###### Description:

This extension point allows clients to contribute targlet container listeners, which handle targlet container events such as profile updates.

###### Configuration Markup:

<!ELEMENT extension (targletListener+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

<!ELEMENT targletListener EMPTY>

<!ATTLIST targletListener

class CDATA #REQUIRED>

- class -

###### Examples:

The following example of a `targletContainerListeners` extension contributes one targlet container listener:

       <extension point="org.eclipse.oomph.targlets.core.targletContainerListeners">
          <targletListener class="com.foo.bar.TargletContainerEventLogger"/>
       </extension>

Refer to Listening To Targlet Container Events for a code example of a listener implementation.

###### API Information:

A contributions must provide a class implementing org.eclipse.oomph.targlets.core.TargletContainerListener.

###### Supplied Implementation:

The following listener implementations are contributed by Oomph internally:

       <extension point="org.eclipse.oomph.targlets.core.targletContainerListeners">
          <targletListener class="org.eclipse.oomph.targlets.internal.core.listeners.PomArtifactUpdater"/>
          <targletListener class="org.eclipse.oomph.targlets.internal.core.listeners.PomModulesUpdater"/>
          <targletListener class="org.eclipse.oomph.targlets.internal.core.listeners.TargetDefinitionGenerator"/>
       </extension>

Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html