|
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.livedata.server.session.LiveDataManagerEJBImpl
public class LiveDataManagerEJBImpl
Constructor Summary | |
---|---|
LiveDataManagerEJBImpl()
|
Method Summary | |
---|---|
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbPostCreate()
|
void |
ejbRemove()
|
LiveDataFormatter |
findFormatter(java.lang.String id)
Find a formatter based on its 'id' property. |
java.util.Set |
findFormatters(LiveDataCommand cmd,
FormatType type)
Gets a set of LiveDataFormatter s which are able to format
the passed command. |
java.lang.String[] |
getCommands(AuthzSubject subject,
AppdefEntityID id)
Get the available commands for a given resources. |
ConfigSchema |
getConfigSchema(AuthzSubject subject,
AppdefEntityID id,
java.lang.String command)
Get the ConfigSchema for a given resource. |
LiveDataResult |
getData(AuthzSubject subject,
LiveDataCommand cmd)
Run the given live data command. |
LiveDataResult[] |
getData(AuthzSubject subject,
LiveDataCommand[] commands)
Run a list of live data commands in batch. |
LiveDataResult[] |
getData(AuthzSubject subject,
LiveDataCommand[] commands,
long cacheTimeout)
Run a list of live data commands in batch. |
LiveDataResult |
getData(AuthzSubject subject,
LiveDataCommand cmd,
long cacheTimeout)
Run the given live data command. |
static org.hyperic.hq.livedata.shared.LiveDataManagerLocal |
getOne()
|
void |
registerFormatter(LiveDataFormatter f)
|
void |
setSessionContext(javax.ejb.SessionContext ctx)
|
void |
unregisterFormatter(LiveDataFormatter f)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LiveDataManagerEJBImpl()
Method Detail |
---|
public void ejbCreate()
public static org.hyperic.hq.livedata.shared.LiveDataManagerLocal getOne()
public void ejbPostCreate()
public void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public void setSessionContext(javax.ejb.SessionContext ctx)
setSessionContext
in interface javax.ejb.SessionBean
public LiveDataResult getData(AuthzSubject subject, LiveDataCommand cmd) throws AppdefEntityNotFoundException, PermissionException, AgentNotFoundException, LiveDataException
AppdefEntityNotFoundException
PermissionException
AgentNotFoundException
LiveDataException
public LiveDataResult getData(AuthzSubject subject, LiveDataCommand cmd, long cacheTimeout) throws PermissionException, AgentNotFoundException, AppdefEntityNotFoundException, LiveDataException
cacheTimeout
-
PermissionException
AgentNotFoundException
AppdefEntityNotFoundException
LiveDataException
public LiveDataResult[] getData(AuthzSubject subject, LiveDataCommand[] commands) throws AppdefEntityNotFoundException, PermissionException, AgentNotFoundException, LiveDataException
AppdefEntityNotFoundException
PermissionException
AgentNotFoundException
LiveDataException
public LiveDataResult[] getData(AuthzSubject subject, LiveDataCommand[] commands, long cacheTimeout) throws PermissionException, AppdefEntityNotFoundException, AgentNotFoundException, LiveDataException
cacheTimeout
- The cache timeout given in milliseconds.
PermissionException
AppdefEntityNotFoundException
AgentNotFoundException
LiveDataException
public java.lang.String[] getCommands(AuthzSubject subject, AppdefEntityID id) throws PluginException, PermissionException
PluginException
PermissionException
public void registerFormatter(LiveDataFormatter f)
public void unregisterFormatter(LiveDataFormatter f)
public java.util.Set findFormatters(LiveDataCommand cmd, FormatType type)
LiveDataFormatter
s which are able to format
the passed command.
public LiveDataFormatter findFormatter(java.lang.String id)
public ConfigSchema getConfigSchema(AuthzSubject subject, AppdefEntityID id, java.lang.String command) throws PluginException, PermissionException
PluginException
PermissionException
|
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 |