Apache CXF API

org.apache.cxf.service.invoker
Interface ScopePolicy

All Known Implementing Classes:
ApplicationScopePolicy, RequestScopePolicy, SessionScopePolicy

public interface ScopePolicy

This interface represents a scoping policy that caches servant instances created by a Factory.

Author:
Ben Yu Feb 6, 2006 12:47:38 PM

Method Summary
 Factory applyScope(Factory f, Exchange exchange)
          Apply scope policy to a Factory object so that the instance created by the Factory object can be cached properly.
 

Method Detail

applyScope

Factory applyScope(Factory f,
                   Exchange exchange)
Apply scope policy to a Factory object so that the instance created by the Factory object can be cached properly.

Parameters:
f - the Factory object.
exchange - The message exchange which the scope is applied to.
Returns:
the Factory object that honors the scope.

Apache CXF API

Apache CXF