public class Dispatcher
extends java.lang.Object
Constructor and Description |
---|
Dispatcher()
New dispatcher looking for a given jar
|
Dispatcher(java.io.File jarDir,
int reload)
New dispatcher looking for a given jar
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
deploy(ICS ics,
java.lang.String sites,
java.lang.String user,
java.lang.String pass)
Deploy will invoke the
|
java.lang.String |
dispatch(ICS ics,
java.lang.String className)
Call the given class after reloading the jar and creating a wrapper for
ICS and the Element
|
java.lang.Class<?> |
loadClass(java.lang.String className)
Load a class from the classloader
|
java.lang.Class<?> |
loadSiteClass(ICS ics,
java.lang.String name)
Load a site specific class from the classloader
|
Call |
route(ICS ics,
java.lang.String site,
java.lang.String path,
java.lang.String query)
Route a call from the url assembler
|
public Dispatcher(java.io.File jarDir, int reload)
jar
- public Dispatcher()
jar
- public java.lang.String dispatch(ICS ics, java.lang.String className)
ics
- public java.lang.Class<?> loadClass(java.lang.String className)
ics
- name
- public java.lang.Class<?> loadSiteClass(ICS ics, java.lang.String name)
ics
- name
- public Call route(ICS ics, java.lang.String site, java.lang.String path, java.lang.String query) throws java.lang.Exception
ics
- java.lang.Exception
public java.lang.String deploy(ICS ics, java.lang.String sites, java.lang.String user, java.lang.String pass)
ics
-