Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.7.0)
E15995-06


oracle.webcenter.spaces.context
Interface SpacesContextFactory


public interface SpacesContextFactory

SpacesContextFactory is a factory object that creates (if needed) and returns new SpacesContext instances, initialized for the processing of the specified request and response objects. This instance can be acquired, in a portable manner, by calling:

   SpacesContextFactory factory = (SpacesContextFactory)
    FactoryFinder.getFactory(SpacesContextFactory.class.getCanonicalName());
 

Method Summary
 SpacesContext getSpacesContext()
          Create (if needed) and return a SpacesContext instance that is initialized for the processing of the specified request and response objects, utilizing the specified instance, for this web application.

 

Method Detail

getSpacesContext

SpacesContext getSpacesContext()

Create (if needed) and return a SpacesContext instance that is initialized for the processing of the specified request and response objects, utilizing the specified instance, for this web application.

The implementation of this method must ensure that calls to the getCurrentInstance() method of SpacesContext, from the same thread that called this method, will return the same SpacesContext instance until the release() method is called on that instance.

Throws:
java.lang.NullPointerException - if any of the parameters are null

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.7.0)
E15995-06


Copyright © 2009, 2013, Oracle and/or its affiliates. All rights reserved.