Class ClassManagedFunctionSource
java.lang.Object
net.officefloor.compile.spi.managedfunction.source.impl.AbstractManagedFunctionSource
net.officefloor.plugin.clazz.method.AbstractFunctionManagedFunctionSource
net.officefloor.plugin.managedfunction.clazz.ClassManagedFunctionSource
- All Implemented Interfaces:
ManagedFunctionSourceService<ClassManagedFunctionSource>,ManagedFunctionSourceServiceFactory,ManagedFunctionSource,ServiceFactory<ManagedFunctionSourceService<?>>
public class ClassManagedFunctionSource
extends AbstractFunctionManagedFunctionSource
implements ManagedFunctionSourceService<ClassManagedFunctionSource>, ManagedFunctionSourceServiceFactory
- Author:
- Daniel Sagenschneider
-
Nested Class Summary
Nested classes/interfaces inherited from class net.officefloor.compile.spi.managedfunction.source.impl.AbstractManagedFunctionSource
AbstractManagedFunctionSource.SpecificationContext -
Field Summary
Fields inherited from class net.officefloor.plugin.clazz.method.AbstractFunctionManagedFunctionSource
CLASS_NAME_PROPERTY_NAME, PROPERTY_FUNCTION_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateService(ServiceContext context) Creates the service.Obtains the alias for theManagedFunctionSourceClass.Obtains theManagedFunctionSourceClass.Methods inherited from class net.officefloor.plugin.clazz.method.AbstractFunctionManagedFunctionSource
buildMethod, loadSpecification, sourceManagedFunctionsMethods inherited from class net.officefloor.compile.spi.managedfunction.source.impl.AbstractManagedFunctionSource
getSpecification
-
Constructor Details
-
ClassManagedFunctionSource
public ClassManagedFunctionSource()
-
-
Method Details
-
createService
Description copied from interface:ServiceFactoryCreates the service.- Specified by:
createServicein interfaceServiceFactory<ManagedFunctionSourceService<?>>- Parameters:
context-ServiceContext.- Returns:
- Service.
- Throws:
Throwable- If fails to create the service.
-
getManagedFunctionSourceAlias
Description copied from interface:ManagedFunctionSourceServiceObtains the alias for theManagedFunctionSourceClass.- Specified by:
getManagedFunctionSourceAliasin interfaceManagedFunctionSourceService<ClassManagedFunctionSource>- Returns:
- Alias for the
ManagedFunctionSourceClass.
-
getManagedFunctionSourceClass
Description copied from interface:ManagedFunctionSourceServiceObtains theManagedFunctionSourceClass.- Specified by:
getManagedFunctionSourceClassin interfaceManagedFunctionSourceService<ClassManagedFunctionSource>- Returns:
ManagedFunctionSourceClass.
-