Package net.officefloor.compile
Interface TypeLoader
- All Known Implementing Classes:
OfficeFloorCompilerImpl
public interface TypeLoader
Encapsulates ClassLoader handling to load the various
OfficeFloor types.
As the OfficeFloorCompiler being used may be loading Class
instances via an alternate ClassLoader, this interface provides means
to use that alternate ClassLoader to load the necessary
OfficeFloor types.
- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionloadManagedFunctionType(String managedFunctionName, String managedFunctionSourceClassName, PropertyList properties) Loads theFunctionNamespaceType.loadManagedObjectType(String managedObjectName, String managedObjectSourceClassName, PropertyList properties) Loads theManagedObjectType.
-
Method Details
-
loadManagedFunctionType
FunctionNamespaceType loadManagedFunctionType(String managedFunctionName, String managedFunctionSourceClassName, PropertyList properties) Loads theFunctionNamespaceType.- Parameters:
managedFunctionName- Name ofManagedFunctionSource.managedFunctionSourceClassName-ManagedFunctionSourceclass name.properties-PropertyList.- Returns:
FunctionNamespaceType.
-
loadManagedObjectType
ManagedObjectType<?> loadManagedObjectType(String managedObjectName, String managedObjectSourceClassName, PropertyList properties) Loads theManagedObjectType.- Parameters:
managedObjectName- Name of theManagedObjectSource.managedObjectSourceClassName-ManagedObjectSourceclass name.properties-PropertyList.- Returns:
ManagedObjectType.
-