Permalink
Commits on Jun 22, 2011
  1. Prep 1.0.0.CR2

    dmlloyd committed Jun 22, 2011
Commits on Jun 21, 2011
  1. Next is 1.0.0.CR2

    dmlloyd committed Jun 21, 2011
  2. Prep 1.0.0.CR1

    dmlloyd committed Jun 21, 2011
Commits on Jun 20, 2011
  1. Test for MSC-103

    stuartwdouglas committed Jun 20, 2011
Commits on Jun 15, 2011
  1. [MSC-98] Include cycle information at CircularDependencyException.

    fl4via committed Jun 14, 2011
    Update DependencyCycleTestCase to check if cycle information is accurate.
    Also, update RemovalDuringcycleDetectionTest due to changes in cycle detection bytecodes.
Commits on Jun 14, 2011
  1. [MSC-100] At ServiceControllerImpl.commitInstallation, remove the uns…

    fl4via committed Jun 14, 2011
    …ynchronized block between the moment dependents are notified of dependency availability and the moment a service status is set from NEW to DOWN.
    
    If a second thread attempts to install a  dependent at the moment this unsynchronized block is executing, the dependent will fail to receive an immediateDependencyAvailable notification. As a result, this dependent will never be able to start.
    
    Create race condition InstallDependentDuringDependencyInstallationTestCase to check the bug is fixed.
Commits on May 27, 2011
  1. [MSC-99] Listener inheritance

    dmlloyd committed May 27, 2011
  2. Fix minor generics issue

    dmlloyd committed May 27, 2011
Commits on May 25, 2011
  1. Clear TCCL after user tasks

    dmlloyd committed May 25, 2011
Commits on May 24, 2011
Commits on May 23, 2011
  1. Comment; also, add convenience methods for identifying transitions wh…

    dmlloyd committed May 23, 2011
    …ich enter or leave rest states
Commits on May 20, 2011
Commits on May 19, 2011
  1. Clean up some warnings

    dmlloyd committed May 19, 2011
Commits on May 18, 2011
  1. [MSC-93] Avoid sending an immediateDependencyAvailable notification w…

    fl4via committed May 18, 2011
    …ithout an immediateDependencyUnavailable counterpart.
    
    Such a scenario could happen during a service installation, if the ServiceRegistrationImpl object gets an addDependent call
    before the instance installation is committed, but after the instance was set.
    This behavior could also lead to a missing immediateDependencyUnavailable call if a dependent is added to a service whose
    ongoing installation will be rolled back.
Commits on May 17, 2011
  1. Adjust exception message

    dmlloyd committed May 17, 2011
  2. [MSC-91] Allow removal requests to be cleared whenever the service ha…

    fl4via committed May 17, 2011
    …sn't entered REMOVING substate.
    
    Add two racecondition tests to simulate a scenario whereas the removal request can be successfully cleared, and another scenario where it is too late to revert removal..
Commits on Apr 29, 2011
  1. [MSC-76] Problem in DFA parser causes quoted last segment to be doubl…

    dmlloyd committed Apr 29, 2011
    …ed in final service name
  2. [MSC-89] Remove FAILED from DependencyState enum, replacing it by a b…

    fl4via committed Apr 29, 2011
    …oolean dependencyFailed field.
    
    Also, remove useless notifyTransitiveDependencyUnavailable, and tidy up the code.
  3. [MSC-87] The DemandParentsTask and UndemandParentsTask is no longer c…

    fl4via committed Apr 29, 2011
    …reated from inside setMode. Instead, it is created only when the transition method is invoked and asyncTasks == 0.
    
    The new version of setMode no longer performs any action related to demandParents/undemandParents tasks leaving this responsibility to transition, which will check for current
    status conditions and decide whether a new DemandParentsTask/UndemandParentsTask should be created. As a support, the new parentsDemanded field has been added, to indicate to
    transition whether parents have been demanded.
    This change in behavior garantees that no out-of-order demand notifications will take place, as no demanded-related task will be created unless asyncTasks == 0.
    Also, update OptionalDependencyListenersTestCase, whose tests no longer require a Thread.sleep between mode changes, a statement that was added before to avoid the out-of-order demand issue in the tests.
Commits on Apr 27, 2011
  1. [MSC-88] removing all @Deprecated stuff

    Richard Opalka committed Apr 27, 2011
Commits on Apr 26, 2011
  1. Service thread detection

    dmlloyd committed Apr 23, 2011
  2. [MSC-87] Remove duplicate addDemand notifications when going from ON_…

    fl4via committed Apr 26, 2011
    …DEMAND to ACTIVE, and from PASSIVE to ACTIVE.
  3. Fix some test race conditions.

    fl4via committed Apr 26, 2011
    MultipleRemoveListenerTestCase: wait for a callback to make sure we are waiting for handleDone to be called.
    ChildServiceTargetTestCase add more listener future waits to avoid certain race conditions.
  4. [MSC-83] Add a new mode LAZY.

    fl4via committed Apr 26, 2011
    The new mode behaves just like ON_DEMAND when not in the UP state, and like ACTIVE when in the UP state.
    Update ChangeModeTestCase and ChangeModeOnListenerAddedTestCase accordingly.
Commits on Apr 18, 2011
  1. Next is 1.0.0.Beta9

    dmlloyd committed Apr 18, 2011
  2. Prep 1.0.0.Beta8

    dmlloyd committed Apr 18, 2011
  3. POM fixes

    dmlloyd committed Apr 18, 2011