|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.gwt.CmsGwtServiceContext
public class CmsGwtServiceContext
This class contains the data that should be cached for a specific service class.
We cache instances of this class rather than caching instances of CmsGwtService directly because
its superclass, RemoteServiceServlet, does some caching which we can't use because it doesn't
take the distinction between online and offline requests into account.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
CmsGwtServiceContext(String name)
Creates a new service context object. |
|
| Method Summary | |
|---|---|
void |
cmsEvent(CmsEvent event)
Acknowledge the occurrence of the specified event, implement this method to check for CmsEvents in your class. |
protected com.google.gwt.user.server.rpc.SerializationPolicy |
getSerializationPolicy(CmsObject cms,
String moduleBaseURL,
String strongName)
Returns the serialization policy for the service. |
protected String |
getSerializationPolicyPath(CmsObject cms,
String moduleBaseURL,
String strongName)
Finds the path of the serialization policy file. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CmsGwtServiceContext(String name)
name - an identifier which is used for debugging| Method Detail |
|---|
public void cmsEvent(CmsEvent event)
I_CmsEventListener
cmsEvent in interface I_CmsEventListenerevent - CmsEvent that has occurredI_CmsEventListener.cmsEvent(org.opencms.main.CmsEvent)public String toString()
toString in class ObjectObject.toString()
protected com.google.gwt.user.server.rpc.SerializationPolicy getSerializationPolicy(CmsObject cms,
String moduleBaseURL,
String strongName)
cms - the current CMS contextmoduleBaseURL - the module's base URLstrongName - the strong name of the service
protected String getSerializationPolicyPath(CmsObject cms,
String moduleBaseURL,
String strongName)
cms - the current CMS contextmoduleBaseURL - the GWT module's base urlstrongName - the strong name of the service
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||