org.kuali.rice.kew.config
Class ThinClientResourceLoader
java.lang.Object
org.kuali.rice.core.api.lifecycle.BaseLifecycle
org.kuali.rice.core.api.resourceloader.ResourceLoaderContainer
org.kuali.rice.core.framework.resourceloader.BaseResourceLoader
org.kuali.rice.kew.config.ThinClientResourceLoader
- All Implemented Interfaces:
- Lifecycle, ObjectLoader, ResourceLoader, ServiceLocator
public class ThinClientResourceLoader
- extends BaseResourceLoader
Initializes and loads webservice resources for the Embedded plugin.
Currently, the only 2 services which are exposed are the utility service and
the document actions service.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class org.kuali.rice.core.api.resourceloader.ResourceLoaderContainer |
addResourceLoader, addResourceLoaderFirst, containsResourceLoader, getName, getResourceLoader, getResourceLoaderNames, getResourceLoaders, removeAllResourceLoaders, removeResourceLoader, setName, toString |
MAX_CONNECTIONS
public static final String MAX_CONNECTIONS
- See Also:
- Constant Field Values
CONNECTION_TIMEOUT
public static final String CONNECTION_TIMEOUT
- See Also:
- Constant Field Values
CONNECTION_MANAGER_TIMEOUT
public static final String CONNECTION_MANAGER_TIMEOUT
- See Also:
- Constant Field Values
DOCUMENT_ENDPOINT
public static final String DOCUMENT_ENDPOINT
- See Also:
- Constant Field Values
SECURE_DOCUMENT_ENDPOINT
public static final String SECURE_DOCUMENT_ENDPOINT
- See Also:
- Constant Field Values
UTILITY_ENDPOINT
public static final String UTILITY_ENDPOINT
- See Also:
- Constant Field Values
SECURE_UTILITY_ENDPOINT
public static final String SECURE_UTILITY_ENDPOINT
- See Also:
- Constant Field Values
IDENTITY_ENDPOINT
public static final String IDENTITY_ENDPOINT
- See Also:
- Constant Field Values
SECURE_IDENTITY_ENDPOINT
public static final String SECURE_IDENTITY_ENDPOINT
- See Also:
- Constant Field Values
GROUP_ENDPOINT
public static final String GROUP_ENDPOINT
- See Also:
- Constant Field Values
SECURE_GROUP_ENDPOINT
public static final String SECURE_GROUP_ENDPOINT
- See Also:
- Constant Field Values
ThinClientResourceLoader
public ThinClientResourceLoader()
start
public void start()
throws Exception
- Specified by:
start
in interface Lifecycle
- Overrides:
start
in class BaseResourceLoader
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop
in interface Lifecycle
- Overrides:
stop
in class BaseResourceLoader
- Throws:
Exception
getService
public Object getService(QName serviceQName)
- Description copied from interface:
ServiceLocator
- Fetches the service with the given name.
- Specified by:
getService
in interface ServiceLocator
- Overrides:
getService
in class BaseResourceLoader
getIdentityService
public IdentityService getIdentityService()
getGroupService
public GroupService getGroupService()
getServiceProxy
protected Object getServiceProxy(Class serviceInterface,
String endpointParam,
String secureEndpointParam)
getHttpClient
protected org.apache.commons.httpclient.HttpClient getHttpClient()
- Creates a commons HttpClient for service invocation. Config parameters
that start with http.* are used to configure the client.
TODO we need to add support for other invocation protocols and
implementations, but for now...
initializeHttpClientParams
protected void initializeHttpClientParams()
configureDefaultHttpClientParams
protected void configureDefaultHttpClientParams(org.apache.commons.httpclient.params.HttpParams params)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.