|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbiz.hammurapi.registry.Directory
public class Directory
Registry entry which groups other entries.
| Constructor Summary | |
|---|---|
Directory()
|
|
Directory(java.lang.String name,
java.util.Collection<RegistryEntry> children)
|
|
Directory(java.lang.String name,
RegistryEntry... children)
|
|
| Method Summary | ||
|---|---|---|
void |
addEntry(RegistryEntry child)
|
|
void |
addEntry(java.net.URL childConfigUrl)
|
|
java.util.List<RegistryEntry> |
getChildren(java.lang.Class<?>[] componentTypes,
java.lang.Class<?> factoryTypes,
java.util.Set<java.lang.String> filterTokens)
|
|
java.lang.Class<?>[] |
getComponentTypes()
One entry may produce different types of objects. |
|
java.lang.String |
getDescription()
|
|
java.lang.Class<?>[] |
getFactoryTypes()
One entry may support different factory types, e.g. |
|
java.lang.String |
getName()
|
|
java.lang.String |
getTooltip()
|
|
boolean |
hasChildren(java.lang.Class<?>[] componentTypes,
java.lang.Class<?> factoryTypes,
java.util.Set<java.lang.String> filterTokens)
|
|
boolean |
match(java.lang.Class<?>[] componentTypes,
java.lang.Class<?> factoryTypes,
java.util.Set<java.lang.String> filterTokens)
Directory never matches. |
|
|
newFactory(java.lang.Class<T> factoryClass)
Directory cannot be instantiated. |
|
void |
setDescription(java.lang.String description)
|
|
void |
setName(java.lang.String name)
|
|
void |
setTooltip(java.lang.String tooltip)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Directory()
public Directory(java.lang.String name,
java.util.Collection<RegistryEntry> children)
public Directory(java.lang.String name,
RegistryEntry... children)
| Method Detail |
|---|
public void addEntry(RegistryEntry child)
public void addEntry(java.net.URL childConfigUrl)
throws biz.hammurapi.config.ConfigurationException
biz.hammurapi.config.ConfigurationException
public java.util.List<RegistryEntry> getChildren(java.lang.Class<?>[] componentTypes,
java.lang.Class<?> factoryTypes,
java.util.Set<java.lang.String> filterTokens)
getChildren in interface RegistryEntrycomponentTypes - If this parameter is not null then only entries which
support one of component types are returned.
public java.lang.Class<?>[] getComponentTypes()
RegistryEntry
getComponentTypes in interface RegistryEntrypublic java.lang.String getDescription()
getDescription in interface RegistryEntrypublic void setDescription(java.lang.String description)
public java.lang.Class<?>[] getFactoryTypes()
RegistryEntry
getFactoryTypes in interface RegistryEntrypublic java.lang.String getName()
getName in interface RegistryEntrypublic void setName(java.lang.String name)
public java.lang.String getTooltip()
getTooltip in interface RegistryEntrypublic void setTooltip(java.lang.String tooltip)
public boolean hasChildren(java.lang.Class<?>[] componentTypes,
java.lang.Class<?> factoryTypes,
java.util.Set<java.lang.String> filterTokens)
hasChildren in interface RegistryEntrycomponentTypes - If this parameter is not null then only entries which
support one of component types are displayed.filterTokens - Filter tokens
public boolean match(java.lang.Class<?>[] componentTypes,
java.lang.Class<?> factoryTypes,
java.util.Set<java.lang.String> filterTokens)
match in interface RegistryEntrycomponentTypes - If this parameter is not null then only entries which
support one of component types are displayed.filterTokens - Filter tokens
public <T> FactoryConfigurator<T> newFactory(java.lang.Class<T> factoryClass)
newFactory in interface RegistryEntryT - Factory class.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||