nl.gx.webmanager.authorization.osgi
Class AuthorizationActivator

java.lang.Object
  extended by org.apache.felix.dependencymanager.DependencyActivatorBase
      extended by nl.gx.webmanager.wcb.foundation.ComponentBundleActivatorBase
          extended by nl.gx.webmanager.authorization.osgi.AuthorizationActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class AuthorizationActivator
extends ComponentBundleActivatorBase

Registers the authorization service with the OSGi framework.

Author:
arjans

Field Summary
static java.lang.String DOMAIN
           
static java.lang.String WCB_BUNDLE_ID
           
static java.lang.String WCB_BUNDLE_NAME
           
static java.lang.String WCB_ID
           
 
Constructor Summary
AuthorizationActivator()
           
 
Method Summary
protected  ComponentBundleDefinition getBundleDefinition()
          Concrete implementations need to implements this method in order to specify the components the componentbundle whishes to register.
protected  ComponentDefinition[] getComponentDefinitions()
          Returns an array of component definitions for all components serviced by this bundle.
 
Methods inherited from class nl.gx.webmanager.wcb.foundation.ComponentBundleActivatorBase
destroy, getBundleContext, getDependencyManagerContext, init
 
Methods inherited from class org.apache.felix.dependencymanager.DependencyActivatorBase
createConfigurationDependency, createService, createServiceDependency, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOMAIN

public static final java.lang.String DOMAIN
See Also:
Constant Field Values

WCB_ID

public static final java.lang.String WCB_ID
See Also:
Constant Field Values

WCB_BUNDLE_ID

public static final java.lang.String WCB_BUNDLE_ID
See Also:
Constant Field Values

WCB_BUNDLE_NAME

public static final java.lang.String WCB_BUNDLE_NAME
See Also:
Constant Field Values
Constructor Detail

AuthorizationActivator

public AuthorizationActivator()
Method Detail

getBundleDefinition

protected ComponentBundleDefinition getBundleDefinition()
Description copied from class: ComponentBundleActivatorBase
Concrete implementations need to implements this method in order to specify the components the componentbundle whishes to register.

Specified by:
getBundleDefinition in class ComponentBundleActivatorBase
Returns:
the componentBudleDefinition

getComponentDefinitions

protected ComponentDefinition[] getComponentDefinitions()
Returns an array of component definitions for all components serviced by this bundle.

Returns:
an array of component definitions for all components serviced by this bundle


Copyright © 2007-2010 GX creative online development BV. All Rights Reserved.