@Component @Scope(value="request", proxyMode=TARGET_CLASS) public class ResourceTypeFactory extends Object
ResourceType
Modifier and Type | Field and Description |
---|---|
protected BackendFactory |
backendFactory
Backend factory
|
protected Config |
config
CKFinder configuration
|
protected Map<String,ResourceType> |
instances
Map that holds instances of known resource types.
|
Constructor and Description |
---|
ResourceTypeFactory() |
Modifier and Type | Method and Description |
---|---|
ResourceType |
getResourceType(String resourceTypeName)
Returns an instance of resource type with given resource type name.
|
@Autowired protected Config config
@Autowired protected BackendFactory backendFactory
protected Map<String,ResourceType> instances
public ResourceType getResourceType(String resourceTypeName)
resourceTypeName
- resource type nameCopyright © 2007 – 2019 CKSource - Frederico Knabben. All rights reserved.