|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Factory
Implement this in factory classes
Method Summary | ||
---|---|---|
|
newInstance(java.lang.Class<C> objectInterface)
Requests factory to create a new object implementing the given interface. |
Method Detail |
---|
<C extends FactoryObject> C newInstance(java.lang.Class<C> objectInterface) throws GeneralException
objectInterface
- Interface desired
GeneralException
- Factory may throw this exception if necessary
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |