toggle menu
Wow
3.16.8
jvm
switch theme
search in API
wow-core
/
me.ahoo.wow.ioc
/
ServiceProvider
Service
Provider
interface
ServiceProvider
ServiceProvider .
Author
ahoo wang
Inheritors
SimpleServiceProvider
Members
Members & Extensions
Functions
get
Required
Service
Link copied to clipboard
open
fun
<
S
:
Any
>
getRequiredService
(
serviceType
:
Class
<
S
>
)
:
S
open
fun
<
S
:
Any
>
getRequiredService
(
serviceName
:
String
)
:
S
get
Required
Service
Link copied to clipboard
inline
fun
<
S
:
Any
>
ServiceProvider
.
getRequiredService
(
)
:
S
get
Service
Link copied to clipboard
abstract
fun
<
S
:
Any
>
getService
(
serviceType
:
Class
<
S
>
)
:
S
?
abstract
fun
<
S
:
Any
>
getService
(
serviceName
:
String
)
:
S
?
get
Service
Link copied to clipboard
inline
fun
<
S
:
Any
>
ServiceProvider
.
getService
(
)
:
S
?
register
Link copied to clipboard
open
fun
<
S
:
Any
>
register
(
service
:
S
)
abstract
fun
<
S
:
Any
>
register
(
serviceType
:
Class
<
S
>
,
service
:
S
)
abstract
fun
<
S
:
Any
>
register
(
serviceName
:
String
,
service
:
S
)