org.ow2.orchestra.common.gwt.utils.server
Class SessionAPIs
java.lang.Object
org.ow2.orchestra.common.gwt.utils.server.SessionAPIs
public class SessionAPIs
- extends Object
Created by: Guillaume Porcher
Date: 06/11/11
Time: 14:25
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serviceUrl
protected String serviceUrl
- Service url and Object Name to connect to Orchestra
objectName
protected String objectName
orchestraUrl
protected String orchestraUrl
orchestraProperties
protected Properties orchestraProperties
SessionAPIs
protected SessionAPIs(String userName)
throws OrchestraException,
OrchestraGwtException
- Throws:
OrchestraException
OrchestraGwtException
getTaskOperationsAPI
protected void getTaskOperationsAPI(String userName)
initializeOrchestraProperties
protected void initializeOrchestraProperties(String userName)
throws OrchestraGwtException
- This method is used to get the service url and object name properties from
conf file orchestra.properties It first checks if the
conf/orchestra.properties exists to use it, otherwise it uses the file
included in the war to fill the fields service url and object name of this
class
- Parameters:
userName - tenant name
- Throws:
OrchestraGwtException
getAPI
public <T> T getAPI(Class<T> clazz)
getOrchestraUrl
public String getOrchestraUrl()
getOrchestraProperties
public Properties getOrchestraProperties()
Copyright © 2012 OW2 Consortium. All Rights Reserved.