@Reference(service = ServerStarted.class,
               policy = ReferencePolicy.DYNAMIC,
               cardinality = ReferenceCardinality.OPTIONAL,
               policyOption = ReferencePolicyOption.GREEDY)
    protected void setServerStarted(ServiceReference<ServerStarted> ref) {
        // set will be called when the ServerStarted service has been registered (by the FeatureManager as of 9/2015).  This is a signal that that
        // the server is fully started.  Therefore we can signal such things as the TCP Channel Accept logic to start accepting connections, if the
        // channel has been configured to do that.

        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(this, tc, "Server Completely Started signal received");
        }

        synchronized (syncStarted) {
            serverCompletelyStarted = true;
            syncStarted.notifyAll();
        }
    }
@ Reference ( service = ServerStarted . class , policy = ReferencePolicy . DYNAMIC , cardinality = ReferenceCardinality . OPTIONAL , policyOption = ReferencePolicyOption . GREEDY ) protected void setServerStarted ( ServiceReference < ServerStarted > ref ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( this , tc , "Server Completely Started signal received" ) ; } synchronized ( syncStarted ) { serverCompletelyStarted = true ; syncStarted . notifyAll ( ) ; } }
Declarative services method that is invoked once the server is started.
Only after this method is invoked is the initial polling for
persistent tasks performed.

@param ref reference to the ServerStarted service