|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.xfire.SessionScopePolicy
public class SessionScopePolicy
This scope policy implements one servant instance per session.
| Constructor Summary | |
|---|---|
protected |
SessionScopePolicy()
|
| Method Summary | |
|---|---|
Factory |
applyScope(Factory f,
org.codehaus.xfire.MessageContext ctxt)
Apply scope policy to a Factory object so that the instance created by the Factory object can be cached properly. |
protected java.lang.Object |
getServiceKey(org.codehaus.xfire.service.Service service)
Get the key for caching a service. |
static ScopePolicy |
instance()
To get an instance of session scope policy. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected SessionScopePolicy()
| Method Detail |
|---|
protected java.lang.Object getServiceKey(org.codehaus.xfire.service.Service service)
service - the service.
public Factory applyScope(Factory f,
org.codehaus.xfire.MessageContext ctxt)
ScopePolicy
applyScope in interface ScopePolicyf - the Factory object.ctxt - the MessageContext object.
public java.lang.String toString()
toString in class java.lang.Objectpublic static ScopePolicy instance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||