Thank you for the information. My requirement is actually to deploy some
APIs upon server startup to the API gateway. And the authentication admin
service is accessed during this process. Although transports are activated
before ServerStartupObservers are notified, there's seems to be a slight
delay before the admin service starts listening on the port. So the issue
arises since the service gets called immediately after the
ServerStartupObserver is notified.
On Thu, Feb 22, 2018 at 3:17 PM, Thusitha Thilina Dayaratne <
> Hi Amanda,
> AFAIK ServerStartupObservers get notify after the transport activation.
>  - https://github.com/wso2/carbon-kernel/blob/4.4.x/core/
> On Thu, Feb 22, 2018 at 6:25 PM, Amanda Jayanetti <aman...@wso2.com>
>> 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
>> Best Regards,
>> *Amanda Jayanetti*
>> Software Engineer
>> WSO2, Inc.; http://wso2.com
>> Mobile: +9471957591 <+94%2071%20185%202792>1
>> Dev mailing list
WSO2, Inc.; http://wso2.com
Mobile: +9471957591 <+94%2071%20185%202792>1
Dev mailing list