All Packages Class Hierarchy This Package Previous Next Index
Interface org.jcon.core.part.PartUser
- public interface PartUser
A class may optionally implement this interface to
indicate it wants to use other parts. This is an
example of the Object User Pattern.
-
getPartNamesNeeded()
- Returns an array of the part names this part needs to
do its work.
-
setPart(String, Object)
- Sets a named part, in response to part needs.
getPartNamesNeeded
public abstract String[] getPartNamesNeeded()
- Returns an array of the part names this part needs to
do its work.
- Returns:
- the names of the parts needed.
setPart
public abstract void setPart(String name,
Object part)
- Sets a named part, in response to part needs.
- Parameters:
- name - the name of the needed part.
- part - the needed part.
All Packages Class Hierarchy This Package Previous Next Index