org.codegist.crest.config
Class PreconfiguredInterfaceConfigFactory
java.lang.Object
org.codegist.crest.config.PreconfiguredInterfaceConfigFactory
- All Implemented Interfaces:
- InterfaceConfigFactory
public class PreconfiguredInterfaceConfigFactory
- extends Object
- implements InterfaceConfigFactory
Preconfigured InterfaceConfigFactory holding a mapping class->InterfaceConfig.
- Author:
- Laurent Gilles (laurent.gilles@codegist.org)
PreconfiguredInterfaceConfigFactory
public PreconfiguredInterfaceConfigFactory(InterfaceConfig... configs)
newConfig
public InterfaceConfig newConfig(Class<?> interfaze,
CRestContext context)
- Specified by:
newConfig
in interface InterfaceConfigFactory
- Parameters:
interfaze
- Interface to build the configuration fromcontext
- Current CRest context
- Returns:
- The interface config object.
- See Also:
InterfaceConfigFactory
Copyright © 2011. All Rights Reserved.