org.eclipse.stardust.engine.api.web
Class ServiceFactoryLocator

java.lang.Object
  extended by org.eclipse.stardust.engine.api.web.ServiceFactoryLocator

public class ServiceFactoryLocator
extends 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, Map properties)
           
static ServiceFactory get(String user, String password)
           
static ServiceFactory get(String user, String password, Map properties)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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,
                                 Map properties)
                          throws org.eclipse.stardust.common.error.PublicException
Throws:
org.eclipse.stardust.common.error.PublicException

get

public static ServiceFactory get(String user,
                                 String password)

get

public static ServiceFactory get(String user,
                                 String password,
                                 Map properties)


Copyright © 2017 Eclipse Stardust. All Rights Reserved.