Interface WrapperRegistry
-
- All Known Implementing Classes:
CentralWrapperRegistry
,WrapperRegistry
public interface WrapperRegistry
All custom classes that are implemented by wcb's instead of siteworks objecttypes and templates and their node types are registered by this service.- Author:
- arjans
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WrapperDefinition
getByContentType(String contentType)
Returns null or a WrapperDefinition identified by its content type.WrapperDefinition
getByImplementation(String className)
Returns null or a WrapperDefinition identified by its fully qualified classname.WrapperDefinition
getByInterface(String className)
Returns null or a WrapperDefinition identified by its fully qualified classname.WrapperDefinition
getByNodeType(String nodeTypeName)
Returns null or a WrapperDefinition identified by its fully qualified node type name.Class
getClassByName(String fullyQualifiedClassname)
Returns null or a class based on its fully qualified class name.Component
getComponentByInterface(String fullyQualifiedClassName)
Returns the component that provides an implementation for the given full classname of the interface.Object
getInstance(String fullyQualifiedClassname)
Returns an object instance based on its fully qualified class name.String
getObjectTypeNameByInterface(String interfaceClass)
Return the name of the object type from the name of the interface
-
-
-
Method Detail
-
getByInterface
WrapperDefinition getByInterface(String className)
Returns null or a WrapperDefinition identified by its fully qualified classname.- Parameters:
className
- Fully qualified classname- Returns:
- null or a WrapperDefinition identified by its fully qualified classname
-
getByNodeType
WrapperDefinition getByNodeType(String nodeTypeName)
Returns null or a WrapperDefinition identified by its fully qualified node type name.- Parameters:
nodeTypeName
- Fully qualified node type name- Returns:
- null or a WrapperDefinition identified by its fully qualified node type name
-
getByContentType
WrapperDefinition getByContentType(String contentType)
Returns null or a WrapperDefinition identified by its content type.- Parameters:
contentType
- Name of the content type- Returns:
- null or a WrapperDefinition identified by its content type
-
getComponentByInterface
Component getComponentByInterface(String fullyQualifiedClassName)
Returns the component that provides an implementation for the given full classname of the interface.- Parameters:
fullyQualifiedClassName
-- Returns:
- The component that provides an implementation for the specified interface
-
getByImplementation
WrapperDefinition getByImplementation(String className)
Returns null or a WrapperDefinition identified by its fully qualified classname.- Parameters:
className
- Fully qualified classname- Returns:
- null or a WrapperDefinition identified by its fully qualified classname
-
getClassByName
Class getClassByName(String fullyQualifiedClassname)
Returns null or a class based on its fully qualified class name.- Parameters:
fullyQualifiedClassname
- Fully qualified classname- Returns:
- null or a class based on its fully qualified class name
-
getInstance
Object getInstance(String fullyQualifiedClassname)
Returns an object instance based on its fully qualified class name.- Parameters:
fullyQualifiedClassname
- Fully qualified classname- Returns:
- an object instance based on its fully qualified class name
-
getObjectTypeNameByInterface
String getObjectTypeNameByInterface(String interfaceClass)
Return the name of the object type from the name of the interface- Parameters:
interfaceClass
- Name of the interface for which the corresponding object type name should be retrieved- Returns:
- Object type name that corresponds to the given interface
-
-