@Override
public void propertyChange(PropertyChangeEvent event)
{
if (event instanceof ElementAddedEvent)
{
Artifact artifactAdded = (T) event.getNewValue();
artifactConfigResourcesTimestaps.put(artifactAdded.getArtifactName(), new ArtifactResourcesTimestamp<T>(artifactAdded));
}
else if (event instanceof ElementRemovedEvent)
{
Artifact artifactRemoved = (T) event.getNewValue();
artifactConfigResourcesTimestaps.remove(artifactRemoved.getArtifactName());
}
}