public class SpringWebMvcProcedureRegistry extends Object implements SpringSupplierExtensionServiceFactory, SpringSupplierExtension
| Constructor and Description |
|---|
SpringWebMvcProcedureRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterSpringLoad(AfterSpringLoadSupplierExtensionContext context) |
SpringSupplierExtension |
createService(net.officefloor.frame.api.source.ServiceContext context) |
static void |
extractEndPointMethods(Class<?> controllerClass,
Consumer<Method> methodVisitor)
Extract the
RequestMapping Method instances. |
static org.springframework.web.servlet.HandlerExecutionChain |
getHandler(Class<?> controllerClass,
Method controllerMethod,
ClassLoader classLoader,
org.springframework.context.ConfigurableApplicationContext springContext)
|
static org.springframework.web.servlet.HandlerExecutionChain |
getHandler(Class<?> controllerClass,
String controllerMethodName,
ClassLoader classLoader,
org.springframework.context.ConfigurableApplicationContext springContext)
|
static void |
registerSpringControllerProcedure(SpringWebMvcProcedure procedure)
Registers a
SpringWebMvcProcedure. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeforeSpringLoad, configureSpring, decorateSpringBeanpublic static void registerSpringControllerProcedure(SpringWebMvcProcedure procedure)
SpringWebMvcProcedure.procedure - SpringWebMvcProcedure.public static void extractEndPointMethods(Class<?> controllerClass, Consumer<Method> methodVisitor)
RequestMapping Method instances.public static org.springframework.web.servlet.HandlerExecutionChain getHandler(Class<?> controllerClass, String controllerMethodName, ClassLoader classLoader, org.springframework.context.ConfigurableApplicationContext springContext) throws Exception
controllerClass - Controller Class.controllerMethodName - Name of the Controller Method.classLoader - ClassLoader.springContext - ConfigurableApplicationContext.HandlerExecutionChain for the Controller
Method. null if not found.Exception - If fails to obtain the HandlerExecutionChain.public static org.springframework.web.servlet.HandlerExecutionChain getHandler(Class<?> controllerClass, Method controllerMethod, ClassLoader classLoader, org.springframework.context.ConfigurableApplicationContext springContext) throws Exception
controllerClass - Controller Class.controllerMethod - Controller Method.classLoader - ClassLoader.springContext - ConfigurableApplicationContext.HandlerExecutionChain for the Controller
Method. null if not found.Exception - If fails to obtain the HandlerExecutionChain.public SpringSupplierExtension createService(net.officefloor.frame.api.source.ServiceContext context) throws Throwable
createService in interface net.officefloor.frame.api.source.ServiceFactory<SpringSupplierExtension>Throwablepublic void afterSpringLoad(AfterSpringLoadSupplierExtensionContext context) throws Exception
afterSpringLoad in interface SpringSupplierExtensionExceptionCopyright © 2005–2020 OfficeFloor. All rights reserved.