Groovy Documentation

org.codehaus.groovy.grails.commons
[Java] Interface InjectableGrailsClass

org.codehaus.groovy.grails.commons.GrailsClass
  org.codehaus.groovy.grails.commons.InjectableGrailsClass
All Superinterfaces:
GrailsClass

public interface InjectableGrailsClass
extends GrailsClass

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

Authors:
Steven Devijver


Method Summary
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.

 
Methods inherited from interface GrailsClass
getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyName, getPropertyValue, getPropertyValue, getReference, getReferenceInstance, getShortName, hasProperty, newInstance
 

Method Detail

byName

public boolean byName()
If autowiring by name is enabled.
Returns:
autowiring by name


byType

public boolean byType()
If autowiring by type is enabled.
Returns:
autowiring by type


getAvailable

public boolean getAvailable()
If class should be configured for dependency injection.
Returns:
available for dependency injection


 

Groovy Documentation