Package org.exoplatform.services.rest
Interface ConstructorDescriptor
- All Superinterfaces:
ResourceDescriptor
- All Known Implementing Classes:
ConstructorDescriptorImpl
Abstraction of constructor descriptor. Used for create object instance when
type is used in per-request lifecycle.
- Version:
- $Id: $
- Author:
- Andrey Parfonov
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(ApplicationContext context) Constructor<?> Get source constructor.Methods inherited from interface org.exoplatform.services.rest.resource.ResourceDescriptor
accept
-
Method Details
-
createInstance
- Parameters:
context- ApplicationContext- Returns:
- newly created instance of the constructor's
- See Also:
-
getConstructor
Constructor<?> getConstructor()Get source constructor.- Returns:
- constructor
- See Also:
-
getParameters
List<ConstructorParameter> getParameters()- Returns:
- constructor's parameters
-