Class HttpSecuritySourceSpecificationRunnable
java.lang.Object
net.officefloor.web.security.type.HttpSecuritySourceSpecificationRunnable
- All Implemented Interfaces:
OfficeFloorCompilerRunnable<PropertyList>
public class HttpSecuritySourceSpecificationRunnable
extends Object
implements OfficeFloorCompilerRunnable<PropertyList>
OfficeFloorCompilerRunnable to obtain the specification for the
HttpSecuritySource.- Author:
- Daniel Sagenschneider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyListloadSpecification(String httpSecuritySourceClassName, OfficeFloorCompiler compiler) Convenience method to load the specification for theHttpSecuritySource.run(OfficeFloorCompiler compiler, Object[] parameters) Contains the runnable functionality.
-
Constructor Details
-
HttpSecuritySourceSpecificationRunnable
public HttpSecuritySourceSpecificationRunnable()
-
-
Method Details
-
loadSpecification
public static PropertyList loadSpecification(String httpSecuritySourceClassName, OfficeFloorCompiler compiler) throws Exception Convenience method to load the specification for theHttpSecuritySource.- Parameters:
httpSecuritySourceClassName-HttpSecuritySourceclass name.compiler-OfficeFloorCompiler.- Returns:
PropertyList.- Throws:
Exception- If failure in loading sspecification.
-
run
Description copied from interface:OfficeFloorCompilerRunnableContains the runnable functionality.- Specified by:
runin interfaceOfficeFloorCompilerRunnable<PropertyList>- Parameters:
compiler-OfficeFloorCompilerloaded with theClassLoader.parameters- Parameters. AsProxyinstances are used to bridgeClasscompatibility issues of using differentClassLoaderinstances, parameters should only be referenced by their implementing interfaces.- Returns:
- Result from runnable.
- Throws:
Exception- If failure in running.
-