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 Constructor Description ClassManagedFunctionSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedFunctionSourceService<?>
createService(ServiceContext context)
Creates the service.java.lang.String
getManagedFunctionSourceAlias()
Obtains the alias for theManagedFunctionSource
Class
.java.lang.Class<ClassManagedFunctionSource>
getManagedFunctionSourceClass()
Obtains theManagedFunctionSource
Class
.-
Methods inherited from class net.officefloor.plugin.clazz.method.AbstractFunctionManagedFunctionSource
buildMethod, loadSpecification, sourceManagedFunctions
-
Methods inherited from class net.officefloor.compile.spi.managedfunction.source.impl.AbstractManagedFunctionSource
getSpecification
-
-
-
-
Method Detail
-
createService
public ManagedFunctionSourceService<?> createService(ServiceContext context) throws java.lang.Throwable
Description copied from interface:ServiceFactory
Creates the service.- Specified by:
createService
in interfaceServiceFactory<ManagedFunctionSourceService<?>>
- Parameters:
context
-ServiceContext
.- Returns:
- Service.
- Throws:
java.lang.Throwable
- If fails to create the service.
-
getManagedFunctionSourceAlias
public java.lang.String getManagedFunctionSourceAlias()
Description copied from interface:ManagedFunctionSourceService
Obtains the alias for theManagedFunctionSource
Class
.- Specified by:
getManagedFunctionSourceAlias
in interfaceManagedFunctionSourceService<ClassManagedFunctionSource>
- Returns:
- Alias for the
ManagedFunctionSource
Class
.
-
getManagedFunctionSourceClass
public java.lang.Class<ClassManagedFunctionSource> getManagedFunctionSourceClass()
Description copied from interface:ManagedFunctionSourceService
Obtains theManagedFunctionSource
Class
.- Specified by:
getManagedFunctionSourceClass
in interfaceManagedFunctionSourceService<ClassManagedFunctionSource>
- Returns:
ManagedFunctionSource
Class
.
-
-