Class SimpleMediaItemComponent
- java.lang.Object
-
- nl.gx.webmanager.wcb.foundation.ComponentBase
-
- nl.gx.webmanager.wcb.mediaitemtype.impl.SimpleMediaItemComponent
-
- All Implemented Interfaces:
DelegatedControllerAware
,Component
,MediaItemComponent
public class SimpleMediaItemComponent extends ComponentBase implements MediaItemComponent, DelegatedControllerAware
This class provides a basic implementation for a GX WebManager Media component. Custom panelComponents may either use this implementation or extend it to implement additional service interface.
-
-
Field Summary
-
Fields inherited from class nl.gx.webmanager.wcb.foundation.ComponentBase
myBundleContext, myComponentBundle, myComponentDefinition
-
-
Constructor Summary
Constructors Constructor Description SimpleMediaItemComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getInstanceForName(String fullyQualifiedClassName)
Returns an instance of the given class if it is serviced by this component's OSGi bundle.-
Methods inherited from class nl.gx.webmanager.wcb.foundation.ComponentBase
dependencyAdded, dependencyRemoved, exportContent, extensionAdded, extensionRemoved, getBundleContext, getClassesFromBundle, getClassForName, getComponentBundle, getComponentDefinition, getComponentManager, getDelegatedController, getExtensions, getId, getInstance, getPrivateNode, getPrivateNode, getTypeId, getWrapperDefinitions, importContent, internalDoStart, internalDoStop, onDestroy, onInit, onInstall, onPurge, onStart, onStop, onUninstall, onUpdate, purgeContent, setBundleContext, setComponentBundle, setComponentBundle, setComponentDefinition, setComponentManager, setDelegatedController
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface nl.gx.webmanager.wcb.Component
exportContent, getClassesFromBundle, getClassForName, getComponentBundle, getComponentDefinition, getExtensions, getId, getInstance, getPrivateNode, getTypeId, getWrapperDefinitions, importContent, onDestroy, onInit, onInstall, onPurge, onStart, onStop, onUninstall, onUpdate, purgeContent, setBundleContext, setComponentBundle, setComponentDefinition, setComponentManager
-
Methods inherited from interface nl.gx.webmanager.springmvc.DelegatedControllerAware
getDelegatedController, setDelegatedController
-
-
-
-
Method Detail
-
getInstanceForName
public Object getInstanceForName(String fullyQualifiedClassName)
Description copied from interface:Component
Returns an instance of the given class if it is serviced by this component's OSGi bundle.- Specified by:
getInstanceForName
in interfaceComponent
- Overrides:
getInstanceForName
in classComponentBase
- Parameters:
fullyQualifiedClassName
- Fully qualified class name- Returns:
- an instance of the given class if it is serviced by this component's OSGi bundle
-
-