org.gcube.smartgears.extensions
Interface ApplicationExtension

All Superinterfaces:
javax.servlet.Servlet
All Known Implementing Classes:
ApiResource, ConfigurationResource, FrontPageResource, HttpController, HttpExtension, LifecycleResource, ProfileResource, RemoteResource, ScopesResource

public interface ApplicationExtension
extends javax.servlet.Servlet

A servlet that allows remote management of the application.

Author:
Fabio Simeoni

Method Summary
 Set<String> excludes()
          Returns the set of request paths that should be excluded from request management.
 void init(ApplicationContext context)
          Initialises the extensions with the context of the application.
 String mapping()
          Returns the mapping of this extension.
 String name()
          Returns the name of this extension.
 
Methods inherited from interface javax.servlet.Servlet
destroy, getServletConfig, getServletInfo, init, service
 

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

excludes

Set<String> excludes()
Returns the set of request paths that should be excluded from request management.

Returns:
the set of request paths that should be excluded from request management


Copyright © 2013. All Rights Reserved.