org.eclipse.stardust.engine.api.web
Class ServiceFactoryLocator
java.lang.Object
org.eclipse.stardust.engine.api.web.ServiceFactoryLocator
public class ServiceFactoryLocator
- extends java.lang.Object
Provides an abstraction to retrieve ServiceFactory instances in a Web container
environment.
- Version:
- $Revision$
- Author:
- ubirkemeyer, rsauer
|
Method Summary |
static ServiceFactory |
get(javax.servlet.http.HttpServletRequest request)
Retrieves a ServiceFactory using the credentials included in the given
request. |
static ServiceFactory |
get(javax.servlet.http.HttpServletRequest request,
java.util.Map properties)
|
static ServiceFactory |
get(java.lang.String user,
java.lang.String password)
|
static ServiceFactory |
get(java.lang.String user,
java.lang.String password,
java.util.Map properties)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
get
public static ServiceFactory get(javax.servlet.http.HttpServletRequest request)
throws org.eclipse.stardust.common.error.PublicException
- Retrieves a
ServiceFactory using the credentials included in the given
request.
- Parameters:
request - The request object providing credentials.
- Returns:
- A readily usable service factory.
- Throws:
org.eclipse.stardust.common.error.PublicException
get
public static ServiceFactory get(javax.servlet.http.HttpServletRequest request,
java.util.Map properties)
throws org.eclipse.stardust.common.error.PublicException
- Throws:
org.eclipse.stardust.common.error.PublicException
get
public static ServiceFactory get(java.lang.String user,
java.lang.String password)
get
public static ServiceFactory get(java.lang.String user,
java.lang.String password,
java.util.Map properties)
Copyright © 2013 SunGard CSA LLC. All Rights Reserved.