Package restx.factory
Class SingletonFactoryMachine<C>
java.lang.Object
restx.factory.SingleNameFactoryMachine<C>
restx.factory.SingletonFactoryMachine<C>
- All Implemented Interfaces:
FactoryMachine
A singleton factory machine provides a boundless component box made up of a component created
at instanciation time.
This is better suited to tests, for production code prefer a SingleNameFactoryMachine which
constructs the component on demand (which is better especially if the component is overriden).
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class restx.factory.SingleNameFactoryMachine
canBuild, getEngine, nameBuildableComponents, priority
-
Constructor Details
-
SingletonFactoryMachine
-
-
Method Details
-
toString
- Overrides:
toStringin classSingleNameFactoryMachine<C>
-