Package org.eclipse.net4j.util.container
Schnittstelle IManagedContainer
- Alle Superschnittstellen:
IContainer<Object>
,IDeactivateable
,ILifecycle
,INotifier
- Alle bekannten Unterschnittstellen:
IPluginContainer
- Alle bekannten Implementierungsklassen:
ManagedContainer
- Autor:
- 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.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenVon Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.container.IContainer
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.lifecycle.ILifecycle
ILifecycle.DeferrableActivation
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier
INotifier.INotifier2
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addPostProcessor
(IElementProcessor postProcessor) void
addPostProcessor
(IElementProcessor postProcessor, boolean processExistingElements) void
int
countElements
(String productGroup) int
countElements
(String productGroup, String factoryType) <T> T
createElement
(String productGroup, String factoryType, String description) <T> T
createElement
(String productGroup, String factoryType, Tree config) <T> void
forEachElement
(String productGroup, Class<T> productType, String description, Consumer<T> consumer) <T> void
forEachElement
(String productGroup, Class<T> productType, Consumer<T> consumer) <T> void
forEachElement
(String productGroup, Class<T> productType, Function<String, String> descriptionProvider, Consumer<T> consumer) getElement
(String productGroup, String factoryType, String description) getElement
(String productGroup, String factoryType, String description, boolean activate) String[]
getElementKey
(Object element) <T> T
getElementOrNull
(String productGroup, String factoryType) <T> T
getElementOrNull
(String productGroup, String factoryType, String description) <T> T
getElementOrNull
(String productGroup, String factoryType, Tree config) Object[]
getElements
(String productGroup) Object[]
getElements
(String productGroup, String factoryType) getFactory
(String productGroup, String factoryType) getFactoryTypes
(String productGroup) getName()
Returns the name of this container, ornull
if no name has been set.void
loadElements
(InputStream stream) putElement
(String productGroup, String factoryType, String description, Object element) registerFactory
(IFactory factory) removeElement
(String productGroup, String factoryType, String description) void
removePostProcessor
(IElementProcessor postProcessor) void
saveElements
(OutputStream stream) void
Sets the name of this container before it is activated.unregisterFactory
(IFactory factory) Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.lifecycle.ILifecycle
activate, deactivate, getLifecycleState, isActive
Von Schnittstelle geerbte Methoden org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Methodendetails
-
getName
String getName()Returns the name of this container, ornull
if no name has been set.- Seit:
- 3.8
-
setName
Sets the name of this container before it is activated.- Seit:
- 3.8
-
getFactoryRegistry
IRegistry<IFactoryKey,IFactory> getFactoryRegistry() -
registerFactory
-
unregisterFactory
- Seit:
- 3.23
-
getPostProcessors
List<IElementProcessor> getPostProcessors() -
addPostProcessor
-
addPostProcessor
-
removePostProcessor
-
getProductGroups
-
getFactoryTypes
-
getFactory
- Löst aus:
FactoryNotFoundException
-
putElement
-
getElementKey
-
getElements
-
getElements
-
getElement
Object getElement(String productGroup, String factoryType, String description) throws FactoryNotFoundException, ProductCreationException -
getElement
Object getElement(String productGroup, String factoryType, String description, boolean activate) throws FactoryNotFoundException, ProductCreationException - Löst aus:
FactoryNotFoundException
ProductCreationException
- Seit:
- 2.0
-
getElementOrNull
- Löst aus:
ProductCreationException
- Seit:
- 3.23
-
getElementOrNull
<T> T getElementOrNull(String productGroup, String factoryType, String description) throws ProductCreationException - Löst aus:
ProductCreationException
- Seit:
- 3.14
-
getElementOrNull
<T> T getElementOrNull(String productGroup, String factoryType, Tree config) throws ProductCreationException - Löst aus:
ProductCreationException
- Seit:
- 3.23
-
createElement
<T> T createElement(String productGroup, String factoryType, String description) throws FactoryNotFoundException, ProductCreationException - Löst aus:
FactoryNotFoundException
ProductCreationException
- Seit:
- 3.23
-
createElement
<T> T createElement(String productGroup, String factoryType, Tree config) throws FactoryNotFoundException, ProductCreationException - Löst aus:
FactoryNotFoundException
ProductCreationException
- Seit:
- 3.23
-
countElements
- Seit:
- 3.22
-
countElements
- Seit:
- 3.22
-
removeElement
-
forEachElement
<T> void forEachElement(String productGroup, Class<T> productType, Function<String, String> descriptionProvider, Consumer<T> consumer) - Seit:
- 3.13
-
forEachElement
<T> void forEachElement(String productGroup, Class<T> productType, String description, Consumer<T> consumer) - Seit:
- 3.13
-
forEachElement
- Seit:
- 3.13
-
clearElements
void clearElements() -
loadElements
void loadElements(InputStream stream) throws IOException, FactoryNotFoundException, ProductCreationException -
saveElements
- Löst aus:
IOException
-