org.wso2.registry.jdbc.handlers
Class CustomEditManager
java.lang.Object
org.wso2.registry.jdbc.handlers.CustomEditManager
public class CustomEditManager
- extends java.lang.Object
Manages execution of EditProcessor implementations of custom UIs. EditProcessors are
registered in this class at the initialization of the registry.
Method Summary |
void |
addProcessor(java.lang.String processorKey,
EditProcessor editProcessor)
Registers EditProcessors in the registry. |
void |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles edit and new resource requests generated from custom UIs by delegating them to
corresponding EditProcessors. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomEditManager
public CustomEditManager()
addProcessor
public void addProcessor(java.lang.String processorKey,
EditProcessor editProcessor)
- Registers EditProcessors in the registry.
- Parameters:
processorKey
- Edit processor key given in the configuration. This is used to refer
edit processors by custom UIs.editProcessor
- EditProcessor implementation.
process
public void process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws RegistryException
- Handles edit and new resource requests generated from custom UIs by delegating them to
corresponding EditProcessors.
- Parameters:
request
- HttpServletRequest containing the request details.response
- HttpServletResponse to be filled with response details.
- Throws:
RegistryException
- Throws if edit processor key is not specified in the requet,
EditProcessor is not associated with the given key or view type parameter is not specified
in the request.
Copyright © 2007 Apache Web Services Project. All Rights Reserved.