|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cruxframework.crux.core.server.CruxBridge
public class CruxBridge
A Bridge class for allow Generators to know the name of the module that starts the generation process. Crux Generators need this information to obtain better performance for method handlers in client side of applications.
When GWT generators and the application server run in different JVMs, the only way to obtain these informations is using a bridge.
| Method Summary | |
|---|---|
static CruxBridge |
getInstance()
Singleton method |
String |
getLastPageRequested()
Return the last page requested by client. |
String |
getOutputCharset()
Return the last page requested by client. |
String |
getWebinfClasses()
Return the web-inf/classes URL . |
String |
getWebinfLib()
Return the web-inf/lib URL. |
boolean |
isSingleVM()
|
void |
registerLastPageRequested(String lastPage)
Inform the name of the last page the client requested. |
void |
registerPageOutputCharset(String charset)
|
void |
registerWebinfClasses(String webinfClasses)
|
void |
registerWebinfLib(String webinfLib)
|
static void |
removeOldCompilationFiles()
|
void |
setSingleVM(boolean singleVM)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void removeOldCompilationFiles()
public static CruxBridge getInstance()
public String getLastPageRequested()
public String getOutputCharset()
public String getWebinfClasses()
public String getWebinfLib()
public boolean isSingleVM()
public void registerPageOutputCharset(String charset)
public void registerLastPageRequested(String lastPage)
public void registerWebinfClasses(String webinfClasses)
webinfClasses - public void registerWebinfLib(String webinfLib)
webinfLib - public void setSingleVM(boolean singleVM)
singleVM -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||