public class SimpleControllerMethodLinkBuilderFactory extends Object implements ControllerMethodLinkBuilderFactory, MethodLinkFactoryRegistry
ControllerMethodLinkBuilderFactory, as
well as the MethodLinkFactoryRegistry.
It allows to register implementations of MethodLinkFactory instances
linked to controllers, allowing to use them to create
MethodLinkBuilderFactory instances for those controllers.| Constructor and Description |
|---|
SimpleControllerMethodLinkBuilderFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T> MethodLinkBuilderFactory<T> |
of(Class<T> controller)
Returns a
MethodLinkBuilderFactory to create links to methods of
the given controller |
MethodLinkBuilderFactory<?> |
of(String controllerClassName)
Returns a
MethodLinkBuilderFactory to create links to methods of
the given controller |
void |
register(MethodLinkFactory<?> factory)
Add the given
MethodLinkFactory to the registry. |
public SimpleControllerMethodLinkBuilderFactory()
public void register(MethodLinkFactory<?> factory)
MethodLinkFactoryRegistryMethodLinkFactory to the registry.register in interface MethodLinkFactoryRegistryfactory - to registerpublic <T> MethodLinkBuilderFactory<T> of(Class<T> controller)
ControllerMethodLinkBuilderFactoryMethodLinkBuilderFactory to create links to methods of
the given controllerof in interface ControllerMethodLinkBuilderFactorycontroller - the create links topublic MethodLinkBuilderFactory<?> of(String controllerClassName)
ControllerMethodLinkBuilderFactoryMethodLinkBuilderFactory to create links to methods of
the given controllerof in interface ControllerMethodLinkBuilderFactoryCopyright © 2018 DISID Corporation. All rights reserved.