@java.lang.SuppressWarnings("rawtypes") public class DefaultGrailsControllerClass extends AbstractInjectableGrailsClass
Evaluates the conventions contained within controllers to perform auto-configuration.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
ALLOWED_HTTP_METHODS_PROPERTY |
|
static java.lang.String |
CONTROLLER |
|
static java.lang.Object[] |
EMPTY_ARGS |
|
static java.lang.String |
SCOPE |
|
static java.lang.String |
SCOPE_SINGLETON |
|
protected java.util.Map<java.lang.String, java.lang.String> |
actionUriToViewName |
Fields inherited from class | Fields |
---|---|
class AbstractGrailsClass |
grailsApplication |
Constructor and description |
---|
DefaultGrailsControllerClass
(java.lang.Class<?> clazz) |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.String |
actionUriToViewName(java.lang.String actionUri) |
|
java.util.Set<java.lang.String> |
getActions() |
|
java.lang.String |
getDefaultAction() |
|
java.lang.String |
getNamespace() |
|
java.lang.String |
getScope() |
|
void |
initialize() |
|
java.lang.Object |
invoke(java.lang.Object controller, java.lang.String action) Invokes the controller action for the given name on the given controller instance |
|
boolean |
isSingleton() |
|
boolean |
mapsToURI(java.lang.String uri) |
|
void |
registerUrlConverter(UrlConverter urlConverter) Register a new UrlConverter with the controller |
|
void |
setGrailsApplication(GrailsApplication grailsApplication) |
Methods inherited from class | Name |
---|---|
class AbstractInjectableGrailsClass |
byName, byType, getAvailable |
class AbstractGrailsClass |
getApplication, getClazz, getFullName, getLogicalPropertyName, getMetaClass, getMetaProperties, getName, getNaturalName, getPackageName, getPluginName, getPropertyDescriptors, getPropertyName, getPropertyOrStaticPropertyOrFieldValue, getPropertyType, getPropertyValue, getPropertyValue, getPropertyValueObject, getReferenceInstance, getShortName, getStaticPropertyValue, hasMetaMethod, hasMetaMethod, hasMetaProperty, hasProperty, isAbstract, isActionMethod, isReadableProperty, newInstance, setGrailsApplication, toString |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Invokes the controller action for the given name on the given controller instance
controller
- The controller instanceaction
- The action nameRegister a new UrlConverter with the controller
urlConverter
- The UrlConverter to register