/** Returns the ExtensionPoint to use for the Locator values. */ private ExtensionPoint getExtensionPoint() { ExtensionPointManager manager = DefaultExtensionPointManager.getManager(); String moduleName = getLocatorName(); // synchronize the retrieval of the ExtensionPoint synchronized (lock) { ExtensionPoint extensionPoint = manager.get(moduleName); if (extensionPoint == null) { extensionPoint = manager.add(moduleName); } return extensionPoint; } }
public void register(String name, LocatorObjectFactory factory) { DefaultExtensionPointManager.getManager().add(getLocatorName()).append(name, null, factory); }
public void register(String name, String description, Class clazz) { DefaultExtensionPointManager.getManager() .add(getLocatorName()) .append(name, description, clazz); }