InjectableGrailsClass (Grails 3.2.4)
Date: 2016-12-21

Package: grails.core

## [Java] Interface InjectableGrailsClass

- grails.core.support.GrailsApplicationAware

- All Superinterfaces:
    GrailsClass, GrailsApplicationAware

  Represents a Grails class that is to be configured in Spring and as such is injectable.

  Authors:
    Steven Devijver
    Graeme Rocher
  Since:
    1.0

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `boolean` | `byName()` If autowiring by name is enabled.
    `boolean` | `byType()` If autowiring by type is enabled.
    `boolean` | `getAvailable()` If class should be configured for dependency injection.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface GrailsClass` | `getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPluginName, getPropertyName, getPropertyValue, getPropertyValue, getReferenceInstance, getShortName, hasProperty, isAbstract, newInstance`
    `interface GrailsApplicationAware` | `setGrailsApplication`

- - ### Method Detail

    - #### public boolean byName()

      If autowiring by name is enabled.

      Returns:
        autowiring by name

    - #### public boolean byType()

      If autowiring by type is enabled.

      Returns:
        autowiring by type

    - #### public boolean getAvailable()

      If class should be configured for dependency injection.

      Returns:
        available for dependency injection