Package grails.core
Interface InjectableGrailsClass
-
- All Superinterfaces:
org.springframework.beans.factory.Aware,GrailsApplicationAware,GrailsClass
- All Known Subinterfaces:
GrailsControllerClass,GrailsDataSource,GrailsServiceClass
- All Known Implementing Classes:
AbstractInjectableGrailsClass,DefaultGrailsControllerClass,DefaultGrailsServiceClass
public interface InjectableGrailsClass extends GrailsClass
Represents a Grails class that is to be configured in Spring and as such is injectable.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanbyName()If autowiring by name is enabled.booleanbyType()If autowiring by type is enabled.booleangetAvailable()If class should be configured for dependency injection.-
Methods inherited from interface grails.core.support.GrailsApplicationAware
setGrailsApplication
-
Methods inherited from interface grails.core.GrailsClass
getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPluginName, getPropertyName, getPropertyValue, getPropertyValue, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance
-
-
-
-
Method Detail
-
byName
boolean byName()
If autowiring by name is enabled.- Returns:
- autowiring by name
-
byType
boolean byType()
If autowiring by type is enabled.- Returns:
- autowiring by type
-
getAvailable
boolean getAvailable()
If class should be configured for dependency injection.- Returns:
- available for dependency injection
-
-