com.atlassian.plugin.osgi.factory
Class UnavailableModuleDescriptorRequiringRestartFallbackFactory
java.lang.Object
com.atlassian.plugin.osgi.factory.UnavailableModuleDescriptorRequiringRestartFallbackFactory
- All Implemented Interfaces:
- ModuleDescriptorFactory
public class UnavailableModuleDescriptorRequiringRestartFallbackFactory
- extends Object
- implements ModuleDescriptorFactory
Return placeholder UnrecognisedModuleDescriptor instances marked with @RequiresRestart
for any descriptors in the underlying ModuleDescriptorFactory that have that annotation. This
is for module descriptors that won't be used yet but where we need to report the RequresRestart status
back.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR_TEXT
public static final String DESCRIPTOR_TEXT
- See Also:
- Constant Field Values
UnavailableModuleDescriptorRequiringRestartFallbackFactory
public UnavailableModuleDescriptorRequiringRestartFallbackFactory(ModuleDescriptorFactory underlying)
getModuleDescriptor
public UnrecognisedModuleDescriptorRequiringRestart getModuleDescriptor(String type)
throws PluginParseException,
IllegalAccessException,
InstantiationException,
ClassNotFoundException
- Specified by:
getModuleDescriptor in interface ModuleDescriptorFactory
- Throws:
PluginParseException
IllegalAccessException
InstantiationException
ClassNotFoundException
getModuleDescriptorClass
public Class<? extends ModuleDescriptor<?>> getModuleDescriptorClass(String type)
- Specified by:
getModuleDescriptorClass in interface ModuleDescriptorFactory
hasModuleDescriptor
public boolean hasModuleDescriptor(String type)
- Specified by:
hasModuleDescriptor in interface ModuleDescriptorFactory
Copyright © 2015 Atlassian. All rights reserved.