Description
The Referencer class allows you to set and unset references to components.
Static methods
setReferences
Sets references to multiple components.
To set references, components must implement the IReferenceable interface. If they don’t, the call to this method has no effect.
public static
void setReferences(IReferences references, Iterable
- references: IReferences - references to be set.
- component: Iterable
setReferencesForOne
Sets references to specific component.
To set references, components must implement the IReferenceable interface. If they don’t, the call to this method has no effect.
public static
void setReferencesForOne(IReferences references, Object component) throws ReferenceException, ConfigException
- references: IReferences - references to be set.
- component: Object - component to set references to.
unsetReferences
Unsets references in multiple components. To unset references, components must implement the IUnreferenceable interface. If they don’t, the call to this method has no effect.
public static
void unsetReferences(Iterable
- components: Iterable
unsetReferencesForOne
Unsets references in a specific component.
To unset references, components must implement the IUnreferenceable interface. If they don’t, the call to this method has no effect.
public static
void unsetReferencesForOne(Object component)
- component: Object - component to unset references.