|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--net.sf.panoptes.model.component.registry.ConfiguratorRegistry
| Constructor Summary | |
ConfiguratorRegistry()
|
|
| Method Summary | |
ConfiguratorEntry |
addConfigurator(java.lang.String name,
java.lang.String className,
java.lang.String patterns,
java.util.HashMap attributes)
Adds a Configurator to the registry. |
java.util.Set |
findConfigurators(ComponentName componentName)
Fetches configurators that match the Componentname. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConfiguratorRegistry()
| Method Detail |
public ConfiguratorEntry addConfigurator(java.lang.String name,
java.lang.String className,
java.lang.String patterns,
java.util.HashMap attributes)
throws ConfiguratorRegistryException,
MalformedComponentNameException
Configurator to the registry.
name - the nickname of the configurator (to be used in configuration files)className - the FQCN of the classpatterns - comma-delimited string of patterns that can be parsed as ComponentName
ConfiguratorRegistryException - if configurator already is added or has an invalid className
MalformedComponentNameExceptionComponentConfiguratorpublic java.util.Set findConfigurators(ComponentName componentName)
Componentname.
componentName - the name of the component. If it's null, only configurators with patterns that match any component are returned
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||