Novell exteNd
Director 5.2 API

com.sssw.re.factory
Class EboFactory

java.lang.Object
 |
 +--com.sssw.re.factory.EboFactory
All Implemented Interfaces:
Serializable

public class EboFactory
extends Object
implements Serializable

Provides factory access to instances of Rule Manager and context objects.

See Also:
Serialized Form

Constructor Summary
EboFactory()
           
 
Method Summary
static EbiContext createEbiContext(HttpServletRequest request, HttpServletResponse response)
          Deprecated. Use ( HttpServletRequest request, HttpServletResponse response, ServletContext servletContext )
static EbiContext createEbiContext(HttpServletRequest request, HttpServletResponse response, ServletContext servletContext)
          Gets the EbiContext object that is associated with the web application.
static EbiRuleManager createRuleManager()
          Creates a Rule Manager.
static EbiRuleManager createRuleManager(String ownerID)
          Creates a Rule Manager for a specified rule owner ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EboFactory

public EboFactory()
Method Detail

createRuleManager

public static EbiRuleManager createRuleManager()
                                        throws EboFactoryException
Creates a Rule Manager.
Returns:
an instance of an EbiRuleManager.
See Also:
EbiRuleManager

createRuleManager

public static EbiRuleManager createRuleManager(String ownerID)
                                        throws EboFactoryException
Creates a Rule Manager for a specified rule owner ID. Typically, the ruleID corresponds to a specific application.
Parameters:
ownerID - the ID of the owner to which all rule manager operations will be scoped to.
Returns:
an instance of an EbiRuleManager with it's ownerID set to the passed in ownerID.
See Also:
EbiRuleManager

createEbiContext

public static EbiContext createEbiContext(HttpServletRequest request,
                                          HttpServletResponse response)
                                   throws EboFactoryException
Deprecated. Use ( HttpServletRequest request, HttpServletResponse response, ServletContext servletContext )

Gets the Context object that is associated with the web application.

createEbiContext

public static EbiContext createEbiContext(HttpServletRequest request,
                                          HttpServletResponse response,
                                          ServletContext servletContext)
                                   throws EboFactoryException
Gets the EbiContext object that is associated with the web application. The framework creates a new EbiContext each time this method is called. In general it is good practice to create one EbiContext per http request.
See Also:
EbiContext

Novell exteNd
Director 5.2 API