Hi Amanda,

AFAIK ServerStartupObservers get notify after the transport activation[1].

[1] -
https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.core/src/main/java/org/wso2/carbon/core/internal/StartupFinalizerServiceComponent.java#L209

Thanks

On Thu, Feb 22, 2018 at 6:25 PM, Amanda Jayanetti <aman...@wso2.com> wrote:

> Hi all,
>
> For a task that I'm currently working on, authentication admin service
> needs to be called right after server startup.
>
> I'm using ServerStartupObserver for registering a listener which invokes
> the function from which the admin service gets called. But at the time this
> function gets invoked, the authentication admin service though deployed, is
> not accessible since transports have not been activated.
>
> Any suggestions/thoughts on how the above issue can be resolved is highly
> appreciated.
>
> Best Regards,
> Amanda
> --
> *Amanda Jayanetti*
> Software Engineer
> WSO2, Inc.; http://wso2.com
>
> Mobile: +9471957591 <+94%2071%20185%202792>1
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to