const mixinafIoc::ServiceDef

afIoc::ServiceDef

@Js

Definition of a Service. ServiceDefs are returned from Registry.serviceDefs().

aliasTypes

Source

abstract Type[] aliasTypes()

Any aliases the service is also known as (Types).

aliases

Source

abstract Str[] aliases()

Any aliases the service is also known as (IDs).

declaredScopes

Source

abstract Str[] declaredScopes()

The scopes this service was declared with.

id

Source

abstract Str id()

The service's unique ID.

matchedScopes

Source

abstract Str[] matchedScopes()

The scopes this service has been matched with (and is able to be created in).

matchesId

Source

abstract Bool matchesId(Str serviceId)

Returns true if the service ID or any aliases matches the given ID.

matchesType

Source

abstract Bool matchesType(Type serviceType)

Returns true if the service type or any aliases matches the given type.

noOfInstancesBuilt

Source

abstract Int noOfInstancesBuilt()

The number of services (to date) that have been built.

type

Source

abstract Type type()

The Type of the service.