test-services/src/main/java/org/apache/sling/testing/mock/osgi/testsvc/osgiserviceutil/activatedeactivate/Service2.java [34:49]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        this.activated = true;
        this.bundleContext = ctx;
    }

    @Deactivate
    private void deactivate(BundleContext ctx) {
        this.activated = false;
        this.bundleContext = null;
    }

    public boolean isActivated() {
        return activated;
    }

    public BundleContext getBundleContext() {
        return bundleContext;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



test-services/src/main/java/org/apache/sling/testing/mock/osgi/testsvc/osgiserviceutil/activatedeactivate/Service2Constructor.java [34:49]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        this.activated = true;
        this.bundleContext = ctx;
    }

    @Deactivate
    private void deactivate(BundleContext ctx) {
        this.activated = false;
        this.bundleContext = null;
    }

    public boolean isActivated() {
        return activated;
    }

    public BundleContext getBundleContext() {
        return bundleContext;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



