Object Scopes
// transient
component name="MyService"{}
// singleton
component name="MyService" singleton{}
// cache in default provider
component name="MyService" cache="true" cacheTimeout="45" cacheLastAccessTimeout="15"{}
// cache in another provider
component name="MyService" cachebox="MyProvider" cacheTimeout="45"{}
// request scope
component name="MyService" scope="request"{}
// session
component name="MyService" scope="session"{}Last updated
Was this helpful?