public abstract class AbstractContributionRegistry<K,T> extends Object implements ContributionRegistry<K,T>
Modifier and Type | Method and Description |
---|---|
Contribution<K,T> |
addFragment(K key,
T fragment,
K... superKeys) |
void |
dispose() |
void |
fireResolved(Contribution<K,T> contrib) |
void |
fireUnresolved(Contribution<K,T> contrib,
T value) |
void |
fireUpdated(T oldValue,
Contribution<K,T> contrib) |
Contribution<K,T> |
getContribution(K primaryKey) |
T |
getObject(K key) |
Contribution<K,T> |
getOrCreateDependency(K key) |
ContributionRegistry<K,T> |
getParent() |
void |
removeContribution(K key) |
void |
removeFragment(K key,
T fragment) |
public ContributionRegistry<K,T> getParent()
getParent
in interface ContributionRegistry<K,T>
public Contribution<K,T> getContribution(K primaryKey)
getContribution
in interface ContributionRegistry<K,T>
public void removeContribution(K key)
removeContribution
in interface ContributionRegistry<K,T>
public void removeFragment(K key, T fragment)
removeFragment
in interface ContributionRegistry<K,T>
public Contribution<K,T> addFragment(K key, T fragment, K... superKeys)
addFragment
in interface ContributionRegistry<K,T>
public Contribution<K,T> getOrCreateDependency(K key)
public void fireUnresolved(Contribution<K,T> contrib, T value)
public void fireResolved(Contribution<K,T> contrib)
public void fireUpdated(T oldValue, Contribution<K,T> contrib)
public void dispose()
dispose
in interface ContributionRegistry<K,T>
Copyright © 2014 Nuxeo SA. All rights reserved.