org.codehaus.xfire.service.invoker
Class ApplicationScopePolicy

java.lang.Object
  extended by org.codehaus.xfire.service.invoker.ApplicationScopePolicy
All Implemented Interfaces:
ScopePolicy

public class ApplicationScopePolicy
extends java.lang.Object
implements ScopePolicy

This scope policy implements one servant instance per service.

Author:
Ben Yu Feb 6, 2006 11:38:08 AM

Constructor Summary
ApplicationScopePolicy()
           
 
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.
static ScopePolicy instance()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApplicationScopePolicy

public ApplicationScopePolicy()
Method Detail

applyScope

public Factory applyScope(Factory f,
                          MessageContext ctxt)
Description copied from interface: ScopePolicy
Apply scope policy to a Factory object so that the instance created by the Factory object can be cached properly.

Specified by:
applyScope in interface ScopePolicy
Parameters:
f - the Factory object.
ctxt - the MessageContext object.
Returns:
the Factory object that honors the scope.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

instance

public static ScopePolicy instance()


Copyright © 2004-2009. All Rights Reserved.