Interface
caplin.core

DelayedReadinessService

Constructor Summary

Attributes Name and Description
caplin.core.DelayedReadinessService()

This represents an interface, and should not normally be constructed.

Method Summary

Attributes Name and Description
void addDelayedReadinessServiceListener(caplin.core.DelayedReadinessServiceListener oDelayedReadinessServiceListener)

Registers a caplin.core.DelayedReadinessServiceListener object which is used to notify when the service is ready to use.

<static> Array getServiceDependencies()

Returns the list of services that this service requires to be in a ready state before it can be constructed.

Constructor Detail

caplin.core.DelayedReadinessService()

This represents an interface, and should not normally be constructed.

Method Detail

void addDelayedReadinessServiceListener(caplin.core.DelayedReadinessServiceListener oDelayedReadinessServiceListener)

Registers a caplin.core.DelayedReadinessServiceListener object which is used to notify when the service is ready to use.

Parameters
caplin.core.DelayedReadinessServiceListener oDelayedReadinessServiceListener The service readiness listener.

<static> Array getServiceDependencies()

Returns the list of services that this service requires to be in a ready state before it can be constructed. Return an empty array otherwise. This method should not be on the prototype but should be a static method on the service class. Only other caplin.core.DelayedReadinessServices should be specified.

Returns
an array of {String}s listing the services that this service depends on.