Class ServiceRegistries
java.lang.Object
org.jboss.weld.bootstrap.api.helpers.ServiceRegistries
Utility class for
ServiceRegistry-
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceRegistryunmodifiableServiceRegistry(ServiceRegistry serviceRegistry) Returns an unmodifiable version of providedServiceRegistrywhere any attempt to add a service results in an exception
-
Method Details
-
unmodifiableServiceRegistry
Returns an unmodifiable version of providedServiceRegistrywhere any attempt to add a service results in an exception- Parameters:
serviceRegistry- service registry to process- Returns:
- unmodifiable variant
-