Class PropertyParameterManufacturer
- java.lang.Object
-
- net.officefloor.plugin.managedfunction.method.parameter.PropertyParameterManufacturer
-
- All Implemented Interfaces:
ServiceFactory<MethodParameterManufacturer>
,MethodParameterManufacturer
,MethodParameterManufacturerServiceFactory
public class PropertyParameterManufacturer extends java.lang.Object implements MethodParameterManufacturer, MethodParameterManufacturerServiceFactory
MethodParameterManufacturer
for theProperty
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description PropertyParameterManufacturer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodParameterFactory
createParameterFactory(MethodParameterManufacturerContext context)
Creates theMethodParameterFactory
for the particular parameter.MethodParameterManufacturer
createService(ServiceContext context)
Creates the service.
-
-
-
Method Detail
-
createService
public MethodParameterManufacturer createService(ServiceContext context) throws java.lang.Throwable
Description copied from interface:ServiceFactory
Creates the service.- Specified by:
createService
in interfaceServiceFactory<MethodParameterManufacturer>
- Parameters:
context
-ServiceContext
.- Returns:
- Service.
- Throws:
java.lang.Throwable
- If fails to create the service.
-
createParameterFactory
public MethodParameterFactory createParameterFactory(MethodParameterManufacturerContext context) throws java.lang.Exception
Description copied from interface:MethodParameterManufacturer
Creates the
MethodParameterFactory
for the particular parameter.Should the
MethodParameterManufacturer
not handled the parameter, it should returnnull
. This is because the firstMethodParameterManufacturer
providing aMethodParameterFactory
will be used.- Specified by:
createParameterFactory
in interfaceMethodParameterManufacturer
- Parameters:
context
-MethodParameterManufacturerContext
.- Returns:
MethodParameterFactory
ornull
if not able to handle parameter.- Throws:
java.lang.Exception
- If fails to create theMethodParameterFactory
.
-
-