org.apache.ace.configurator.useradmin.task
Class UpdateUserAdminTask

java.lang.Object
  extended by org.apache.ace.configurator.useradmin.task.UpdateUserAdminTask
All Implemented Interfaces:
Runnable, org.osgi.service.cm.ManagedService

public class UpdateUserAdminTask
extends Object
implements Runnable, org.osgi.service.cm.ManagedService

UpdateUserAdminTask processes the contents of a repository containing an XML description of the users that should be present in this system's user admin.

From the first run on, this task will keep a local copy of the user repository, so login can happen when the server is offline.


Field Summary
static String KEY_REPOSITORY_CUSTOMER
           
static String KEY_REPOSITORY_LOCATION
           
static String KEY_REPOSITORY_NAME
           
static String PID
          The UpdateUserAdminTask is also used as its taskName for the scheduler.
 
Constructor Summary
UpdateUserAdminTask()
           
 
Method Summary
 void run()
           
 void start()
           
 void updated(Dictionary dict)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PID

public static final String PID
The UpdateUserAdminTask is also used as its taskName for the scheduler.


KEY_REPOSITORY_LOCATION

public static final String KEY_REPOSITORY_LOCATION
See Also:
Constant Field Values

KEY_REPOSITORY_CUSTOMER

public static final String KEY_REPOSITORY_CUSTOMER
See Also:
Constant Field Values

KEY_REPOSITORY_NAME

public static final String KEY_REPOSITORY_NAME
See Also:
Constant Field Values
Constructor Detail

UpdateUserAdminTask

public UpdateUserAdminTask()
Method Detail

run

public void run()
Specified by:
run in interface Runnable

start

public void start()

updated

public void updated(Dictionary dict)
             throws org.osgi.service.cm.ConfigurationException
Specified by:
updated in interface org.osgi.service.cm.ManagedService
Throws:
org.osgi.service.cm.ConfigurationException


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.