public interface IManagedContainer extends IContainer<Object>, ILifecycle
Modifier and Type | Interface and Description |
---|---|
static interface |
IManagedContainer.ContainerAware |
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>
ILifecycle.DeferrableActivation
getElements, isEmpty
activate, deactivate, getLifecycleState, isActive
addListener, getListeners, hasListeners, removeListener
IRegistry<IFactoryKey,IFactory> getFactoryRegistry()
IManagedContainer registerFactory(IFactory factory)
List<IElementProcessor> getPostProcessors()
void addPostProcessor(IElementProcessor postProcessor, boolean processExistingElements)
void addPostProcessor(IElementProcessor postProcessor)
void removePostProcessor(IElementProcessor postProcessor)
IFactory getFactory(String productGroup, String factoryType) throws FactoryNotFoundException
FactoryNotFoundException
Object putElement(String productGroup, String factoryType, String description, Object element)
Object getElement(String productGroup, String factoryType, String description) throws FactoryNotFoundException, ProductCreationException
Object getElement(String productGroup, String factoryType, String description, boolean activate) throws FactoryNotFoundException, ProductCreationException
FactoryNotFoundException
ProductCreationException
void clearElements()
void loadElements(InputStream stream) throws IOException, FactoryNotFoundException, ProductCreationException
void saveElements(OutputStream stream) throws IOException
IOException
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.