org.codehaus.xfire.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, MessageContext ctxt)
          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,
                   MessageContext ctxt)
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.
ctxt - the MessageContext object.
Returns:
the Factory object that honors the scope.


Copyright © 2004-2013. All Rights Reserved.