public interface ServiceRegistryImplementor extends ServiceRegistry
Modifier and Type | Method and Description |
---|---|
default void |
close() |
void |
deRegisterChild(ServiceRegistryImplementor child)
When a registry is created with a parent, the parent is notified of the child
via this callback.
|
void |
destroy()
Release resources
|
<R extends Service> |
locateServiceBinding(Class<R> serviceRole)
Locate the binding for the given role.
|
void |
registerChild(ServiceRegistryImplementor child)
When a registry is created with a parent, the parent is notified of the child
via this callback.
|
getParentServiceRegistry, getService, requireService
<R extends Service> ServiceBinding<R> locateServiceBinding(Class<R> serviceRole)
R
- generic return type.serviceRole
- The service role for which to locate a binding.null
default void close()
close
in interface AutoCloseable
close
in interface ServiceRegistry
void destroy()
void registerChild(ServiceRegistryImplementor child)
void deRegisterChild(ServiceRegistryImplementor child)
Copyright © 2019 JBoss by Red Hat. All rights reserved.