Package org.gcube.smartgears.extensions
Interface ApplicationExtension
-
- All Superinterfaces:
javax.servlet.Servlet
- All Known Implementing Classes:
ApiResource,ConfigurationResource,FrontPageResource,HttpController,HttpExtension,LifecycleResource,ProfileResource,RemoteResource
public interface ApplicationExtension extends javax.servlet.ServletA servlet that allows remote management of the application.- Author:
- Fabio Simeoni
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Exclude>excludes()Returns the set of request paths that should be excluded from request management.voidinit(ApplicationContext context)Initialises the extensions with the context of the application.Stringmapping()Returns the mapping of this extension.Stringname()Returns the name of this extension.
-
-
-
Method Detail
-
init
void init(ApplicationContext context) throws Exception
Initialises the extensions with the context of the application.- Parameters:
context- the application context- Throws:
Exception- if the extension cannot be initialised
-
name
String name()
Returns the name of this extension.- Returns:
- the name
-
mapping
String mapping()
Returns the mapping of this extension.- Returns:
- the mapping
-
-