org.rhq.enterprise.client
Class LocalClient

java.lang.Object
  extended by 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)
           
 
Method Summary
<T> T
getProxy(Class<T> remoteApiIface)
           
 Map<RhqManager,Object> getScriptingAPI()
           
 org.rhq.core.domain.auth.Subject getSubject()
           
 boolean isLoggedIn()
           
 org.rhq.core.domain.auth.Subject login(String user, String password)
           
 void logout()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalClient

public LocalClient(org.rhq.core.domain.auth.Subject subject)
Method Detail

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.