org.apache.cayenne.di.spi
Class DefaultScopeProvider<T>
java.lang.Object
org.apache.cayenne.di.spi.DefaultScopeProvider<T>
- All Implemented Interfaces:
- Provider<T>
public class DefaultScopeProvider<T>
- extends Object
- implements Provider<T>
A provider that provides scoping for other providers.
- Since:
- 3.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultScopeProvider
public DefaultScopeProvider(DefaultScope scope,
Provider<T> delegate)
get
public T get()
- Specified by:
get
in interface Provider<T>
afterScopeEnd
@AfterScopeEnd
public void afterScopeEnd()
throws Exception
- Throws:
Exception
Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.