org.eclipse.net4j.util.container
Interface IManagedContainer

All Superinterfaces:
IContainer<Object>, ILifecycle, INotifier
All Known Subinterfaces:
IPluginContainer
All Known Implementing Classes:
ManagedContainer

public interface IManagedContainer
extends IContainer<Object>, ILifecycle

Author:
Eike Stepper
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
IContainer.Modifiable<E>
 
Method Summary
 void addPostProcessor(IElementProcessor postProcessor)
           
 void addPostProcessor(IElementProcessor postProcessor, boolean processExistingElements)
           
 void clearElements()
           
 Object getElement(String productGroup, String factoryType, String description)
           
 Object getElement(String productGroup, String factoryType, String description, boolean activate)
           
 String[] getElementKey(Object element)
           
 Object[] getElements(String productGroup)
           
 Object[] getElements(String productGroup, String factoryType)
           
 IFactory getFactory(String productGroup, String factoryType)
           
 IRegistry<IFactoryKey,IFactory> getFactoryRegistry()
           
 Set<String> getFactoryTypes(String productGroup)
           
 List<IElementProcessor> getPostProcessors()
           
 Set<String> getProductGroups()
           
 void loadElements(InputStream stream)
           
 Object putElement(String productGroup, String factoryType, String description, Object element)
           
 IManagedContainer registerFactory(IFactory factory)
           
 Object removeElement(String productGroup, String factoryType, String description)
           
 void removePostProcessor(IElementProcessor postProcessor)
           
 void saveElements(OutputStream stream)
           
 
Methods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
 
Methods inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActive
 
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
 

Method Detail

getFactoryRegistry

IRegistry<IFactoryKey,IFactory> getFactoryRegistry()

registerFactory

IManagedContainer registerFactory(IFactory factory)

getPostProcessors

List<IElementProcessor> getPostProcessors()

addPostProcessor

void addPostProcessor(IElementProcessor postProcessor,
                      boolean processExistingElements)

addPostProcessor

void addPostProcessor(IElementProcessor postProcessor)

removePostProcessor

void removePostProcessor(IElementProcessor postProcessor)

getProductGroups

Set<String> getProductGroups()

getFactoryTypes

Set<String> getFactoryTypes(String productGroup)

getFactory

IFactory getFactory(String productGroup,
                    String factoryType)

putElement

Object putElement(String productGroup,
                  String factoryType,
                  String description,
                  Object element)

getElementKey

String[] getElementKey(Object element)

getElements

Object[] getElements(String productGroup)

getElements

Object[] getElements(String productGroup,
                     String factoryType)

getElement

Object getElement(String productGroup,
                  String factoryType,
                  String description)

getElement

Object getElement(String productGroup,
                  String factoryType,
                  String description,
                  boolean activate)
Since:
2.0

removeElement

Object removeElement(String productGroup,
                     String factoryType,
                     String description)

clearElements

void clearElements()

loadElements

void loadElements(InputStream stream)
                  throws IOException
Throws:
IOException

saveElements

void saveElements(OutputStream stream)
                  throws IOException
Throws:
IOException


Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others.