Package org.jboss.msc.value
Interface Value<T>
- Type Parameters:
T- referenced dependency value type
- All Known Subinterfaces:
Service<T>,ServiceController<S>,SingletonService<T>,SingletonServiceController<T>
- All Known Implementing Classes:
ActiveMQActivationService,BinderService,DefaultNamespaceContextSelectorService,DelegatingServiceController,ExternalBrokerConfigurationService,ExternalConnectionFactoryService,ExternalContextBinderService,ExternalContextsService,ExternalJMSQueueService,ExternalJMSTopicService,ExternalPooledConnectionFactoryService,GroupBindingService,HttpRemoteNamingServerService,HTTPUpgradeService,InjectedValue,JMSQueueService,JMSService,JMSTopicService,JndiViewExtensionRegistry,LegacyConnectionFactoryService,NamingLookupValue,NamingService,NamingStoreService,PooledConnectionFactoryService,PooledConnectionFactoryStatisticsService,RemoteNamingServerService,RuntimeBindReleaseService
Deprecated.
Reference to a readonly dependency value.
User code should never store referenced value in global fields
and should always use
getValue() method instead.
Implementations of this interface are thread safe.
- Author:
- David M. Lloyd, Richard Opalka
-
Method Summary
-
Method Details
-
getValue
Deprecated.Get the actual dependency value.- Returns:
- the actual dependency value
- Throws:
IllegalStateException- if the value is time-sensitive and the current state does not allow retrieval.IllegalArgumentException- when the value cannot be read due to misconfiguration
-
ServiceBuilder.requires(org.jboss.msc.service.ServiceName)method instead. This class will be removed in a future release.