public class ComponentRegistryAdapter extends Object implements ComponentRegistry
CLASSPATH_URL_PREFIX, FILE_URL_PREFIX
Constructor and Description |
---|
ComponentRegistryAdapter(ConfigurableApplicationContext configurableApplicationContext) |
public ComponentRegistryAdapter(ConfigurableApplicationContext configurableApplicationContext)
public ControllerBuilder registerController(Class<?> classtype)
registerController
in interface ControllerRegistry
public ControllerBuilder registerController(String id, Class<?> classType)
registerController
in interface ControllerRegistry
public ControllerBuilder registerController(String id, String view, boolean resolvedView, Class<?> classType)
registerController
in interface ControllerRegistry
public ControllerBuilder registerController(String id, String view, boolean resolvedView, String name, Class<?> classType, String actionId)
registerController
in interface ControllerRegistry
public ControllerBuilder registerController(String id, String view, boolean resolvedView, DispatcherType dispatcherType, String name, Class<?> classType, String actionId)
registerController
in interface ControllerRegistry
public ControllerBuilder registerController(String id, String view, boolean resolvedView, DispatcherType dispatcherType, String name, Class<?> classType, String actionId, ActionType actionType)
registerController
in interface ControllerRegistry
public ControllerBuilder registerController(String id, String view, DispatcherType dispatcherType, boolean resolvedView, String name, Class<?> classType, String actionId, ActionType actionType)
registerController
in interface ControllerRegistry
public Controller getRegisteredController(Class<?> clazz)
getRegisteredController
in interface ControllerRegistry
public Controller getRegisteredController(String name)
getRegisteredController
in interface ControllerRegistry
public InterceptorStackBuilder registerInterceptorStack(String name, boolean isDefault)
registerInterceptorStack
in interface InterceptorRegistry
public InterceptorBuilder registerInterceptor(String name, Class<?> interceptor, boolean isDefault)
registerInterceptor
in interface InterceptorRegistry
public Interceptor getRegisteredInterceptor(Class<?> clazz)
getRegisteredInterceptor
in interface InterceptorRegistry
public Interceptor getRegisteredInterceptor(String name)
getRegisteredInterceptor
in interface InterceptorRegistry
public Resource getResource(String path)
getResource
in interface ResourceLoader
public ClassLoader getClassloader()
getClassloader
in interface ResourceLoader
public void registerScope(String name, Scope scope)
registerScope
in interface ScopeRegistry
public Scope getRegistredScope(String name)
getRegistredScope
in interface ScopeRegistry
public Scope getRegistredScope(ScopeType scopeType)
getRegistredScope
in interface ScopeRegistry
public void registerType(TypeFactory factory)
registerType
in interface TypeRegistry
public void registerType(Class<?> classType, Class<?> type)
registerType
in interface TypeRegistry
public TypeFactory getRegistredType(Class<?> classType)
getRegistredType
in interface TypeRegistry
public void registerProperty(String name, String value)
registerProperty
in interface PropertyRegistry
public String getProperty(String name)
getProperty
in interface PropertyRegistry
public Properties getProperties()
getProperties
in interface PropertyRegistry
public boolean isStandardType(Class<?> clazz)
isStandardType
in interface TypeRegistry
Copyright © 2018 Brandao. All rights reserved.