public interface FactoryManaged
Any interface that defines methods for implementations that are supposed to be managed by the factory should extend this interface. This will ensure that the actual class implements the methods that are needed by the factory to successfully manage the instances.
Modifier and Type | Method and Description |
---|---|
void |
setFactory(Factory factory)
When a factory creates an instance of a class implementing this interface
this method is called to register the factory that created the instance.
|
void setFactory(Factory factory)
factory
- the factory that manages the instance.Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.