Package org.ocpsoft.rewrite.spi
Interface InstanceProvider
- All Superinterfaces:
org.ocpsoft.common.pattern.Weighted
public interface InstanceProvider
extends org.ocpsoft.common.pattern.Weighted
Responsible for performing object instance lookups. See
Instances.lookup(Class) for convenient access to this
API.- Author:
- Lincoln Baxter, III
-
Method Summary
Modifier and TypeMethodDescriptiongetInstance(Class<?> type) Get an instance of the givenClasstype.Methods inherited from interface org.ocpsoft.common.pattern.Weighted
priority
-
Method Details
-
getInstance
Get an instance of the givenClasstype. Return null if no instance could be retrieved.
-