Class AddonDescriptorLoader
- java.lang.Object
-
- com.atlassian.connect.spring.internal.descriptor.AddonDescriptorLoader
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ResourceLoaderAware
@Component public class AddonDescriptorLoader extends Object implements org.springframework.context.ResourceLoaderAware
A loader of Atlassian Connect add-on descriptors, providing replacement of configuration placeholders.
-
-
Field Summary
Fields Modifier and Type Field Description static String
DESCRIPTOR_FILENAME
static String
DESCRIPTOR_RESOURCE_PATH
-
Constructor Summary
Constructors Constructor Description AddonDescriptorLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddonDescriptor
getDescriptor()
String
getRawDescriptor()
void
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
-
-
-
Field Detail
-
DESCRIPTOR_FILENAME
public static final String DESCRIPTOR_FILENAME
- See Also:
- Constant Field Values
-
DESCRIPTOR_RESOURCE_PATH
public static final String DESCRIPTOR_RESOURCE_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
- Specified by:
setResourceLoader
in interfaceorg.springframework.context.ResourceLoaderAware
-
getDescriptor
public AddonDescriptor getDescriptor()
-
getRawDescriptor
public String getRawDescriptor()
-
-