|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.commons.AbstractGrailsClass org.codehaus.groovy.grails.commons.AbstractInjectableGrailsClass
public abstract class AbstractInjectableGrailsClass
Configures Grails classe to be autowirable by name, always.
Constructor Summary | |
---|---|
AbstractInjectableGrailsClass(Class clazz,
String trailingName)
|
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 class org.codehaus.groovy.grails.commons.AbstractGrailsClass |
---|
getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyName, getPropertyOrStaticPropertyOrFieldValue, getPropertyValue, getPropertyValue, getReference, getShortName, hasProperty, newInstance, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.codehaus.groovy.grails.commons.GrailsClass |
---|
getClazz, getFullName, getLogicalPropertyName, getMetaClass, getName, getNaturalName, getPackageName, getPropertyName, getPropertyValue, getPropertyValue, getReference, getShortName, hasProperty, newInstance |
Constructor Detail |
---|
public AbstractInjectableGrailsClass(Class clazz, String trailingName)
Method Detail |
---|
public boolean byName()
InjectableGrailsClass
If autowiring by name is enabled.
byName
in interface InjectableGrailsClass
public boolean byType()
InjectableGrailsClass
If autowiring by type is enabled.
byType
in interface InjectableGrailsClass
public boolean getAvailable()
InjectableGrailsClass
If class should be configured for dependency injection.
getAvailable
in interface InjectableGrailsClass
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |