|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- public interface IFactory<T>
IFactory
.
Just declare an instance of this interface instead of the concrete class.
Not that your implementation needs to have a default constructor.
Any setter or adder methods declared on the factory implementations will be called before
the MWE engine calls create()
. The rest of the assignments will be set on the created Object.Method Summary | |
---|---|
T |
create()
|
Method Detail |
---|
T create()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |