|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.webapp.ws.XmlrpcManager
public class XmlrpcManager
The singleton maps XMLRPC path to handlers.
| Field Summary | |
|---|---|
protected static Logger |
log
|
| Method Summary | |
|---|---|
URL |
addServerWithPrefix(String prefix,
Object handler)
Use the variant with AppSession, if you can. |
URL |
addServerWithPrefix(String prefix,
Object handler,
AppSession session)
Computes a random URL not yet used and attaches the handler at this path, starting with /prefix. |
void |
clearServicesForSession(AppSession session)
|
static XmlrpcManager |
getInstance()
|
protected org.activemath.webapp.ws.XmlrpcHandler |
getServerForPath(String path)
|
String |
getXmlrpcPath()
|
void |
removeServer(Object handler)
|
void |
removeServerFoPath(String path)
|
void |
sessionShutdown(AppSession session)
This is called on AppSession shutdown. |
void |
setXmlrpcPath(String xmlrpcPath)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Logger log
| Method Detail |
|---|
public static XmlrpcManager getInstance()
public URL addServerWithPrefix(String prefix,
Object handler)
public URL addServerWithPrefix(String prefix,
Object handler,
AppSession session)
prefix - handler -
public void sessionShutdown(AppSession session)
sessionShutdown in interface AppSessionShutdownHookpublic void removeServerFoPath(String path)
public void removeServer(Object handler)
public void clearServicesForSession(AppSession session)
protected org.activemath.webapp.ws.XmlrpcHandler getServerForPath(String path)
public String getXmlrpcPath()
public void setXmlrpcPath(String xmlrpcPath)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||