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.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getInstance()
Return the service's instance.
|
boolean |
isInstanciated()
Test if the service still exists.
|