org.eclipse.net4j.util.container
Interface IManagedContainerFactory

All Superinterfaces:
IFactory

public interface IManagedContainerFactory
extends IFactory

An extension of the IFactory protocol that provides an awareness of the container that instantiated it, so that the factory may reach back into that container for dependencies.

Since:
3.3

Method Summary
 IManagedContainer getManagedContainer()
          Obtains the container that I should use to get my dependencies.
 void setManagedContainer(IManagedContainer container)
          Assigns the container that I should use to get my dependencies.
 
Methods inherited from interface org.eclipse.net4j.util.factory.IFactory
create, getDescriptionFor, getKey
 

Method Detail

getManagedContainer

IManagedContainer getManagedContainer()
Obtains the container that I should use to get my dependencies.


setManagedContainer

void setManagedContainer(IManagedContainer container)
Assigns the container that I should use to get my dependencies.

Parameters:
container - the container in which I am created/registered


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