Class ObjectClassDependencyManufacturer
java.lang.Object
net.officefloor.plugin.clazz.dependency.impl.ObjectClassDependencyManufacturer
- All Implemented Interfaces:
ClassDependencyManufacturer
public class ObjectClassDependencyManufacturer
extends Object
implements ClassDependencyManufacturer
ClassDependencyManufacturer for providing a dependency
Object.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates theClassDependencyFactoryfor the particular dependency.
-
Constructor Details
-
ObjectClassDependencyManufacturer
public ObjectClassDependencyManufacturer()
-
-
Method Details
-
createParameterFactory
public ClassDependencyFactory createParameterFactory(ClassDependencyManufacturerContext context) throws Exception Description copied from interface:ClassDependencyManufacturerCreates the
ClassDependencyFactoryfor the particular dependency.Should the
ClassDependencyManufacturernot handled the dependency, it should returnnull. This is because the firstClassDependencyManufacturerproviding aClassDependencyFactorywill be used.- Specified by:
createParameterFactoryin interfaceClassDependencyManufacturer- Parameters:
context-ClassDependencyManufacturerContext.- Returns:
ClassDependencyFactoryornullif not able to handle dependency.- Throws:
Exception- If fails to create theClassDependencyFactory.
-