public IndexMultiKey[] getNamedWindowIndexes(String windowName) { NamedWindowProcessor processor = processors.get(windowName); if (processor == null) { return null; } return processor.getProcessorInstance(null).getIndexDescriptors(); }
public void removeProcessor(String name) { NamedWindowProcessor processor = processors.get(name); if (processor != null) { processor.destroy(); processors.remove(name); if (!observers.isEmpty()) { NamedWindowLifecycleEvent theEvent = new NamedWindowLifecycleEvent( name, processor, NamedWindowLifecycleEvent.LifecycleEventType.DESTROY); for (NamedWindowLifecycleObserver observer : observers) { observer.observe(theEvent); } } } }