|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RestModule
Interface for nestable rest modules, implemented by both servlets and modules.
| Method Summary | |
|---|---|
Configuration |
getConfiguration()
Get a reference to the configuration instance for the current module. |
ServiceLocator |
getLocator()
Get the service locator reference, if any was configured. |
org.apache.commons.logging.Log |
getLogger()
Get the logger for the current servlet. |
java.lang.String |
getModuleName()
Get the REST module name; this will be used in mappings and path-info to identify if a request belongs or not to the current module. |
int |
getNestedIndex()
Get the nested index of available path-info params between this module and the previous one. |
java.util.List<RestModule> |
getNestedModules()
Get the not-null maybe empty list of nested modules inside this instance. |
RestModule |
getParentModule()
Get the parent module; servlets have no parent module and return null; other components always return not null. |
RestModule |
getRootModule()
Convenience method to obtain the root module. |
| Method Detail |
|---|
java.util.List<RestModule> getNestedModules()
RestModule getParentModule()
RestModule getRootModule()
int getNestedIndex()
java.lang.String getModuleName()
org.apache.commons.logging.Log getLogger()
ServiceLocator getLocator()
Configuration getConfiguration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||