@Service public class ControllerLocatorImpl extends Object implements ControllerLocator
ControllerLocator implementation.| Constructor and Description |
|---|
ControllerLocatorImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext cContext) |
Collection<org.springframework.roo.classpath.details.ClassOrInterfaceTypeDetails> |
getControllers(org.springframework.roo.model.JavaType domainType)
Returns the controllers related the given domain type
|
Collection<org.springframework.roo.classpath.details.ClassOrInterfaceTypeDetails> |
getControllers(org.springframework.roo.model.JavaType domainType,
org.springframework.roo.addon.web.mvc.controller.annotations.ControllerType type)
Returns the controllers related the given domain type of a concrete type
|
Collection<org.springframework.roo.classpath.details.ClassOrInterfaceTypeDetails> |
getControllers(org.springframework.roo.model.JavaType domainType,
org.springframework.roo.addon.web.mvc.controller.annotations.ControllerType type,
org.springframework.roo.model.JavaType viewType)
Returns the controllers related the given domain type of a concrete type and
view
|
protected void activate(org.osgi.service.component.ComponentContext cContext)
public Collection<org.springframework.roo.classpath.details.ClassOrInterfaceTypeDetails> getControllers(org.springframework.roo.model.JavaType domainType)
ControllerLocatorgetControllers in interface ControllerLocatordomainType - the domain type for which to find the Controllernull collectionpublic Collection<org.springframework.roo.classpath.details.ClassOrInterfaceTypeDetails> getControllers(org.springframework.roo.model.JavaType domainType, org.springframework.roo.addon.web.mvc.controller.annotations.ControllerType type)
ControllerLocatorgetControllers in interface ControllerLocatordomainType - the domain type for which to find the Controllertype - controller to locatenull collectionpublic Collection<org.springframework.roo.classpath.details.ClassOrInterfaceTypeDetails> getControllers(org.springframework.roo.model.JavaType domainType, org.springframework.roo.addon.web.mvc.controller.annotations.ControllerType type, org.springframework.roo.model.JavaType viewType)
ControllerLocatorgetControllers in interface ControllerLocatordomainType - the domain type for which to find the Controllertype - controller to locateviewType - View type annotation javaType (by example RooJavaType.ROO_JSON)null collectionCopyright © 2009–2017. All rights reserved.