Class InterlinkReflectionInfo
java.lang.Object
com.broadleafcommerce.data.tracking.core.interlink.InterlinkReflectionInfo
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanFactoryAware
public class InterlinkReflectionInfo
extends Object
implements org.springframework.beans.factory.BeanFactoryAware
Provide optional reflection information about an endpoint method. Necessary for
DefaultInterlinkClient to perform local, reflective calls instead of remote HTTPS calls
when the destination method is resident in the same FlexPackage.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
-
Constructor Details
-
InterlinkReflectionInfo
public InterlinkReflectionInfo(String name, String controllerClass, String controllerMethod, List<String> paramTypes) Construct the info.- Parameters:
name- Identifying name. Must matchInterlinkRequest.getName()for a successful local call completion.controllerClass- Fully qualified class name of the endpoint controller.controllerMethod- Method name of the controller method to call.paramTypes- The fully qualified type names of the controller method parameters.
-
-
Method Details
-
setBeanFactory
public void setBeanFactory(@NonNull org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Throws:
org.springframework.beans.BeansException
-
getName
-
getEndpointMethod
-
getEndpointSupplier
-