Class SimpleProfileProviderComponent
- java.lang.Object
-
- nl.gx.webmanager.wcb.foundation.ComponentBase
-
- nl.gx.webmanager.wcb.profileprovidertype.impl.SimpleProfileProviderComponent
-
- All Implemented Interfaces:
DelegatedControllerAware
,Component
,ProfileProviderComponent
public class SimpleProfileProviderComponent extends ComponentBase implements ProfileProviderComponent
This is a base class which can be used and extended by clients.
-
-
Field Summary
-
Fields inherited from class nl.gx.webmanager.wcb.foundation.ComponentBase
LOG, myBundleContext, myComponentBundle, myComponentDefinition
-
-
Constructor Summary
Constructors Constructor Description SimpleProfileProviderComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getInstance()
Returns an instance of the component's class.Object
getInstanceForName(String arg0)
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, 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, getPrivateNode, getTypeId, getWrapperDefinitions, importContent, onDestroy, onInit, onInstall, onPurge, onStart, onStop, onUninstall, onUpdate, purgeContent, setBundleContext, setComponentBundle, setComponentDefinition, setComponentManager
-
-
-
-
Method Detail
-
getInstance
public final Object getInstance()
Returns an instance of the component's class.- Specified by:
getInstance
in interfaceComponent
- Overrides:
getInstance
in classComponentBase
- Returns:
- an instance of the component's class
-
getInstanceForName
public final Object getInstanceForName(String arg0)
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:
arg0
- Fully qualified class name- Returns:
- an instance of the given class if it is serviced by this component's OSGi bundle
-
-