|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISiteControllerRegistry
A registry keeping associations between site types (site URI schemas) and controller classes
| Method Summary | |
|---|---|
ISiteController |
getController(ISite site)
get the controller for the given site |
ISiteController |
getController(java.lang.String schema)
get the controller corresponding to the given site type |
void |
registerController(java.lang.String schema,
java.lang.Class klass)
Register a controller class with the given site type |
void |
unregisterController(java.lang.String schema)
Unregister the asscociated controller for the given site type if any |
| Method Detail |
|---|
void registerController(java.lang.String schema,
java.lang.Class klass)
schema - the site type (site URI schema)klass - the controller classvoid unregisterController(java.lang.String schema)
schema - the site type (site URI schema)ISiteController getController(ISite site)
site - the site
NullSiteController if no controller was registeredISiteController getController(java.lang.String schema)
schema - the site type (site URI schema)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||