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