New Jide License
[indepmod/experimental.git] / IndependentModeler / src / cz / cvut / promod / services / extensionService / ExtensionService.java
blob786109582c7cae5ba2ddb5c43bcf9f1dd2246d6b
1 package cz.cvut.promod.services.extensionService;
3 import cz.cvut.promod.plugin.extension.Extension;
4 import cz.cvut.promod.services.Service;
6 import java.util.List;
8 /**
9 * ProMod, master thesis project
10 * User: Petr Zverina, petr.zverina@gmail.com
11 * Date: 1:40:57, 26.1.2010
14 /**
15 * Extension Service is a access point to all loaded extensions.
17 public interface ExtensionService extends Service {
19 /**
20 * Returns the extension that is specified by the identifier.
22 * @param identifier is the extension's identifier
24 * @return required extension, null if there is not such a extension
26 public Extension getExtension(final String identifier);
28 /**
29 * Returns a list of all extensions.
31 * @return a list of all extensions
33 public List<Extension> getExtensions();