org.objectweb.jonathan.apis.kernel
Interface Instanciable
- JAssemblage
public interface Instanciable
Instanciable
represents an object (a service) created by its factory.
Instanciables are used in order to prevent side effects while creating services.
For the time being, they are used in case of circularity not to call their
factory twice by stack returned when the service still exists.
getInstance
public Object getInstance()
Return the service's instance.
- the service's instance.
isInstanciated
public boolean isInstanciated()
Test if the service still exists.
- true if the service still exists, false otherwise.