Class ProcedureLoaderImpl
- java.lang.Object
-
- net.officefloor.activity.impl.procedure.ProcedureLoaderImpl
-
- All Implemented Interfaces:
ProcedureLoader
public class ProcedureLoaderImpl extends java.lang.Object implements ProcedureLoader
ProcedureLoader
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ProcedureLoaderImpl(OfficeFloorCompiler compiler)
Instantiate.ProcedureLoaderImpl(OfficeArchitect architect, OfficeSourceContext context)
Instantiate.ProcedureLoaderImpl(SectionDesigner designer, SectionSourceContext context)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Procedure[]
listProcedures(java.lang.String resource)
Lists the availableProcedure
instances from theClass
.ProcedureType
loadProcedureType(java.lang.String resource, java.lang.String serviceName, java.lang.String procedureName, PropertyList properties)
Loads theProcedureType
for theProcedure
.
-
-
-
Constructor Detail
-
ProcedureLoaderImpl
public ProcedureLoaderImpl(OfficeFloorCompiler compiler)
Instantiate.- Parameters:
compiler
-OfficeFloorCompiler
.
-
ProcedureLoaderImpl
public ProcedureLoaderImpl(OfficeArchitect architect, OfficeSourceContext context)
Instantiate.- Parameters:
architect
-OfficeArchitect
.context
-OfficeSourceContext
.
-
ProcedureLoaderImpl
public ProcedureLoaderImpl(SectionDesigner designer, SectionSourceContext context)
Instantiate.- Parameters:
designer
-SectionDesigner
.context
-SectionSourceContext
.
-
-
Method Detail
-
listProcedures
public Procedure[] listProcedures(java.lang.String resource)
Description copied from interface:ProcedureLoader
Lists the availableProcedure
instances from theClass
.- Specified by:
listProcedures
in interfaceProcedureLoader
- Parameters:
resource
- Resource.- Returns:
- Listing of available
Procedure
instances ornull
with issues reported toCompilerIssues
.
-
loadProcedureType
public ProcedureType loadProcedureType(java.lang.String resource, java.lang.String serviceName, java.lang.String procedureName, PropertyList properties)
Description copied from interface:ProcedureLoader
Loads theProcedureType
for theProcedure
.- Specified by:
loadProcedureType
in interfaceProcedureLoader
- Parameters:
resource
- Resource.serviceName
-ProcedureSource
name.procedureName
-Procedure
name.properties
-PropertyList
.- Returns:
ProcedureType
for theProcedure
ornull
with issues reported toCompilerIssues
.
-
-