org.rhq.enterprise.client
Class LocalClient
java.lang.Object
org.rhq.enterprise.client.LocalClient
- All Implemented Interfaces:
- RhqFacade
public class LocalClient
- extends Object
- implements RhqFacade
- Author:
- Lukas Krejci
|
Constructor Summary |
LocalClient(org.rhq.core.domain.auth.Subject subject)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalClient
public LocalClient(org.rhq.core.domain.auth.Subject subject)
getSubject
public org.rhq.core.domain.auth.Subject getSubject()
- Specified by:
getSubject in interface RhqFacade
login
public org.rhq.core.domain.auth.Subject login(String user,
String password)
throws Exception
- Specified by:
login in interface RhqFacade
- Throws:
Exception
logout
public void logout()
- Specified by:
logout in interface RhqFacade
isLoggedIn
public boolean isLoggedIn()
- Specified by:
isLoggedIn in interface RhqFacade
getScriptingAPI
public Map<RhqManager,Object> getScriptingAPI()
- Specified by:
getScriptingAPI in interface RhqFacade
getProxy
public <T> T getProxy(Class<T> remoteApiIface)
- Specified by:
getProxy in interface RhqFacade
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.