|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.application.HQApp
public class HQApp
This class represents the central concept of the Hyperic HQ application. (not the Application resource)
Method Summary | |
---|---|
void |
addStartupClass(java.lang.String className)
Adds a class to the list of classes to invoke when the application has started. |
void |
addTransactionListener(TransactionListener listener)
Register a listener to be called after a tx has been committed. |
void |
clearMethodStats()
|
AgentProxyFactory |
getAgentProxyFactory()
|
HibernateInterceptorChain |
getHibernateInterceptor()
Get an interceptor to process hibernate lifecycle methods. |
HibernateLogManager |
getHibernateLogManager()
Get the hibernate log manager, which allows the caller to execute code within the context of a logging hibernate interceptor. |
static HQApp |
getInstance()
|
java.util.List |
getMethodStats()
|
long |
getMethodWarnTime()
|
java.io.File |
getResourceDir()
Get a directory which contains resources that various parts of the application may need (templates, reports, license files, etc.) |
java.io.File |
getRestartStorageDir()
Get a directory which can have files placed into it which will carry over for a restart. |
Scheduler |
getScheduler()
|
long |
getTransactions()
Get the # of transactions which have been run since the start of the application |
long |
getTransactionsFailed()
Get the # of transactions which have failed since the start of the application |
java.util.Properties |
getTweakProperties()
|
ThreadWatchdog |
getWatchdog()
|
java.io.File |
getWebAccessibleDir()
Get the directory which represents the URL root for the application |
boolean |
isCollectingMethodStats()
|
java.lang.Object |
registerCallbackCaller(java.lang.Class iFace)
|
void |
registerCallbackListener(java.lang.Class iFace,
java.lang.Object listener)
|
void |
runStartupClasses()
Execute the registered startup classes. |
void |
setCollectMethodStats(boolean enable)
|
void |
setMethodWarnTime(long warnTime)
|
void |
setResourceDir(java.io.File dir)
|
void |
setRestartStorageDir(java.io.File dir)
|
void |
setUserPrefsCallback(java.lang.Integer sessionId,
java.lang.Integer subjId,
ConfigResponse prefs)
|
void |
setWebAccessibleDir(java.io.File dir)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setMethodWarnTime(long warnTime)
public long getMethodWarnTime()
public ThreadWatchdog getWatchdog()
public AgentProxyFactory getAgentProxyFactory()
public Scheduler getScheduler()
public void setRestartStorageDir(java.io.File dir)
public java.io.File getRestartStorageDir()
public void setResourceDir(java.io.File dir)
public java.io.File getResourceDir()
public void setWebAccessibleDir(java.io.File dir)
public java.io.File getWebAccessibleDir()
public java.util.Properties getTweakProperties() throws java.io.IOException
java.io.IOException
public java.lang.Object registerCallbackCaller(java.lang.Class iFace)
CallbackDispatcher.generateCaller(Class)
public void registerCallbackListener(java.lang.Class iFace, java.lang.Object listener)
CallbackDispatcher.registerListener(Class, Object)
public void addStartupClass(java.lang.String className)
public long getTransactions()
public long getTransactionsFailed()
public void setCollectMethodStats(boolean enable)
public boolean isCollectingMethodStats()
public void clearMethodStats()
public java.util.List getMethodStats()
public void setUserPrefsCallback(java.lang.Integer sessionId, java.lang.Integer subjId, ConfigResponse prefs)
public void runStartupClasses()
public void addTransactionListener(TransactionListener listener)
public HibernateInterceptorChain getHibernateInterceptor()
HypericInterceptor
public HibernateLogManager getHibernateLogManager()
public static HQApp getInstance()
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |