Interface InstanceProvider
- All Known Implementing Classes:
BannedGenerator,CollectionGenerator,DefaultInstances,ExistingGenerator,PrimitiveGenerator
public interface InstanceProvider
Represents a type generator for specific types.
- Author:
- Kristian
-
Method Summary
-
Method Details
-
create
Create an instance given a type, if possible.- Parameters:
type- - type to create.- Returns:
- The instance, or NULL if the type cannot be created.
- Throws:
NotConstructableException- Thrown to indicate that this type cannot or should never be constructed.
-