org.ops4j.pax.scanner.bundle.internal
Class Activator

java.lang.Object
  extended by org.ops4j.pax.scanner.common.AbstractScannerActivator<BundleScanner>
      extended by org.ops4j.pax.scanner.bundle.internal.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator
extends AbstractScannerActivator<BundleScanner>

Bundle activator for bundle scanner.

Since:
September 04, 2007
Author:
Alin Dreghiciu

Constructor Summary
Activator()
           
 
Method Summary
protected  BundleScanner createScanner(org.osgi.framework.BundleContext bundleContext)
          Scanner factory method.
protected  java.lang.String getPID()
          Returns the persistence id (PID) for the scanner.
protected  java.lang.String getSchema()
          Returns the scanner schema.
protected  void setResolver(org.ops4j.util.property.PropertyResolver propertyResolver)
          Sets the propertyResolver to use.
 
Methods inherited from class org.ops4j.pax.scanner.common.AbstractScannerActivator
getScanner, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activator

public Activator()
Method Detail

createScanner

protected BundleScanner createScanner(org.osgi.framework.BundleContext bundleContext)
Scanner factory method.

Specified by:
createScanner in class AbstractScannerActivator<BundleScanner>
Parameters:
bundleContext - a bundle scanner
Returns:
the created file scanner.

getPID

protected java.lang.String getPID()
Returns the persistence id (PID) for the scanner.

Specified by:
getPID in class AbstractScannerActivator<BundleScanner>
Returns:
a PID

getSchema

protected java.lang.String getSchema()
Returns the scanner schema.

Specified by:
getSchema in class AbstractScannerActivator<BundleScanner>
Returns:
scanner schema

setResolver

protected void setResolver(org.ops4j.util.property.PropertyResolver propertyResolver)
Sets the propertyResolver to use.

Specified by:
setResolver in class AbstractScannerActivator<BundleScanner>
Parameters:
propertyResolver - a resoler


Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.