|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.util.ScriptLogAccessorProxy
public class ScriptLogAccessorProxy
This is a simple proxy for accessing script logs information whether the accessor is local or remote (in case of exploded deployment mode).
Constructor Summary | |
---|---|
ScriptLogAccessorProxy()
|
Method Summary | |
---|---|
static ScriptLogAccessorProxy |
getInstance()
Factory method to retrieve a proxy |
protected java.util.List |
getLocalObjects(RemoteScriptLogInfo[] remoteInfos)
Convert an array of remote object into a list of local domain object |
java.util.List |
getScriptLogInfos(long entityId,
java.lang.String entityClass)
Retrieve all the info beans on available script logs for given entity |
java.util.List |
getScriptLogInfos(java.lang.String scriptName,
java.lang.String scriptCategory)
Get all the info beans on available script logs for script having this name and category |
protected void |
initializeManagerOrService()
Initialize the local consumer manager or the remote service depending on the application setup and the application side we are on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScriptLogAccessorProxy()
Method Detail |
---|
public static ScriptLogAccessorProxy getInstance()
public java.util.List getScriptLogInfos(long entityId, java.lang.String entityClass)
entityId
- The id of entity to retrieve ScriptLogInfo objects forentityClass
- The class of entity to retrieve ScriptLogInfo objects for
ScriptLogInfo
available for entitypublic java.util.List getScriptLogInfos(java.lang.String scriptName, java.lang.String scriptCategory)
scriptName
- The name of the script to retrieve log forscriptCategory
- The category of the script to retrive log for
ScriptLogInfo
available for scriptprotected void initializeManagerOrService() throws java.lang.Exception
java.lang.Exception
- if manager cannot be found or remote service is not availableprotected java.util.List getLocalObjects(RemoteScriptLogInfo[] remoteInfos) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |