Package org.nekosoft.pdffer.registry
Class PdfferTemplateScopeMetadataResolver
java.lang.Object
org.nekosoft.pdffer.registry.PdfferTemplateScopeMetadataResolver
- All Implemented Interfaces:
org.springframework.context.annotation.ScopeMetadataResolver
public class PdfferTemplateScopeMetadataResolver
extends Object
implements org.springframework.context.annotation.ScopeMetadataResolver
Determines the scope of a PDF template bean on the basis of the
scope
attribute of the PdfTemplateComponent
annotation.
The value of the attribute is passed on to Spring as the scope of bean. The default is "prototype".
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.context.annotation.ScopeMetadata
resolveScopeMetadata(org.springframework.beans.factory.config.BeanDefinition definition)
-
Constructor Details
-
PdfferTemplateScopeMetadataResolver
public PdfferTemplateScopeMetadataResolver()
-
-
Method Details
-
resolveScopeMetadata
public org.springframework.context.annotation.ScopeMetadata resolveScopeMetadata(org.springframework.beans.factory.config.BeanDefinition definition)- Specified by:
resolveScopeMetadata
in interfaceorg.springframework.context.annotation.ScopeMetadataResolver
-