|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RhqFacade
This is an interface through which the script can communicate with RHQ server.
| Method Summary | ||
|---|---|---|
|
getProxy(Class<T> remoteApiIface)
Unlike the getScriptingAPI() method that returns objects with modified signatures
meant to be used by the scripting environment, this method provides the access to the "raw"
remote API interface implementation backed by this RHQ facade implementation. |
|
Map<RhqManager,Object> |
getScriptingAPI()
This map is constructed using all the elements in the RhqManager enum which are then proxied
using this instance. |
|
org.rhq.core.domain.auth.Subject |
getSubject()
|
|
boolean |
isLoggedIn()
|
|
org.rhq.core.domain.auth.Subject |
login(String user,
String password)
|
|
void |
logout()
|
|
| Method Detail |
|---|
org.rhq.core.domain.auth.Subject getSubject()
org.rhq.core.domain.auth.Subject login(String user,
String password)
throws Exception
Exceptionvoid logout()
boolean isLoggedIn()
Map<RhqManager,Object> getScriptingAPI()
RhqManager enum which are then proxied
using this instance.
<T> T getProxy(Class<T> remoteApiIface)
getScriptingAPI() method that returns objects with modified signatures
meant to be used by the scripting environment, this method provides the access to the "raw"
remote API interface implementation backed by this RHQ facade implementation.
remoteApiIface - one of the RHQ's remote API interfaces of which the proxied instance
should be returned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||