Package net.officefloor.compile
Interface TypeLoader
-
- All Known Implementing Classes:
OfficeFloorCompilerImpl
public interface TypeLoader
Encapsulates
ClassLoader
handling to load the variousOfficeFloor
types.As the
OfficeFloorCompiler
being used may be loadingClass
instances via an alternateClassLoader
, this interface provides means to use that alternateClassLoader
to load the necessaryOfficeFloor
types.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FunctionNamespaceType
loadManagedFunctionType(java.lang.String managedFunctionName, java.lang.String managedFunctionSourceClassName, PropertyList properties)
Loads theFunctionNamespaceType
.ManagedObjectType<?>
loadManagedObjectType(java.lang.String managedObjectName, java.lang.String managedObjectSourceClassName, PropertyList properties)
Loads theManagedObjectType
.
-
-
-
Method Detail
-
loadManagedFunctionType
FunctionNamespaceType loadManagedFunctionType(java.lang.String managedFunctionName, java.lang.String managedFunctionSourceClassName, PropertyList properties)
Loads theFunctionNamespaceType
.- Parameters:
managedFunctionName
- Name ofManagedFunctionSource
.managedFunctionSourceClassName
-ManagedFunctionSource
class name.properties
-PropertyList
.- Returns:
FunctionNamespaceType
.
-
loadManagedObjectType
ManagedObjectType<?> loadManagedObjectType(java.lang.String managedObjectName, java.lang.String managedObjectSourceClassName, PropertyList properties)
Loads theManagedObjectType
.- Parameters:
managedObjectName
- Name of theManagedObjectSource
.managedObjectSourceClassName
-ManagedObjectSource
class name.properties
-PropertyList
.- Returns:
ManagedObjectType
.
-
-