nl.gx.webmanager.wcb.profileprovidertype.impl
Class SimpleProfileProviderComponent

java.lang.Object
  extended by nl.gx.webmanager.wcb.foundation.ComponentBase
      extended by 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
SimpleProfileProviderComponent()
           
 
Method Summary
 java.lang.Object getInstance()
          Returns an instance of the component's class.
 java.lang.Object getInstanceForName(java.lang.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
 

Constructor Detail

SimpleProfileProviderComponent

public SimpleProfileProviderComponent()
Method Detail

getInstance

public final java.lang.Object getInstance()
Returns an instance of the component's class.

Specified by:
getInstance in interface Component
Overrides:
getInstance in class ComponentBase
Returns:
an instance of the component's class

getInstanceForName

public final java.lang.Object getInstanceForName(java.lang.String arg0)
Returns an instance of the given class if it is serviced by this component's OSGi bundle.

Specified by:
getInstanceForName in interface Component
Overrides:
getInstanceForName in class ComponentBase
Parameters:
arg0 - Fully qualified class name
Returns:
an instance of the given class if it is serviced by this component's OSGi bundle


Copyright © 2007-2011 GX Software BV. All Rights Reserved.