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.nulldefault void close()
close in interface AutoCloseableclose in interface ServiceRegistryvoid destroy()
void registerChild(ServiceRegistryImplementor child)
void deRegisterChild(ServiceRegistryImplementor child)
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.