From a46df0491afdcc3969c6fc359929e38a254bd7d6 Mon Sep 17 00:00:00 2001 From: Scott M Stark Date: Fri, 1 Mar 2024 00:27:51 -0600 Subject: [PATCH 1/6] Update for the CDI 4.1 final release Signed-off-by: Scott M Stark --- cdi/4.1/_index.md | 18 +- cdi/4.1/apidocs/allclasses-index.html | 1655 +-- cdi/4.1/apidocs/allclasses.html | 210 - cdi/4.1/apidocs/allpackages-index.html | 268 +- cdi/4.1/apidocs/constant-values.html | 206 +- cdi/4.1/apidocs/deprecated-list.html | 231 +- cdi/4.1/apidocs/help-doc.html | 349 +- cdi/4.1/apidocs/index-all.html | 2942 ++-- cdi/4.1/apidocs/index.html | 168 +- .../jakarta/decorator/Decorator.html | 215 +- .../jakarta/decorator/Delegate.html | 251 +- .../decorator/class-use/Decorator.html | 149 +- .../jakarta/decorator/class-use/Delegate.html | 149 +- .../jakarta/decorator/package-summary.html | 350 +- .../jakarta/decorator/package-tree.html | 152 +- .../jakarta/decorator/package-use.html | 145 +- .../context/ApplicationScoped.Literal.html | 429 +- .../enterprise/context/ApplicationScoped.html | 230 +- .../context/BeforeDestroyed.Literal.html | 529 +- .../enterprise/context/BeforeDestroyed.html | 305 +- .../context/BusyConversationException.html | 441 +- .../enterprise/context/ContextException.html | 428 +- .../context/ContextNotActiveException.html | 435 +- .../enterprise/context/Conversation.html | 472 +- .../context/ConversationScoped.Literal.html | 429 +- .../context/ConversationScoped.html | 267 +- .../enterprise/context/Dependent.Literal.html | 429 +- .../jakarta/enterprise/context/Dependent.html | 236 +- .../enterprise/context/Destroyed.Literal.html | 531 +- .../jakarta/enterprise/context/Destroyed.html | 305 +- .../context/Initialized.Literal.html | 531 +- .../enterprise/context/Initialized.html | 305 +- .../NonexistentConversationException.html | 441 +- .../enterprise/context/NormalScope.html | 288 +- .../context/RequestScoped.Literal.html | 429 +- .../enterprise/context/RequestScoped.html | 239 +- .../context/SessionScoped.Literal.html | 429 +- .../enterprise/context/SessionScoped.html | 236 +- .../class-use/ApplicationScoped.Literal.html | 215 +- .../context/class-use/ApplicationScoped.html | 149 +- .../class-use/BeforeDestroyed.Literal.html | 271 +- .../context/class-use/BeforeDestroyed.html | 149 +- .../class-use/BusyConversationException.html | 147 +- .../context/class-use/ContextException.html | 235 +- .../class-use/ContextNotActiveException.html | 210 +- .../context/class-use/Conversation.html | 147 +- .../class-use/ConversationScoped.Literal.html | 215 +- .../context/class-use/ConversationScoped.html | 149 +- .../context/class-use/Dependent.Literal.html | 215 +- .../context/class-use/Dependent.html | 149 +- .../context/class-use/Destroyed.Literal.html | 271 +- .../context/class-use/Destroyed.html | 149 +- .../class-use/Initialized.Literal.html | 271 +- .../context/class-use/Initialized.html | 149 +- .../NonexistentConversationException.html | 147 +- .../context/class-use/NormalScope.html | 247 +- .../class-use/RequestScoped.Literal.html | 215 +- .../context/class-use/RequestScoped.html | 212 +- .../class-use/SessionScoped.Literal.html | 215 +- .../context/class-use/SessionScoped.html | 149 +- .../control/ActivateRequestContext.html | 203 +- .../control/RequestContextController.html | 335 +- .../class-use/ActivateRequestContext.html | 149 +- .../class-use/RequestContextController.html | 147 +- .../context/control/package-summary.html | 232 +- .../context/control/package-tree.html | 154 +- .../context/control/package-use.html | 145 +- .../enterprise/context/package-summary.html | 618 +- .../enterprise/context/package-tree.html | 206 +- .../enterprise/context/package-use.html | 343 +- .../context/spi/AlterableContext.html | 306 +- .../enterprise/context/spi/Context.html | 387 +- .../enterprise/context/spi/Contextual.html | 333 +- .../context/spi/CreationalContext.html | 311 +- .../spi/class-use/AlterableContext.html | 147 +- .../context/spi/class-use/Context.html | 312 +- .../context/spi/class-use/Contextual.html | 328 +- .../spi/class-use/CreationalContext.html | 420 +- .../context/spi/package-summary.html | 270 +- .../enterprise/context/spi/package-tree.html | 156 +- .../enterprise/context/spi/package-use.html | 308 +- .../jakarta/enterprise/event/Event.html | 535 +- .../event/NotificationOptions.Builder.html | 352 +- .../enterprise/event/NotificationOptions.html | 440 +- .../enterprise/event/ObserverException.html | 426 +- .../jakarta/enterprise/event/Observes.html | 340 +- .../enterprise/event/ObservesAsync.html | 304 +- .../jakarta/enterprise/event/Reception.html | 454 +- .../jakarta/enterprise/event/Shutdown.html | 293 +- .../jakarta/enterprise/event/Startup.html | 293 +- .../enterprise/event/TransactionPhase.html | 526 +- .../enterprise/event/class-use/Event.html | 287 +- .../NotificationOptions.Builder.html | 235 +- .../event/class-use/NotificationOptions.html | 261 +- .../event/class-use/ObserverException.html | 147 +- .../enterprise/event/class-use/Observes.html | 149 +- .../event/class-use/ObservesAsync.html | 149 +- .../enterprise/event/class-use/Reception.html | 369 +- .../enterprise/event/class-use/Shutdown.html | 147 +- .../enterprise/event/class-use/Startup.html | 147 +- .../event/class-use/TransactionPhase.html | 389 +- .../enterprise/event/package-summary.html | 512 +- .../enterprise/event/package-tree.html | 186 +- .../jakarta/enterprise/event/package-use.html | 379 +- .../inject/Alternative.Literal.html | 429 +- .../enterprise/inject/Alternative.html | 219 +- .../inject/AmbiguousResolutionException.html | 440 +- .../enterprise/inject/Any.Literal.html | 433 +- .../jakarta/enterprise/inject/Any.html | 216 +- .../enterprise/inject/CreationException.html | 433 +- .../jakarta/enterprise/inject/Decorated.html | 209 +- .../enterprise/inject/Default.Literal.html | 433 +- .../jakarta/enterprise/inject/Default.html | 214 +- .../jakarta/enterprise/inject/Disposes.html | 239 +- .../inject/IllegalProductException.html | 431 +- .../enterprise/inject/InjectionException.html | 428 +- .../enterprise/inject/Instance.Handle.html | 401 +- .../jakarta/enterprise/inject/Instance.html | 770 +- .../enterprise/inject/Intercepted.html | 209 +- .../jakarta/enterprise/inject/Model.html | 207 +- .../jakarta/enterprise/inject/Produces.html | 245 +- .../inject/ResolutionException.html | 435 +- .../inject/Specializes.Literal.html | 433 +- .../enterprise/inject/Specializes.html | 248 +- .../jakarta/enterprise/inject/Stereotype.html | 247 +- .../inject/TransientReference.Literal.html | 433 +- .../enterprise/inject/TransientReference.html | 227 +- .../enterprise/inject/Typed.Literal.html | 465 +- .../jakarta/enterprise/inject/Typed.html | 299 +- .../UnproxyableResolutionException.html | 440 +- .../UnsatisfiedResolutionException.html | 440 +- .../enterprise/inject/Vetoed.Literal.html | 433 +- .../jakarta/enterprise/inject/Vetoed.html | 228 +- .../compatible/spi/AnnotationBuilder.html | 2622 ++-- .../spi/AnnotationBuilderFactory.html | 313 +- .../inject/build/compatible/spi/BeanInfo.html | 799 +- .../spi/BuildCompatibleExtension.html | 195 +- .../build/compatible/spi/BuildServices.html | 294 +- .../compatible/spi/BuildServicesResolver.html | 368 +- .../build/compatible/spi/ClassConfig.html | 550 +- .../compatible/spi/DeclarationConfig.html | 443 +- .../build/compatible/spi/Discovery.html | 195 +- .../build/compatible/spi/DisposerInfo.html | 321 +- .../build/compatible/spi/Enhancement.html | 384 +- .../build/compatible/spi/FieldConfig.html | 457 +- .../compatible/spi/InjectionPointInfo.html | 348 +- .../build/compatible/spi/InterceptorInfo.html | 387 +- .../build/compatible/spi/InvokerFactory.html | 153 + .../build/compatible/spi/InvokerInfo.html | 195 +- .../inject/build/compatible/spi/Messages.html | 666 +- .../build/compatible/spi/MetaAnnotations.html | 414 +- .../build/compatible/spi/MethodConfig.html | 484 +- .../build/compatible/spi/ObserverInfo.html | 568 +- .../build/compatible/spi/ParameterConfig.html | 457 +- .../build/compatible/spi/Parameters.html | 343 +- .../build/compatible/spi/Registration.html | 275 +- .../build/compatible/spi/ScannedClasses.html | 284 +- .../build/compatible/spi/ScopeInfo.html | 340 +- .../spi/SkipIfPortableExtensionPresent.html | 274 +- .../build/compatible/spi/StereotypeInfo.html | 398 +- .../build/compatible/spi/Synthesis.html | 195 +- .../compatible/spi/SyntheticBeanBuilder.html | 1423 +- .../compatible/spi/SyntheticBeanCreator.html | 292 +- .../compatible/spi/SyntheticBeanDisposer.html | 296 +- .../compatible/spi/SyntheticComponents.html | 349 +- .../compatible/spi/SyntheticObserver.html | 296 +- .../spi/SyntheticObserverBuilder.html | 1278 +- .../inject/build/compatible/spi/Types.html | 713 +- .../build/compatible/spi/Validation.html | 195 +- .../spi/class-use/AnnotationBuilder.html | 1033 +- .../class-use/AnnotationBuilderFactory.html | 213 +- .../compatible/spi/class-use/BeanInfo.html | 301 +- .../class-use/BuildCompatibleExtension.html | 147 +- .../spi/class-use/BuildServices.html | 215 +- .../spi/class-use/BuildServicesResolver.html | 147 +- .../compatible/spi/class-use/ClassConfig.html | 287 +- .../spi/class-use/DeclarationConfig.html | 311 +- .../compatible/spi/class-use/Discovery.html | 149 +- .../spi/class-use/DisposerInfo.html | 215 +- .../compatible/spi/class-use/Enhancement.html | 149 +- .../compatible/spi/class-use/FieldConfig.html | 285 +- .../spi/class-use/InjectionPointInfo.html | 215 +- .../spi/class-use/InterceptorInfo.html | 223 +- .../spi/class-use/InvokerFactory.html | 64 + .../compatible/spi/class-use/InvokerInfo.html | 282 +- .../compatible/spi/class-use/Messages.html | 147 +- .../spi/class-use/MetaAnnotations.html | 147 +- .../spi/class-use/MethodConfig.html | 297 +- .../spi/class-use/ObserverInfo.html | 241 +- .../spi/class-use/ParameterConfig.html | 283 +- .../compatible/spi/class-use/Parameters.html | 243 +- .../spi/class-use/Registration.html | 149 +- .../spi/class-use/ScannedClasses.html | 147 +- .../compatible/spi/class-use/ScopeInfo.html | 225 +- .../SkipIfPortableExtensionPresent.html | 149 +- .../spi/class-use/StereotypeInfo.html | 215 +- .../compatible/spi/class-use/Synthesis.html | 149 +- .../spi/class-use/SyntheticBeanBuilder.html | 621 +- .../spi/class-use/SyntheticBeanCreator.html | 215 +- .../spi/class-use/SyntheticBeanDisposer.html | 215 +- .../spi/class-use/SyntheticComponents.html | 147 +- .../spi/class-use/SyntheticObserver.html | 215 +- .../class-use/SyntheticObserverBuilder.html | 581 +- .../build/compatible/spi/class-use/Types.html | 147 +- .../compatible/spi/class-use/Validation.html | 149 +- .../build/compatible/spi/package-summary.html | 523 +- .../build/compatible/spi/package-tree.html | 227 +- .../build/compatible/spi/package-use.html | 374 +- .../inject/class-use/Alternative.Literal.html | 210 +- .../inject/class-use/Alternative.html | 149 +- .../AmbiguousResolutionException.html | 147 +- .../inject/class-use/Any.Literal.html | 210 +- .../enterprise/inject/class-use/Any.html | 149 +- .../inject/class-use/CreationException.html | 147 +- .../inject/class-use/Decorated.html | 149 +- .../inject/class-use/Default.Literal.html | 210 +- .../enterprise/inject/class-use/Default.html | 149 +- .../enterprise/inject/class-use/Disposes.html | 149 +- .../class-use/IllegalProductException.html | 147 +- .../inject/class-use/InjectionException.html | 260 +- .../inject/class-use/Instance.Handle.html | 252 +- .../enterprise/inject/class-use/Instance.html | 456 +- .../inject/class-use/Intercepted.html | 149 +- .../enterprise/inject/class-use/Model.html | 149 +- .../enterprise/inject/class-use/Produces.html | 149 +- .../inject/class-use/ResolutionException.html | 230 +- .../inject/class-use/Specializes.Literal.html | 210 +- .../inject/class-use/Specializes.html | 149 +- .../inject/class-use/Stereotype.html | 257 +- .../class-use/TransientReference.Literal.html | 210 +- .../inject/class-use/TransientReference.html | 149 +- .../inject/class-use/Typed.Literal.html | 236 +- .../enterprise/inject/class-use/Typed.html | 149 +- .../UnproxyableResolutionException.html | 147 +- .../UnsatisfiedResolutionException.html | 147 +- .../inject/class-use/Vetoed.Literal.html | 210 +- .../enterprise/inject/class-use/Vetoed.html | 149 +- .../inject/literal/InjectLiteral.html | 403 +- .../inject/literal/NamedLiteral.html | 435 +- .../inject/literal/QualifierLiteral.html | 403 +- .../inject/literal/SingletonLiteral.html | 403 +- .../literal/class-use/InjectLiteral.html | 210 +- .../literal/class-use/NamedLiteral.html | 210 +- .../literal/class-use/QualifierLiteral.html | 210 +- .../literal/class-use/SingletonLiteral.html | 210 +- .../inject/literal/package-summary.html | 230 +- .../inject/literal/package-tree.html | 160 +- .../inject/literal/package-use.html | 222 +- .../enterprise/inject/package-summary.html | 516 +- .../enterprise/inject/package-tree.html | 226 +- .../enterprise/inject/package-use.html | 471 +- .../enterprise/inject/se/SeContainer.html | 443 +- .../inject/se/SeContainerInitializer.html | 896 +- .../inject/se/class-use/SeContainer.html | 210 +- .../se/class-use/SeContainerInitializer.html | 374 +- .../enterprise/inject/se/package-summary.html | 227 +- .../enterprise/inject/se/package-tree.html | 168 +- .../enterprise/inject/se/package-use.html | 206 +- .../inject/spi/AfterBeanDiscovery.html | 545 +- .../inject/spi/AfterDeploymentValidation.html | 292 +- .../inject/spi/AfterTypeDiscovery.html | 461 +- .../enterprise/inject/spi/Annotated.html | 450 +- .../inject/spi/AnnotatedCallable.html | 312 +- .../inject/spi/AnnotatedConstructor.html | 371 +- .../enterprise/inject/spi/AnnotatedField.html | 363 +- .../inject/spi/AnnotatedMember.html | 370 +- .../inject/spi/AnnotatedMethod.html | 373 +- .../inject/spi/AnnotatedParameter.html | 397 +- .../enterprise/inject/spi/AnnotatedType.html | 434 +- .../jakarta/enterprise/inject/spi/Bean.html | 345 +- .../enterprise/inject/spi/BeanAttributes.html | 425 +- .../enterprise/inject/spi/BeanContainer.html | 922 +- .../enterprise/inject/spi/BeanManager.html | 1217 +- .../inject/spi/BeforeBeanDiscovery.html | 656 +- .../enterprise/inject/spi/BeforeShutdown.html | 193 +- .../jakarta/enterprise/inject/spi/CDI.html | 613 +- .../enterprise/inject/spi/CDIProvider.html | 399 +- .../enterprise/inject/spi/Decorator.html | 386 +- .../inject/spi/DefinitionException.html | 412 +- .../inject/spi/DeploymentException.html | 412 +- .../enterprise/inject/spi/EventContext.html | 321 +- .../enterprise/inject/spi/EventMetadata.html | 346 +- .../enterprise/inject/spi/Extension.html | 199 +- .../enterprise/inject/spi/InjectionPoint.html | 480 +- .../inject/spi/InjectionTarget.html | 394 +- .../inject/spi/InjectionTargetFactory.html | 351 +- .../inject/spi/InterceptionFactory.html | 356 +- .../inject/spi/InterceptionType.html | 555 +- .../enterprise/inject/spi/Interceptor.html | 394 +- .../enterprise/inject/spi/ObserverMethod.html | 635 +- .../inject/spi/PassivationCapable.html | 286 +- .../enterprise/inject/spi/Prioritized.html | 294 +- .../inject/spi/ProcessAnnotatedType.html | 407 +- .../enterprise/inject/spi/ProcessBean.html | 375 +- .../inject/spi/ProcessBeanAttributes.html | 499 +- .../inject/spi/ProcessInjectionPoint.html | 409 +- .../inject/spi/ProcessInjectionTarget.html | 403 +- .../inject/spi/ProcessManagedBean.html | 341 +- .../inject/spi/ProcessObserverMethod.html | 484 +- .../inject/spi/ProcessProducer.html | 436 +- .../inject/spi/ProcessProducerField.html | 341 +- .../inject/spi/ProcessProducerMethod.html | 339 +- .../inject/spi/ProcessSessionBean.html | 357 +- .../spi/ProcessSyntheticAnnotatedType.html | 322 +- .../inject/spi/ProcessSyntheticBean.html | 310 +- .../spi/ProcessSyntheticObserverMethod.html | 324 +- .../enterprise/inject/spi/Producer.html | 356 +- .../inject/spi/ProducerFactory.html | 304 +- .../inject/spi/SessionBeanType.html | 471 +- .../spi/Unmanaged.UnmanagedInstance.html | 478 +- .../enterprise/inject/spi/Unmanaged.html | 453 +- .../inject/spi/WithAnnotations.html | 291 +- .../spi/class-use/AfterBeanDiscovery.html | 147 +- .../class-use/AfterDeploymentValidation.html | 147 +- .../spi/class-use/AfterTypeDiscovery.html | 147 +- .../inject/spi/class-use/Annotated.html | 319 +- .../spi/class-use/AnnotatedCallable.html | 251 +- .../spi/class-use/AnnotatedConstructor.html | 277 +- .../inject/spi/class-use/AnnotatedField.html | 341 +- .../inject/spi/class-use/AnnotatedMember.html | 297 +- .../inject/spi/class-use/AnnotatedMethod.html | 377 +- .../spi/class-use/AnnotatedParameter.html | 347 +- .../inject/spi/class-use/AnnotatedType.html | 453 +- .../enterprise/inject/spi/class-use/Bean.html | 508 +- .../inject/spi/class-use/BeanAttributes.html | 374 +- .../inject/spi/class-use/BeanContainer.html | 281 +- .../inject/spi/class-use/BeanManager.html | 281 +- .../spi/class-use/BeforeBeanDiscovery.html | 147 +- .../inject/spi/class-use/BeforeShutdown.html | 147 +- .../enterprise/inject/spi/class-use/CDI.html | 225 +- .../inject/spi/class-use/CDIProvider.html | 267 +- .../inject/spi/class-use/Decorator.html | 217 +- .../spi/class-use/DefinitionException.html | 147 +- .../spi/class-use/DeploymentException.html | 147 +- .../inject/spi/class-use/EventContext.html | 300 +- .../inject/spi/class-use/EventMetadata.html | 213 +- .../inject/spi/class-use/Extension.html | 332 +- .../inject/spi/class-use/InjectionPoint.html | 423 +- .../inject/spi/class-use/InjectionTarget.html | 251 +- .../spi/class-use/InjectionTargetFactory.html | 245 +- .../spi/class-use/InterceptionFactory.html | 227 +- .../spi/class-use/InterceptionType.html | 324 +- .../inject/spi/class-use/Interceptor.html | 217 +- .../inject/spi/class-use/ObserverMethod.html | 319 +- .../spi/class-use/PassivationCapable.html | 147 +- .../inject/spi/class-use/Prioritized.html | 270 +- .../spi/class-use/ProcessAnnotatedType.html | 215 +- .../inject/spi/class-use/ProcessBean.html | 255 +- .../spi/class-use/ProcessBeanAttributes.html | 147 +- .../spi/class-use/ProcessInjectionPoint.html | 147 +- .../spi/class-use/ProcessInjectionTarget.html | 147 +- .../spi/class-use/ProcessManagedBean.html | 215 +- .../spi/class-use/ProcessObserverMethod.html | 215 +- .../inject/spi/class-use/ProcessProducer.html | 147 +- .../spi/class-use/ProcessProducerField.html | 147 +- .../spi/class-use/ProcessProducerMethod.html | 147 +- .../spi/class-use/ProcessSessionBean.html | 147 +- .../ProcessSyntheticAnnotatedType.html | 147 +- .../spi/class-use/ProcessSyntheticBean.html | 147 +- .../ProcessSyntheticObserverMethod.html | 147 +- .../inject/spi/class-use/Producer.html | 277 +- .../inject/spi/class-use/ProducerFactory.html | 260 +- .../inject/spi/class-use/SessionBeanType.html | 237 +- .../Unmanaged.UnmanagedInstance.html | 265 +- .../inject/spi/class-use/Unmanaged.html | 147 +- .../inject/spi/class-use/WithAnnotations.html | 149 +- .../AnnotatedConstructorConfigurator.html | 445 +- .../AnnotatedFieldConfigurator.html | 385 +- .../AnnotatedMethodConfigurator.html | 445 +- .../AnnotatedParameterConfigurator.html | 385 +- .../AnnotatedTypeConfigurator.html | 581 +- .../BeanAttributesConfigurator.html | 795 +- .../spi/configurator/BeanConfigurator.html | 1223 +- .../InjectionPointConfigurator.html | 505 +- ...erverMethodConfigurator.EventConsumer.html | 304 +- .../ObserverMethodConfigurator.html | 754 +- .../configurator/ProducerConfigurator.html | 355 +- .../AnnotatedConstructorConfigurator.html | 262 +- .../class-use/AnnotatedFieldConfigurator.html | 262 +- .../AnnotatedMethodConfigurator.html | 262 +- .../AnnotatedParameterConfigurator.html | 278 +- .../class-use/AnnotatedTypeConfigurator.html | 346 +- .../class-use/BeanAttributesConfigurator.html | 425 +- .../class-use/BeanConfigurator.html | 567 +- .../class-use/InjectionPointConfigurator.html | 327 +- ...erverMethodConfigurator.EventConsumer.html | 210 +- .../class-use/ObserverMethodConfigurator.html | 410 +- .../class-use/ProducerConfigurator.html | 265 +- .../spi/configurator/package-summary.html | 282 +- .../inject/spi/configurator/package-tree.html | 170 +- .../inject/spi/configurator/package-use.html | 357 +- .../inject/spi/package-summary.html | 896 +- .../enterprise/inject/spi/package-tree.html | 282 +- .../enterprise/inject/spi/package-use.html | 711 +- .../jakarta/enterprise/invoke/Invoker.html | 431 +- .../enterprise/invoke/InvokerBuilder.html | 783 +- .../enterprise/invoke/class-use/Invoker.html | 215 +- .../invoke/class-use/InvokerBuilder.html | 356 +- .../enterprise/invoke/package-summary.html | 200 +- .../enterprise/invoke/package-tree.html | 152 +- .../enterprise/invoke/package-use.html | 296 +- .../enterprise/util/AnnotationLiteral.html | 496 +- .../enterprise/util/Nonbinding.Literal.html | 429 +- .../jakarta/enterprise/util/Nonbinding.html | 226 +- .../jakarta/enterprise/util/TypeLiteral.html | 501 +- .../util/class-use/AnnotationLiteral.html | 499 +- .../util/class-use/Nonbinding.Literal.html | 212 +- .../enterprise/util/class-use/Nonbinding.html | 149 +- .../util/class-use/TypeLiteral.html | 309 +- .../enterprise/util/package-summary.html | 237 +- .../jakarta/enterprise/util/package-tree.html | 160 +- .../jakarta/enterprise/util/package-use.html | 396 +- .../apidocs/jakarta.cdi/module-summary.html | 312 +- .../apidocs/jquery/external/jquery/jquery.js | 10872 --------------- .../jquery/jszip-utils/dist/jszip-utils-ie.js | 56 - .../jszip-utils/dist/jszip-utils-ie.min.js | 10 - .../jquery/jszip-utils/dist/jszip-utils.js | 118 - .../jszip-utils/dist/jszip-utils.min.js | 10 - cdi/4.1/apidocs/jquery/jszip/dist/jszip.js | 11370 ---------------- .../apidocs/jquery/jszip/dist/jszip.min.js | 13 - cdi/4.1/apidocs/legal/jszip.md | 653 - cdi/4.1/apidocs/legal/pako.md | 45 - cdi/4.1/apidocs/member-search-index.js | 2 +- cdi/4.1/apidocs/member-search-index.zip | Bin 8640 -> 0 bytes cdi/4.1/apidocs/module-search-index.js | 2 +- cdi/4.1/apidocs/module-search-index.zip | Bin 185 -> 0 bytes cdi/4.1/apidocs/overview-summary.html | 12 +- cdi/4.1/apidocs/overview-tree.html | 545 +- cdi/4.1/apidocs/package-search-index.js | 2 +- cdi/4.1/apidocs/package-search-index.zip | Bin 336 -> 0 bytes .../jquery-3.6.1.min.js | 0 .../{jquery => script-dir}/jquery-ui.min.css | 0 .../{jquery => script-dir}/jquery-ui.min.js | 0 cdi/4.1/apidocs/script.js | 183 +- cdi/4.1/apidocs/search.js | 408 +- cdi/4.1/apidocs/serialized-form.html | 673 +- cdi/4.1/apidocs/stylesheet.css | 775 +- cdi/4.1/apidocs/tag-search-index.js | 1 + cdi/4.1/apidocs/type-search-index.js | 2 +- cdi/4.1/apidocs/type-search-index.zip | Bin 1554 -> 0 bytes ...-4.1-M1.html => jakarta-cdi-spec-4.1.html} | 3157 ++--- ...ec-4.1-M1.pdf => jakarta-cdi-spec-4.1.pdf} | Bin 5281357 -> 4906383 bytes 442 files changed, 45486 insertions(+), 121172 deletions(-) delete mode 100644 cdi/4.1/apidocs/allclasses.html create mode 100644 cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InvokerFactory.html create mode 100644 cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InvokerFactory.html delete mode 100644 cdi/4.1/apidocs/jquery/external/jquery/jquery.js delete mode 100644 cdi/4.1/apidocs/jquery/jszip-utils/dist/jszip-utils-ie.js delete mode 100644 cdi/4.1/apidocs/jquery/jszip-utils/dist/jszip-utils-ie.min.js delete mode 100644 cdi/4.1/apidocs/jquery/jszip-utils/dist/jszip-utils.js delete mode 100644 cdi/4.1/apidocs/jquery/jszip-utils/dist/jszip-utils.min.js delete mode 100644 cdi/4.1/apidocs/jquery/jszip/dist/jszip.js delete mode 100644 cdi/4.1/apidocs/jquery/jszip/dist/jszip.min.js delete mode 100644 cdi/4.1/apidocs/legal/jszip.md delete mode 100644 cdi/4.1/apidocs/legal/pako.md delete mode 100644 cdi/4.1/apidocs/member-search-index.zip delete mode 100644 cdi/4.1/apidocs/module-search-index.zip delete mode 100644 cdi/4.1/apidocs/package-search-index.zip rename cdi/4.1/apidocs/{jquery => script-dir}/jquery-3.6.1.min.js (100%) rename cdi/4.1/apidocs/{jquery => script-dir}/jquery-ui.min.css (100%) rename cdi/4.1/apidocs/{jquery => script-dir}/jquery-ui.min.js (100%) create mode 100644 cdi/4.1/apidocs/tag-search-index.js delete mode 100644 cdi/4.1/apidocs/type-search-index.zip rename cdi/4.1/{jakarta-cdi-spec-4.1-M1.html => jakarta-cdi-spec-4.1.html} (85%) rename cdi/4.1/{jakarta-cdi-spec-4.1-M1.pdf => jakarta-cdi-spec-4.1.pdf} (86%) diff --git a/cdi/4.1/_index.md b/cdi/4.1/_index.md index b625457d45..29d3ce9090 100644 --- a/cdi/4.1/_index.md +++ b/cdi/4.1/_index.md @@ -1,6 +1,6 @@ --- -title: "Jakarta Contexts and Dependency Injection 4.1 (Under development)" -date: 2023-11-30 +title: "Jakarta Contexts and Dependency Injection 4.1" +date: 2024-02-29 summary: "Release for Jakarta EE 11" --- @@ -35,21 +35,21 @@ and refactors features that are not client facing into the subinterface. ### Minimum Java SE Version -**Java SE 21 or higher** +**Java SE 17 or higher** # Details * [Jakarta Contexts Dependency Injection 4.1 Release Record](https://projects.eclipse.org/projects/ee4j.cdi/releases/4.1) -* [Jakarta Contexts Dependency Injection 4.1-M1 Specification Document](./jakarta-cdi-spec-4.1-M1.pdf) (PDF) -* [Jakarta Contexts Dependency Injection 4.1-M1 Specification Document](./jakarta-cdi-spec-4.1-M1.html) (HTML) -* [Jakarta Contexts Dependency Injection 4.1-M1 Javadoc](./apidocs) -* [Jakarta Contexts Dependency Injection 4.1-M1 TCK](https://www.eclipse.org/downloads/download.php?file=/ee4j/cdi/4.1/cdi-tck-4.1.0-M1-dist.zip) +* [Jakarta Contexts Dependency Injection 4.1 Specification Document](./jakarta-cdi-spec-4.1.pdf) (PDF) +* [Jakarta Contexts Dependency Injection 4.1 Specification Document](./jakarta-cdi-spec-4.1.html) (HTML) +* [Jakarta Contexts Dependency Injection 4.1 Javadoc](./apidocs) +* [Jakarta Contexts Dependency Injection 4.1.0 TCK](https://www.eclipse.org/downloads/download.php?file=/ee4j/cdi/4.1/cdi-tck-4.1.0-dist.zip) ([sig](https://download.eclipse.org/jakartaee/cdi/4.1/TBD.zip.sig), [sha](https://download.eclipse.org/jakartaee/cdi/4.1/TBD.zip.sha256), [pub](https://raw.githubusercontent.com/jakartaee/specification-committee/master/jakartaee-spec-committee.pub)) * Maven coordinates - * [jakarta.enterprise:jakarta.enterprise.cdi-api:4.1.0-M1](https://search.maven.org/artifact/jakarta.enterprise/jakarta.enterprise.cdi-api/4.1.0-M1/jar) + * [jakarta.enterprise:jakarta.enterprise.cdi-api:4.1.0](https://search.maven.org/artifact/jakarta.enterprise/jakarta.enterprise.cdi-api/4.1.0/jar) * Schemas * [XML Schema for the CDI 4.0 beans.xml deployment](https://jakarta.ee/xml/ns/jakartaee/beans_4_0.xsd) @@ -57,7 +57,7 @@ and refactors features that are not client facing into the subinterface. # Compatible Implementations -* [Weld 6.0.0](https://weld.cdi-spec.org/download/) TBD +* [Weld 6.0.0.Beta1](https://weld.cdi-spec.org/download/) TBD # Ballots diff --git a/cdi/4.1/apidocs/allclasses-index.html b/cdi/4.1/apidocs/allclasses-index.html index 78c63823c9..17b19d17db 100644 --- a/cdi/4.1/apidocs/allclasses-index.html +++ b/cdi/4.1/apidocs/allclasses-index.html @@ -1,56 +1,37 @@ - - -All Classes (Jakarta Contexts and Dependency Injection API) + +All Classes and Interfaces (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ +
-

All Classes

-
-
- +
+
+
- - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/allclasses.html b/cdi/4.1/apidocs/allclasses.html deleted file mode 100644 index d568f6ba7e..0000000000 --- a/cdi/4.1/apidocs/allclasses.html +++ /dev/null @@ -1,210 +0,0 @@ - - - - - -All Classes (Jakarta Contexts and Dependency Injection API) - - - - - - - - - - - - -
-

All Classes

-
- -
-
- - diff --git a/cdi/4.1/apidocs/allpackages-index.html b/cdi/4.1/apidocs/allpackages-index.html index b255e76a1c..2608d2fd4b 100644 --- a/cdi/4.1/apidocs/allpackages-index.html +++ b/cdi/4.1/apidocs/allpackages-index.html @@ -1,50 +1,33 @@ - - + All Packages (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ +

All Packages

-
- +
- - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/constant-values.html b/cdi/4.1/apidocs/constant-values.html index 192d06b40d..0ed0f2323d 100644 --- a/cdi/4.1/apidocs/constant-values.html +++ b/cdi/4.1/apidocs/constant-values.html @@ -1,50 +1,33 @@ - - + Constant Field Values (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ +

Constant Field Values

-
+

Contents

-
- - -
+

jakarta.enterprise.*

-
-
- - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/deprecated-list.html b/cdi/4.1/apidocs/deprecated-list.html index 7670f26aab..438a549401 100644 --- a/cdi/4.1/apidocs/deprecated-list.html +++ b/cdi/4.1/apidocs/deprecated-list.html @@ -1,214 +1,107 @@ - - + Deprecated List (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ +

Deprecated API

Contents

-
- - -
- - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/help-doc.html b/cdi/4.1/apidocs/help-doc.html index 8f52157ca1..9a2ea6356d 100644 --- a/cdi/4.1/apidocs/help-doc.html +++ b/cdi/4.1/apidocs/help-doc.html @@ -1,50 +1,33 @@ - - + API Help (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+
+ +
+
-
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+

JavaDoc Help

+ +
+
+

Navigation

+Starting from the Overview page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The Index and Search box allow you to navigate to specific declarations and summary pages, including: All Packages, All Classes and Interfaces +
-
-
    -
  • -
    -

    Overview

    +
    +
    +

    Kinds of Pages

    +The following sections describe the different kinds of pages in this collection. +
    +

    Overview

    The Overview page is the front page of this API document and provides a list of all modules with a summary for each. This page can also contain an overall description of the set of modules.

    -
  • -
  • -
    -

    Module

    -

    Each module has a page that contains a list of its packages, dependencies on other modules, and services, with a summary for each. These page may contain three categories:

    -
      +
      +

      Module

      +

      Each module has a page that contains a list of its packages, dependencies on other modules, and services, with a summary for each. These pages may contain the following categories:

      +
      • Packages
      • Modules
      • Services
      - -
    • -
      -

      Package

      -

      Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:

      -
        +
        +

        Package

        +

        Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:

        +
        • Interfaces
        • Classes
        • Enums
        • @@ -131,12 +126,10 @@

          Package

        • Annotation Types
        - -
      • -
        -

        Class or Interface

        -

        Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:

        -
          +
          +

          Class or Interface

          +

          Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.

          +
          • Class Inheritance Diagram
          • Direct Subclasses
          • All Known Subinterfaces
          • @@ -145,152 +138,76 @@

            Class or Interface

          • Class or Interface Description

          -
            +
            • Nested Class Summary
            • +
            • Enum Constant Summary
            • Field Summary
            • Property Summary
            • Constructor Summary
            • Method Summary
            • -
            -
            -
              -
            • Field Detail
            • -
            • Property Detail
            • -
            • Constructor Detail
            • -
            • Method Detail
            • -
            -

            Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

            -
          - -
        • -
          -

          Annotation Type

          -

          Each annotation type has its own separate page with the following sections:

          -
            -
          • Annotation Type Declaration
          • -
          • Annotation Type Description
          • Required Element Summary
          • Optional Element Summary
          • -
          • Element Detail
          -
          -
        • -
        • -
          -

          Enum

          -

          Each enum has its own separate page with the following sections:

          -
            -
          • Enum Declaration
          • -
          • Enum Description
          • -
          • Enum Constant Summary
          • -
          • Enum Constant Detail
          • +
            +
              +
            • Enum Constant Details
            • +
            • Field Details
            • +
            • Property Details
            • +
            • Constructor Details
            • +
            • Method Details
            • +
            • Element Details
            +

            Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.

            +

            The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

          -
        • -
        • -
          -

          Use

          -

          Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its "Use" page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.

          +
          +

          Other Files

          +

          Packages and modules may contain pages with additional information related to the declarations nearby.

          -
        • -
        • -
          -

          Tree (Class Hierarchy)

          +
          +

          Use

          +

          Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the USE link in the navigation bar.

          +
          +
          +

          Tree (Class Hierarchy)

          There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

          -
            -
          • When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.
          • -
          • When viewing a particular package, class or interface page, clicking on "Tree" displays the hierarchy for only that package.
          • +
              +
            • When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.
            • +
            • When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.
          -
        • -
        • -
          -

          Deprecated API

          -

          The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

          +
          +

          Deprecated API

          +

          The Deprecated API page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to shortcomings, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.

          -
        • -
        • -
          -

          Index

          -

          The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.

          +
          +

          Constant Field Values

          +

          The Constant Field Values page lists the static final fields and their values.

          -
        • -
        • -
          -

          All Classes

          -

          The All Classes link shows all classes and interfaces except non-static nested types.

          +
          +

          Serialized Form

          +

          Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to those who implement rather than use the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See Also" section of the class description.

          -
        • -
        • -
          -

          Serialized Form

          -

          Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.

          +
          +

          All Packages

          +

          The All Packages page contains an alphabetic index of all packages contained in the documentation.

          -
        • -
        • -
          -

          Constant Field Values

          -

          The Constant Field Values page lists the static final fields and their values.

          +
          +

          All Classes and Interfaces

          +

          The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.

          -
        • -
        • -
          -

          Search

          -

          You can search for definitions of modules, packages, types, fields, methods and other terms defined in the API, using some or all of the name. "Camel-case" abbreviations are supported: for example, "InpStr" will find "InputStream" and "InputStreamReader".

          +
          +

          Index

          +

          The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.

          -
        • -
        +

-This help file applies to API documentation generated by the standard doclet.
-
+This help file applies to API documentation generated by the standard doclet.
- - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/index-all.html b/cdi/4.1/apidocs/index-all.html index 518820b3d1..420ff791da 100644 --- a/cdi/4.1/apidocs/index-all.html +++ b/cdi/4.1/apidocs/index-all.html @@ -1,50 +1,33 @@ - - + Index (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ +
-
A B C D E F G H I J L M N O P Q R S T U V W 
All Classes All Packages - - -

A

-
-
accept(EventContext<T>) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator.EventConsumer
+
+

Index

+
+A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form +

A

+
+
accept(EventContext<T>) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator.EventConsumer
 
-
activate() - Method in interface jakarta.enterprise.context.control.RequestContextController
+
activate() - Method in interface jakarta.enterprise.context.control.RequestContextController
Activates a RequestContext for the current thread if one is not already active.
-
ActivateRequestContext - Annotation Type in jakarta.enterprise.context.control
+
ActivateRequestContext - Annotation Type in jakarta.enterprise.context.control
The container provides a built in interceptor that may be used to annotate classes and methods to indicate that a request context should be activated when this method is invoked.
-
add(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator
+
add(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator
Add an annotation to the constructor.
-
add(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedFieldConfigurator
+
add(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedFieldConfigurator
Add an annotation to the field.
-
add(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator
+
add(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator
Add an annotation to the method.
-
add(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedParameterConfigurator
+
add(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedParameterConfigurator
Add an annotation to the parameter.
-
add(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
+
add(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
Add an annotation to the type.
-
add(String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ScannedClasses
+
add(String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ScannedClasses
Adds a class with given name to the set of types discovered during type discovery.
-
addAnnotatedType(AnnotatedType<?>, String) - Method in interface jakarta.enterprise.inject.spi.AfterTypeDiscovery
+
addAnnotatedType(AnnotatedType<?>, String) - Method in interface jakarta.enterprise.inject.spi.AfterTypeDiscovery
- Adds a given AnnotatedType to the set of types which will be scanned during bean - discovery.
+ Adds a given AnnotatedType to the set of types which will be scanned during bean discovery.
-
addAnnotatedType(AnnotatedType<?>, String) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
+
addAnnotatedType(AnnotatedType<?>, String) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
- Adds a given AnnotatedType to the set of types which will be scanned during bean - discovery.
+ Adds a given AnnotatedType to the set of types which will be scanned during bean discovery.
-
addAnnotatedType(Class<T>, String) - Method in interface jakarta.enterprise.inject.spi.AfterTypeDiscovery
+
addAnnotatedType(Class<T>, String) - Method in interface jakarta.enterprise.inject.spi.AfterTypeDiscovery
- Obtains a new AnnotatedTypeConfigurator to configure a new AnnotatedType and - add it to the set of types which will be scanned during bean discovery at the end of the observer invocation.
+ Obtains a new AnnotatedTypeConfigurator to configure a new AnnotatedType and add it to the set of types + which will be scanned during bean discovery at the end of the observer invocation.
-
addAnnotatedType(Class<T>, String) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
+
addAnnotatedType(Class<T>, String) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
Obtains a new AnnotatedTypeConfigurator to configure a new AnnotatedType and add it to the set of types which will be scanned during bean discovery at the end of the observer invocation
-
addAnnotation(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
+
addAnnotation(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
Adds given annotation to this class.
-
addAnnotation(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig
+
addAnnotation(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig
Adds given annotation to this declaration.
-
addAnnotation(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.FieldConfig
+
addAnnotation(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.FieldConfig
Adds given annotation to this field.
-
addAnnotation(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig
+
addAnnotation(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig
Adds given annotation to this method.
-
addAnnotation(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ParameterConfig
+
addAnnotation(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ParameterConfig
Adds given annotation to this method parameter.
-
addAnnotation(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
+
addAnnotation(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
Adds given annotation to this class.
-
addAnnotation(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig
+
addAnnotation(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig
Adds given annotation to this declaration.
-
addAnnotation(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.FieldConfig
+
addAnnotation(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.FieldConfig
Adds given annotation to this field.
-
addAnnotation(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig
+
addAnnotation(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig
Adds given annotation to this method.
-
addAnnotation(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ParameterConfig
+
addAnnotation(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ParameterConfig
Adds given annotation to this method parameter.
-
addAnnotation(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
+
addAnnotation(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
Adds a marker annotation of given type to this class.
-
addAnnotation(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig
+
addAnnotation(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig
Adds a marker annotation of given type to this declaration.
-
addAnnotation(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.FieldConfig
+
addAnnotation(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.FieldConfig
Adds a marker annotation of given type to this field.
-
addAnnotation(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig
+
addAnnotation(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig
Adds a marker annotation of given type to this method.
-
addAnnotation(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ParameterConfig
+
addAnnotation(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ParameterConfig
Adds a marker annotation of given type to this method parameter.
-
addBean() - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
+
addBean() - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
Obtains a new BeanConfigurator to configure a new Bean and add it at the end of the observer invocation.
-
addBean(Bean<?>) - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
+
addBean(Bean<?>) - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
Fires an event of type ProcessBean containing the given Bean and then registers the Bean with the container, thereby making a bean which is not an interceptor nor a decorator available for injection into other beans.
-
addBean(Class<T>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticComponents
+
addBean(Class<T>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticComponents
Creates a SyntheticBeanBuilder that allows configuring a new synthetic bean of given implementationClass.
-
addBeanClasses(Class<?>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
addBeanClasses(Class<?>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
Add provided bean classes to the synthetic bean archive.
-
addContext(Context) - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
+
addContext(Context) - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
Registers a custom Context object with the container.
-
addContext(Class<? extends Annotation>, boolean, Class<? extends AlterableContext>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations
+
addContext(Class<? extends Annotation>, boolean, Class<? extends AlterableContext>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations
Registers custom context for given scopeAnnotation and given contextClass.
-
addContext(Class<? extends Annotation>, Class<? extends AlterableContext>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations
+
addContext(Class<? extends Annotation>, Class<? extends AlterableContext>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations
Registers custom context for given scopeAnnotation and given contextClass.
-
addDefinitionError(Throwable) - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
+
addDefinitionError(Throwable) - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
Registers a definition error with the container, causing the container to abort deployment after all observers have been notified.
-
addDefinitionError(Throwable) - Method in interface jakarta.enterprise.inject.spi.ProcessBean
+
addDefinitionError(Throwable) - Method in interface jakarta.enterprise.inject.spi.ProcessBean
Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
-
addDefinitionError(Throwable) - Method in interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
+
addDefinitionError(Throwable) - Method in interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
-
addDefinitionError(Throwable) - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionPoint
+
addDefinitionError(Throwable) - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionPoint
Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
-
addDefinitionError(Throwable) - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionTarget
+
addDefinitionError(Throwable) - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionTarget
Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
-
addDefinitionError(Throwable) - Method in interface jakarta.enterprise.inject.spi.ProcessObserverMethod
+
addDefinitionError(Throwable) - Method in interface jakarta.enterprise.inject.spi.ProcessObserverMethod
Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
-
addDefinitionError(Throwable) - Method in interface jakarta.enterprise.inject.spi.ProcessProducer
+
addDefinitionError(Throwable) - Method in interface jakarta.enterprise.inject.spi.ProcessProducer
Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
-
addDeploymentProblem(Throwable) - Method in interface jakarta.enterprise.inject.spi.AfterDeploymentValidation
+
addDeploymentProblem(Throwable) - Method in interface jakarta.enterprise.inject.spi.AfterDeploymentValidation
Registers a deployment problem with the container, causing the container to abort deployment after all observers have been notified.
-
addExtensions(Extension...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
addExtensions(Extension...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
Add extensions to the set of extensions.
-
addExtensions(Class<? extends Extension>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
addExtensions(Class<? extends Extension>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
Add extensions to the set of extensions.
-
addInjectionPoint(InjectionPoint) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
addInjectionPoint(InjectionPoint) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Add an InjectionPoint to the configured bean
-
addInjectionPoints(InjectionPoint...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
addInjectionPoints(InjectionPoint...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Add InjectionPoints to the configured bean
-
addInjectionPoints(Set<InjectionPoint>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
addInjectionPoints(Set<InjectionPoint>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Add InjectionPoints to the configured bean
-
addInterceptorBinding(AnnotatedType<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
+
addInterceptorBinding(AnnotatedType<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
Declares an annotation type as an interceptor binding type.
-
addInterceptorBinding(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations
+
addInterceptorBinding(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations
Registers annotation as an interceptor binding annotation.
-
addInterceptorBinding(Class<? extends Annotation>, Annotation...) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
+
addInterceptorBinding(Class<? extends Annotation>, Annotation...) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
Declares an annotation type as an interceptor binding type, and specifies its meta-annotations.
-
addObserver(Type) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticComponents
+
addObserver(Type) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticComponents
Creates a SyntheticObserverBuilder that allows configuring a new synthetic observer for given eventType.
-
addObserver(Class<T>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticComponents
+
addObserver(Class<T>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticComponents
Creates a SyntheticObserverBuilder that allows configuring a new synthetic observer for given eventType.
-
addObserverMethod() - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
+
addObserverMethod() - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
-
obtains a new ObserverMethodConfigurator to configure a new ObserverMethod and add it at the end of the observer invocation.
+
obtains a new ObserverMethodConfigurator to configure a new ObserverMethod and add it at the end of the + observer invocation.
-
addObserverMethod(ObserverMethod<?>) - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
+
addObserverMethod(ObserverMethod<?>) - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
Fires an event of type ProcessObserverMethod containing the given ObserverMethod and then registers the ObserverMethod with the container, thereby making it available for event notifications.
-
addPackages(boolean, Class<?>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
addPackages(boolean, Class<?>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
-
Packages of the specified classes will be scanned and found classes will be added to the set of bean classes for the synthetic bean archive.*
+
Packages of the specified classes will be scanned and found classes will be added to the set of bean classes for the + synthetic bean archive.*
-
addPackages(boolean, Package...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
addPackages(boolean, Package...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
All classes from the specified packages will be added to the set of bean classes for the synthetic bean archive.
-
addPackages(Class<?>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
addPackages(Class<?>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
-
All classes from the packages of the specified classes will be added to the set of bean classes for the synthetic bean archive.
+
All classes from the packages of the specified classes will be added to the set of bean classes for the synthetic bean + archive.
-
addPackages(Package...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
addPackages(Package...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
All classes from the specified packages will be added to the set of bean classes for the synthetic bean archive.
-
addProperty(String, Object) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
addProperty(String, Object) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
Add a configuration property to the container
-
addQualifier(AnnotatedType<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
+
addQualifier(AnnotatedType<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
Declares an annotation type as a Qualifier qualifier type.
-
addQualifier(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
addQualifier(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Add a qualifier to the configured bean
-
addQualifier(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
addQualifier(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Add a qualifier to the configured bean
-
addQualifier(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
+
addQualifier(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
Add the qualifier to the InjectionPoint to build
-
addQualifier(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+
addQualifier(Annotation) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Add the qualifier to the observed event
-
addQualifier(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations
+
addQualifier(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations
Registers annotation as a qualifier annotation.
-
addQualifier(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
+
addQualifier(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
Declares an annotation type as a Qualifier qualifier type.
-
addQualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
addQualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Add qualifiers to the bean.
-
addQualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
addQualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Add qualifiers to the bean.
-
addQualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
+
addQualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
Add all the qualifiers to the InjectionPoint to build
-
addQualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+
addQualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Add all the qualifiers to the Observed event
-
addQualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
addQualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Add qualifiers to the bean.
-
addQualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
addQualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Add qualifiers to the bean.
-
addQualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
+
addQualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
Add all the qualifiers to the InjectionPoint to build
-
addQualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+
addQualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Add all the qualifiers to the Observed event
-
addScope(Class<? extends Annotation>, boolean, boolean) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
+
addScope(Class<? extends Annotation>, boolean, boolean) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
Declares an annotation type as a scope type.
-
addStereotype(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations
+
addStereotype(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations
Registers annotation as a stereotype annotation.
-
addStereotype(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
addStereotype(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Add a stereotype to the configured bean
-
addStereotype(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
addStereotype(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Add a stereotype to the configured bean
-
addStereotype(Class<? extends Annotation>, Annotation...) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
+
addStereotype(Class<? extends Annotation>, Annotation...) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
Declares an annotation type as a stereotype, and specifies its meta-annotations.
-
addStereotypes(Set<Class<? extends Annotation>>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
addStereotypes(Set<Class<? extends Annotation>>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Add stereotypes to the configured bean
-
addStereotypes(Set<Class<? extends Annotation>>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
addStereotypes(Set<Class<? extends Annotation>>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Add stereotypes to the configured bean
-
addTransitiveTypeClosure(Type) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
addTransitiveTypeClosure(Type) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Adds an unrestricted set of bean types for the given type as if it represented a bean class of a managed bean.
-
addTransitiveTypeClosure(Type) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
addTransitiveTypeClosure(Type) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Adds an unrestricted set of bean types for the given type as if it represented a bean class of a managed bean.
-
addType(TypeLiteral<?>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
addType(TypeLiteral<?>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Add a type to the bean types
-
addType(TypeLiteral<?>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
addType(TypeLiteral<?>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Add a type to the bean types
-
addType(Type) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
addType(Type) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Add a type to the bean types
-
addType(Type) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
addType(Type) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Add a type to the bean types
-
addTypes(Type...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
addTypes(Type...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Add types to the bean types
-
addTypes(Type...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
addTypes(Type...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Add types to the bean types
-
addTypes(Set<Type>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
addTypes(Set<Type>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Add types to the bean types
-
addTypes(Set<Type>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
addTypes(Set<Type>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Add types to the bean types
-
AFTER_COMPLETION - jakarta.enterprise.event.TransactionPhase
+
AFTER_COMPLETION - Enum constant in enum jakarta.enterprise.event.TransactionPhase
Identifies an after completion observer method, called during the after completion phase of the transaction.
-
AFTER_FAILURE - jakarta.enterprise.event.TransactionPhase
+
AFTER_FAILURE - Enum constant in enum jakarta.enterprise.event.TransactionPhase
Identifies an after failure observer method, called during the after completion phase of the transaction, only when the transaction fails.
-
AFTER_SUCCESS - jakarta.enterprise.event.TransactionPhase
+
AFTER_SUCCESS - Enum constant in enum jakarta.enterprise.event.TransactionPhase
Identifies an after success observer method, called during the after completion phase of the transaction, only when the transaction completes successfully.
-
AfterBeanDiscovery - Interface in jakarta.enterprise.inject.spi
+
AfterBeanDiscovery - Interface in jakarta.enterprise.inject.spi
The event type of the second event fired by the container when it has fully completed the bean discovery process, validated @@ -523,247 +480,260 @@

A

and ObserverMethod objects for the discovered beans, but before detecting deployment problems.
-
AfterDeploymentValidation - Interface in jakarta.enterprise.inject.spi
+
AfterDeploymentValidation - Interface in jakarta.enterprise.inject.spi
The event type of the third event fired by the container after it has validated that there are no deployment problems and before creating contexts or processing requests.
-
AfterTypeDiscovery - Interface in jakarta.enterprise.inject.spi
+
AfterTypeDiscovery - Interface in jakarta.enterprise.inject.spi
This event type is thrown by the container after type discovery is complete.
-
AlterableContext - Interface in jakarta.enterprise.context.spi
+
AlterableContext - Interface in jakarta.enterprise.context.spi
Provides an operation for obtaining and destroying contextual instances with a particular scope of any contextual type.
-
alternative(boolean) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
alternative(boolean) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Marks this synthetic bean as an alternative if desired.
-
alternative(boolean) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
alternative(boolean) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Change the alternative status of the configured bean.
-
alternative(boolean) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
alternative(boolean) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Change the alternative status of the configured bean.
-
Alternative - Annotation Type in jakarta.enterprise.inject
+
Alternative - Annotation Type in jakarta.enterprise.inject
Specifies that a bean is an alternative.
-
Alternative.Literal - Class in jakarta.enterprise.inject
+
Alternative.Literal - Class in jakarta.enterprise.inject
Supports inline instantiation of the Alternative annotation.
-
ALWAYS - jakarta.enterprise.event.Reception
+
ALWAYS - Enum constant in enum jakarta.enterprise.event.Reception
Specifies that an observer method always receives event notifications.
-
AmbiguousResolutionException - Exception in jakarta.enterprise.inject
+
AmbiguousResolutionException - Exception in jakarta.enterprise.inject
Indicates that multiple beans match a certain combination of required type and required qualifiers and are eligible for injection into a certain class.
-
AmbiguousResolutionException() - Constructor for exception jakarta.enterprise.inject.AmbiguousResolutionException
-
 
-
AmbiguousResolutionException(String) - Constructor for exception jakarta.enterprise.inject.AmbiguousResolutionException
-
 
-
AmbiguousResolutionException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.AmbiguousResolutionException
-
 
-
AmbiguousResolutionException(Throwable) - Constructor for exception jakarta.enterprise.inject.AmbiguousResolutionException
-
 
-
Annotated - Interface in jakarta.enterprise.inject.spi
+
AmbiguousResolutionException() - Constructor for exception jakarta.enterprise.inject.AmbiguousResolutionException
+
+
Creates the exception with no detail message or cause.
+
+
AmbiguousResolutionException(String) - Constructor for exception jakarta.enterprise.inject.AmbiguousResolutionException
+
+
Creates the exception with given detail message.
+
+
AmbiguousResolutionException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.AmbiguousResolutionException
+
+
Creates the exception with given detail message and cause.
+
+
AmbiguousResolutionException(Throwable) - Constructor for exception jakarta.enterprise.inject.AmbiguousResolutionException
+
+
Creates the exception with given cause.
+
+
Annotated - Interface in jakarta.enterprise.inject.spi
Represents a Java program element that can be annotated.
-
AnnotatedCallable<X> - Interface in jakarta.enterprise.inject.spi
+
AnnotatedCallable<X> - Interface in jakarta.enterprise.inject.spi
Represents a callable member of a Java type.
-
AnnotatedConstructor<X> - Interface in jakarta.enterprise.inject.spi
+
AnnotatedConstructor<X> - Interface in jakarta.enterprise.inject.spi
Represents a constructor of a Java class.
-
AnnotatedConstructorConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
+
AnnotatedConstructorConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
This interface is part of the AnnotatedTypeConfigurator SPI and helps defining an AnnotatedConstructor
-
AnnotatedField<X> - Interface in jakarta.enterprise.inject.spi
+
AnnotatedField<X> - Interface in jakarta.enterprise.inject.spi
Represents a field of a Java class.
-
AnnotatedFieldConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
+
AnnotatedFieldConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
This interface is part of the AnnotatedTypeConfigurator SPI and helps defining an AnnotatedField
-
AnnotatedMember<X> - Interface in jakarta.enterprise.inject.spi
+
AnnotatedMember<X> - Interface in jakarta.enterprise.inject.spi
Represents a member of a Java type.
-
AnnotatedMethod<X> - Interface in jakarta.enterprise.inject.spi
+
AnnotatedMethod<X> - Interface in jakarta.enterprise.inject.spi
Represents a method of a Java type.
-
AnnotatedMethodConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
+
AnnotatedMethodConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
This interface is part of the AnnotatedTypeConfigurator SPI and helps defining an AnnotatedMethod
-
AnnotatedParameter<X> - Interface in jakarta.enterprise.inject.spi
+
AnnotatedParameter<X> - Interface in jakarta.enterprise.inject.spi
Represents a parameter of a method or constructor.
-
AnnotatedParameterConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
+
AnnotatedParameterConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
This interface is part of the AnnotatedTypeConfigurator SPI and helps defining an AnnotatedParameter
-
AnnotatedType<X> - Interface in jakarta.enterprise.inject.spi
+
AnnotatedType<X> - Interface in jakarta.enterprise.inject.spi
Represents a Java class or interface.
-
AnnotatedTypeConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
+
AnnotatedTypeConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
This API is a helper to configure a new AnnotatedType instance.
-
annotation() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ScopeInfo
+
annotation() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ScopeInfo
Returns the declaration of this scope annotation.
-
AnnotationBuilder - Interface in jakarta.enterprise.inject.build.compatible.spi
+
AnnotationBuilder - Interface in jakarta.enterprise.inject.build.compatible.spi
Builder for annotations of given type.
-
annotationBuilderFactory() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BuildServices
+
annotationBuilderFactory() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BuildServices
 
-
AnnotationBuilderFactory - Interface in jakarta.enterprise.inject.build.compatible.spi
+
AnnotationBuilderFactory - Interface in jakarta.enterprise.inject.build.compatible.spi
Supports instantiating AnnotationBuilder.
-
AnnotationLiteral<T extends java.lang.annotation.Annotation> - Class in jakarta.enterprise.util
+
AnnotationLiteral<T extends Annotation> - Class in jakarta.enterprise.util
Supports inline instantiation of annotation type instances.
-
AnnotationLiteral() - Constructor for class jakarta.enterprise.util.AnnotationLiteral
-
 
-
annotationType() - Method in class jakarta.enterprise.util.AnnotationLiteral
+
AnnotationLiteral() - Constructor for class jakarta.enterprise.util.AnnotationLiteral
+
+
The literal constructor, only for subclasses.
+
+
annotationType() - Method in class jakarta.enterprise.util.AnnotationLiteral
 
-
Any - Annotation Type in jakarta.enterprise.inject
+
Any - Annotation Type in jakarta.enterprise.inject
The built-in qualifier type.
-
Any.Literal - Class in jakarta.enterprise.inject
+
Any.Literal - Class in jakarta.enterprise.inject
Supports inline instantiation of the Any qualifier.
-
APPLICATION - Static variable in class jakarta.enterprise.context.BeforeDestroyed.Literal
-
 
-
APPLICATION - Static variable in class jakarta.enterprise.context.Destroyed.Literal
-
 
-
APPLICATION - Static variable in class jakarta.enterprise.context.Initialized.Literal
-
 
-
ApplicationScoped - Annotation Type in jakarta.enterprise.context
+
APPLICATION - Static variable in class jakarta.enterprise.context.BeforeDestroyed.Literal
+
+
Default BeforeDestroyed literal for the ApplicationScoped scope
+
+
APPLICATION - Static variable in class jakarta.enterprise.context.Destroyed.Literal
+
+
Default Destroyed literal for the ApplicationScoped scope
+
+
APPLICATION - Static variable in class jakarta.enterprise.context.Initialized.Literal
+
+
Default Initialized literal for the ApplicationScoped scope
+
+
ApplicationScoped - Annotation Type in jakarta.enterprise.context
Specifies that a bean is application scoped.
-
ApplicationScoped.Literal - Class in jakarta.enterprise.context
+
ApplicationScoped.Literal - Class in jakarta.enterprise.context
Supports inline instantiation of the ApplicationScoped annotation.
-
areInterceptorBindingsEquivalent(Annotation, Annotation) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
areInterceptorBindingsEquivalent(Annotation, Annotation) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Determine if two interceptor bindings are considered equivalent for the purposes of typesafe resolution, taking into account any members annotated with Nonbinding.
-
areQualifiersEquivalent(Annotation, Annotation) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
areQualifiersEquivalent(Annotation, Annotation) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Determine if two qualifiers are considered equivalent for the purposes of typesafe resolution, taking into account any members annotated with Nonbinding.
-
AROUND_CONSTRUCT - jakarta.enterprise.inject.spi.InterceptionType
+
AROUND_CONSTRUCT - Enum constant in enum jakarta.enterprise.inject.spi.InterceptionType
Intercepts a constructor invocation
-
AROUND_INVOKE - jakarta.enterprise.inject.spi.InterceptionType
+
AROUND_INVOKE - Enum constant in enum jakarta.enterprise.inject.spi.InterceptionType
Intercepts method invocation
-
AROUND_TIMEOUT - jakarta.enterprise.inject.spi.InterceptionType
+
AROUND_TIMEOUT - Enum constant in enum jakarta.enterprise.inject.spi.InterceptionType
Intercepts a timeout
-
asInterceptor() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
asInterceptor() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
Returns this bean as an interceptor.
-
asInterceptor() - Method in interface jakarta.enterprise.inject.build.compatible.spi.InterceptorInfo
+
asInterceptor() - Method in interface jakarta.enterprise.inject.build.compatible.spi.InterceptorInfo
 
-
async(boolean) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
async(boolean) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Marks this synthetic observer as asynchronous if desired.
-
async(boolean) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+
async(boolean) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Allows modification of the asynchronous status of the observer to build.
- - - -

B

-
-
bean() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
+

B

+
+
bean() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
Returns the bean that declares this observer method.
-
Bean<T> - Interface in jakarta.enterprise.inject.spi
+
Bean<T> - Interface in jakarta.enterprise.inject.spi
Represents an enabled bean.
-
BeanAttributes<T> - Interface in jakarta.enterprise.inject.spi
+
BeanAttributes<T> - Interface in jakarta.enterprise.inject.spi
The BeanAttributes interface exposes the basic attributes of a bean.
-
BeanAttributesConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
+
BeanAttributesConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
This API is an helper to configure a new BeanAttributes instance.
-
beanClass(Class<?>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
beanClass(Class<?>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Set the class of the configured Bean.
-
beanClass(Class<?>) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+
beanClass(Class<?>) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Set the class of the Bean containing this observer.
-
BeanConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
+
BeanConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
This API is an helper to configure a new Bean instance.
-
BeanContainer - Interface in jakarta.enterprise.inject.spi
+
BeanContainer - Interface in jakarta.enterprise.inject.spi
BeanContainer is a superclass of BeanManager containing capabilities that are portable across all CDI environments.
-
BeanInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
+
BeanInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
Beans are: @@ -777,1627 +747,1739 @@

B

Managed beans are also known as class-based beans, while beans defined by producer methods and producer fields are together also known as producer-based beans.
-
BeanManager - Interface in jakarta.enterprise.inject.spi
+
BeanManager - Interface in jakarta.enterprise.inject.spi
Allows a portable extension to interact directly with the container.
-
BEFORE_COMPLETION - jakarta.enterprise.event.TransactionPhase
+
BEFORE_COMPLETION - Enum constant in enum jakarta.enterprise.event.TransactionPhase
Identifies a before completion observer method, called during the before completion phase of the transaction.
-
BeforeBeanDiscovery - Interface in jakarta.enterprise.inject.spi
+
BeforeBeanDiscovery - Interface in jakarta.enterprise.inject.spi
This event type is thrown by the container before the bean discovery process begins.
-
BeforeDestroyed - Annotation Type in jakarta.enterprise.context
+
BeforeDestroyed - Annotation Type in jakarta.enterprise.context
An event with this qualifier is fired when a context is about to be destroyed, i.e.
-
BeforeDestroyed.Literal - Class in jakarta.enterprise.context
+
BeforeDestroyed.Literal - Class in jakarta.enterprise.context
Supports inline instantiation of the BeforeDestroyed qualifier.
-
BeforeShutdown - Interface in jakarta.enterprise.inject.spi
+
BeforeShutdown - Interface in jakarta.enterprise.inject.spi
The type of the final event the container fires after it has finished processing requests and destroyed all contexts.
-
begin() - Method in interface jakarta.enterprise.context.Conversation
+
begin() - Method in interface jakarta.enterprise.context.Conversation
Mark the current transient conversation long-running.
-
begin(String) - Method in interface jakarta.enterprise.context.Conversation
+
begin(String) - Method in interface jakarta.enterprise.context.Conversation
Mark the current transient conversation long-running, with a specified identifier.
-
build() - Method in interface jakarta.enterprise.event.NotificationOptions.Builder
-
 
-
build() - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
build() - Method in interface jakarta.enterprise.event.NotificationOptions.Builder
-
Returns an AnnotationInfo that includes all annotation members defined by previous method calls +
Build the notification options
+
+
build() - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
+
Returns an AnnotationInfo that includes all annotation members defined by previous method calls on this builder.
-
build() - Method in interface jakarta.enterprise.invoke.InvokerBuilder
+
build() - Method in interface jakarta.enterprise.invoke.InvokerBuilder
-
Returns the built Invoker or some represention of it.
+
Returns the built Invoker or some representation of it.
-
BuildCompatibleExtension - Interface in jakarta.enterprise.inject.build.compatible.spi
+
BuildCompatibleExtension - Interface in jakarta.enterprise.inject.build.compatible.spi
-
Build compatible extensions are service providers for this interface, as defined in ServiceLoader.
+
Build compatible extensions are service providers for this interface, as defined in ServiceLoader.
-
builder() - Static method in interface jakarta.enterprise.event.NotificationOptions
+
builder() - Static method in interface jakarta.enterprise.event.NotificationOptions
 
-
BuildServices - Interface in jakarta.enterprise.inject.build.compatible.spi
+
BuildServices - Interface in jakarta.enterprise.inject.build.compatible.spi
Service provider interface for various services needed by BuildCompatibleExtension implementations.
-
BuildServicesResolver - Class in jakarta.enterprise.inject.build.compatible.spi
+
BuildServicesResolver - Class in jakarta.enterprise.inject.build.compatible.spi
An internal helper to resolve BuildServices implementations.
-
BuildServicesResolver() - Constructor for class jakarta.enterprise.inject.build.compatible.spi.BuildServicesResolver
+
BuildServicesResolver() - Constructor for class jakarta.enterprise.inject.build.compatible.spi.BuildServicesResolver
 
-
BusyConversationException - Exception in jakarta.enterprise.context
+
BusyConversationException - Exception in jakarta.enterprise.context
Indicates that the container has rejected a request because a concurrent request is associated with the same conversation context.
-
BusyConversationException() - Constructor for exception jakarta.enterprise.context.BusyConversationException
-
 
-
BusyConversationException(String) - Constructor for exception jakarta.enterprise.context.BusyConversationException
-
 
-
BusyConversationException(String, Throwable) - Constructor for exception jakarta.enterprise.context.BusyConversationException
-
 
-
BusyConversationException(Throwable) - Constructor for exception jakarta.enterprise.context.BusyConversationException
-
 
+
BusyConversationException() - Constructor for exception jakarta.enterprise.context.BusyConversationException
+
+
Creates the exception with no detail message or cause.
+
+
BusyConversationException(String) - Constructor for exception jakarta.enterprise.context.BusyConversationException
+
+
Creates the exception with given detail message.
+
+
BusyConversationException(String, Throwable) - Constructor for exception jakarta.enterprise.context.BusyConversationException
+
+
Creates the exception with given detail message and cause.
+
+
BusyConversationException(Throwable) - Constructor for exception jakarta.enterprise.context.BusyConversationException
+
+
Creates the exception with given cause.
+
- - - -

C

-
-
CDI<T> - Class in jakarta.enterprise.inject.spi
+

C

+
+
CDI<T> - Class in jakarta.enterprise.inject.spi
Provides access to the current container.
-
CDI() - Constructor for class jakarta.enterprise.inject.spi.CDI
+
CDI() - Constructor for class jakarta.enterprise.inject.spi.CDI
 
-
CDIProvider - Interface in jakarta.enterprise.inject.spi
+
CDIProvider - Interface in jakarta.enterprise.inject.spi
Interface implemented by a CDI provider to provide access to the current container
-
ClassConfig - Interface in jakarta.enterprise.inject.build.compatible.spi
+
ClassConfig - Interface in jakarta.enterprise.inject.build.compatible.spi
Allows adding annotations to and removing annotations from a class.
-
close() - Method in interface jakarta.enterprise.inject.Instance.Handle
+
close() - Method in interface jakarta.enterprise.inject.Instance.Handle
-
close() - Method in interface jakarta.enterprise.inject.se.SeContainer
+
close() - Method in interface jakarta.enterprise.inject.se.SeContainer
Shuts down this SeContainer instance when it is no longer in scope.
-
configure() - Method in interface jakarta.enterprise.inject.spi.InjectionTargetFactory
+
configure() - Method in interface jakarta.enterprise.inject.spi.InjectionTargetFactory
-
Returns an AnnotatedTypeConfigurator to to configure the AnnotatedType used to create the InjectionTarget.
+
Returns an AnnotatedTypeConfigurator to to configure the AnnotatedType used to create the + InjectionTarget.
-
configure() - Method in interface jakarta.enterprise.inject.spi.InterceptionFactory
+
configure() - Method in interface jakarta.enterprise.inject.spi.InterceptionFactory
Returns an AnnotatedTypeConfigurator initialized with the AnnotatedType created either for the class passed to BeanManager.createInterceptionFactory(CreationalContext, Class) or derived from the InterceptionFactory parameter injection point.
-
configureAnnotatedType() - Method in interface jakarta.enterprise.inject.spi.ProcessAnnotatedType
+
configureAnnotatedType() - Method in interface jakarta.enterprise.inject.spi.ProcessAnnotatedType
Returns an AnnotatedTypeConfigurator initialized with the AnnotatedType processed by this event to configure a new AnnotatedType that will replace the original one at the end of the observer invocation.
-
configureBeanAttributes() - Method in interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
+
configureBeanAttributes() - Method in interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
returns a BeanAttributesConfigurator initialized with the BeanAttributes processed by this event to configure a new BeanAttributes that will replace the original one at the end of the observer invocation.
-
configuredProvider - Static variable in class jakarta.enterprise.inject.spi.CDI
-
 
-
configureInjectionPoint() - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionPoint
+
configuredProvider - Static variable in class jakarta.enterprise.inject.spi.CDI
+
+
CDIProvider set by user or retrieved by service loader
+
+
configureInjectionPoint() - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionPoint
Returns an InjectionPointConfigurator initialized with the InjectionPoint processed by this event to configure a new InjectionPoint that will replace the original one at the end of the observer invocation.
-
configureInterceptorBinding(Class<T>) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
+
configureInterceptorBinding(Class<T>) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
Obtains a new AnnotatedTypeConfigurator to configure a new AnnotatedType and declares it as an interceptor binding type.
-
configureObserverMethod() - Method in interface jakarta.enterprise.inject.spi.ProcessObserverMethod
+
configureObserverMethod() - Method in interface jakarta.enterprise.inject.spi.ProcessObserverMethod
Returns a ObserverMethodConfigurator initialized with the ObserverMethod processed by this event, to configure a new ObserverMethod that will replace the original one at the end of the observer invocation.
-
configureProducer() - Method in interface jakarta.enterprise.inject.spi.ProcessProducer
+
configureProducer() - Method in interface jakarta.enterprise.inject.spi.ProcessProducer
Returns a ProducerConfigurator initialized with the Producer processed by this event, to configure a new Producer that will replace the original one at the end of the observer invocation.
-
configureQualifier(Class<T>) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
+
configureQualifier(Class<T>) - Method in interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery
Obtains a new AnnotatedTypeConfigurator to configure a new AnnotatedType and declares it as a Qualifier qualifier type.
-
constructors() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
+
constructors() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
Returns a collection of MethodConfig objects for each constructor of this class, - as defined by ClassInfo.constructors.
+ as defined by ClassInfo.constructors.
-
constructors() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
+
constructors() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
 
-
Context - Interface in jakarta.enterprise.context.spi
+
Context - Interface in jakarta.enterprise.context.spi
Provides an operation for obtaining contextual instances with a particular scope of any contextual type.
-
ContextException - Exception in jakarta.enterprise.context
+
ContextException - Exception in jakarta.enterprise.context
Indicates a problem relating to context management.
-
ContextException() - Constructor for exception jakarta.enterprise.context.ContextException
-
 
-
ContextException(String) - Constructor for exception jakarta.enterprise.context.ContextException
-
 
-
ContextException(String, Throwable) - Constructor for exception jakarta.enterprise.context.ContextException
-
 
-
ContextException(Throwable) - Constructor for exception jakarta.enterprise.context.ContextException
-
 
-
ContextNotActiveException - Exception in jakarta.enterprise.context
+
ContextException() - Constructor for exception jakarta.enterprise.context.ContextException
+
+
Creates the exception with no detail message or cause.
+
+
ContextException(String) - Constructor for exception jakarta.enterprise.context.ContextException
+
+
Creates the exception with given detail message.
+
+
ContextException(String, Throwable) - Constructor for exception jakarta.enterprise.context.ContextException
+
+
Creates the exception with given detail message and cause.
+
+
ContextException(Throwable) - Constructor for exception jakarta.enterprise.context.ContextException
+
+
Creates the exception with given cause.
+
+
ContextNotActiveException - Exception in jakarta.enterprise.context
Indicates that a context is not active.
-
ContextNotActiveException() - Constructor for exception jakarta.enterprise.context.ContextNotActiveException
-
 
-
ContextNotActiveException(String) - Constructor for exception jakarta.enterprise.context.ContextNotActiveException
-
 
-
ContextNotActiveException(String, Throwable) - Constructor for exception jakarta.enterprise.context.ContextNotActiveException
-
 
-
ContextNotActiveException(Throwable) - Constructor for exception jakarta.enterprise.context.ContextNotActiveException
-
 
-
Contextual<T> - Interface in jakarta.enterprise.context.spi
+
ContextNotActiveException() - Constructor for exception jakarta.enterprise.context.ContextNotActiveException
+
+
Creates the exception with no detail message or cause.
+
+
ContextNotActiveException(String) - Constructor for exception jakarta.enterprise.context.ContextNotActiveException
+
+
Creates the exception with given detail message.
+
+
ContextNotActiveException(String, Throwable) - Constructor for exception jakarta.enterprise.context.ContextNotActiveException
+
+
Creates the exception with given detail message and cause.
+
+
ContextNotActiveException(Throwable) - Constructor for exception jakarta.enterprise.context.ContextNotActiveException
+
+
Creates the exception with given cause.
+
+
Contextual<T> - Interface in jakarta.enterprise.context.spi
Defines operations to create and destroy contextual instances of a certain type.
-
Conversation - Interface in jakarta.enterprise.context
+
Conversation - Interface in jakarta.enterprise.context
Allows the application to manage the conversation context by marking the current conversation as transient or long-running, specifying a conversation identifier, or setting the conversation timeout.
-
CONVERSATION - Static variable in class jakarta.enterprise.context.BeforeDestroyed.Literal
-
 
-
CONVERSATION - Static variable in class jakarta.enterprise.context.Destroyed.Literal
-
 
-
CONVERSATION - Static variable in class jakarta.enterprise.context.Initialized.Literal
-
 
-
ConversationScoped - Annotation Type in jakarta.enterprise.context
+
CONVERSATION - Static variable in class jakarta.enterprise.context.BeforeDestroyed.Literal
+
+
Default BeforeDestroyed literal for the ConversationScoped scope
+
+
CONVERSATION - Static variable in class jakarta.enterprise.context.Destroyed.Literal
+
+
Default Destroyed literal for the ConversationScoped scope
+
+
CONVERSATION - Static variable in class jakarta.enterprise.context.Initialized.Literal
+
+
Default Initialized literal for the ConversationScoped scope
+
+
ConversationScoped - Annotation Type in jakarta.enterprise.context
Specifies that a bean is conversation scoped.
-
ConversationScoped.Literal - Class in jakarta.enterprise.context
+
ConversationScoped.Literal - Class in jakarta.enterprise.context
Supports inline instantiation of the ConversationScoped annotation.
-
create(CreationalContext<T>) - Method in interface jakarta.enterprise.context.spi.Contextual
+
create(CreationalContext<T>) - Method in interface jakarta.enterprise.context.spi.Contextual
Create a new instance of the contextual type.
-
create(Instance<Object>, Parameters) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanCreator
+
create(Instance<Object>, Parameters) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanCreator
Creates an instance of the synthetic bean.
-
create(ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilderFactory
+
create(ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilderFactory
Returns a new AnnotationBuilder for given annotation type.
-
create(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilderFactory
+
create(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilderFactory
Returns a new AnnotationBuilder for given annotation type.
-
createAnnotatedType(Class<T>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
createAnnotatedType(Class<T>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Obtain an AnnotatedType that may be used to read the annotations of the given class or interface.
-
createBean(BeanAttributes<T>, Class<T>, InjectionTargetFactory<T>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
createBean(BeanAttributes<T>, Class<T>, InjectionTargetFactory<T>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Obtains a Bean for the given BeanAttributes, bean class and InjectionTarget.
-
createBean(BeanAttributes<T>, Class<X>, ProducerFactory<X>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
createBean(BeanAttributes<T>, Class<X>, ProducerFactory<X>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Obtains a Bean for the given BeanAttributes, bean class and Producer.
-
createBeanAttributes(AnnotatedMember<?>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
createBeanAttributes(AnnotatedMember<?>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Obtains a BeanAttributes for the given AnnotatedType.
-
createBeanAttributes(AnnotatedType<T>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
createBeanAttributes(AnnotatedType<T>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Obtains a BeanAttributes for the given AnnotatedType.
-
createCreationalContext(Contextual<T>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
createCreationalContext(Contextual<T>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Obtain an instance of a CreationalContext for the given contextual type, or for a non-contextual object.
-
createInjectionPoint(AnnotatedField<?>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
createInjectionPoint(AnnotatedField<?>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Obtains a container provided implementation of InjectionPoint for the given AnnotatedField.
-
createInjectionPoint(AnnotatedParameter<?>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
createInjectionPoint(AnnotatedParameter<?>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Obtains a container provided implementation of InjectionPoint for the given AnnotatedParameter.
-
createInjectionTarget(Bean<T>) - Method in interface jakarta.enterprise.inject.spi.InjectionTargetFactory
+
createInjectionTarget(Bean<T>) - Method in interface jakarta.enterprise.inject.spi.InjectionTargetFactory
Create a new injection target for a bean.
-
createInstance() - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
createInstance() - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Obtains an Instance object to access to beans instances.
-
createInterceptedInstance(T) - Method in interface jakarta.enterprise.inject.spi.InterceptionFactory
+
createInterceptedInstance(T) - Method in interface jakarta.enterprise.inject.spi.InterceptionFactory
Returns a wrapper instance whose method invocations are intercepted by method interceptors and forwarded to a provided instance.
-
createInterceptionFactory(CreationalContext<T>, Class<T>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
createInterceptionFactory(CreationalContext<T>, Class<T>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Create an InterceptionFactory for the given CreationalContext and type.
-
createInvoker(AnnotatedMethod<? super X>) - Method in interface jakarta.enterprise.inject.spi.ProcessManagedBean
+
createInvoker(BeanInfo, MethodInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.InvokerFactory
-
Returns a new InvokerBuilder for given method.
+
Returns a new InvokerBuilder for given method of given bean.
-
createInvoker(MethodInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
createInvoker(AnnotatedMethod<? super X>) - Method in interface jakarta.enterprise.inject.spi.ProcessManagedBean
Returns a new InvokerBuilder for given method.
-
createProducer(Bean<T>) - Method in interface jakarta.enterprise.inject.spi.ProducerFactory
+
createProducer(Bean<T>) - Method in interface jakarta.enterprise.inject.spi.ProducerFactory
Create a new producer for a bean.
-
createWith(Class<? extends SyntheticBeanCreator<T>>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
createWith(Class<? extends SyntheticBeanCreator<T>>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Sets the class of the synthetic bean creation function.
-
createWith(Function<CreationalContext<U>, U>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
createWith(Function<CreationalContext<U>, U>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Set a callback to create a bean instance.
-
CreationalContext<T> - Interface in jakarta.enterprise.context.spi
+
CreationalContext<T> - Interface in jakarta.enterprise.context.spi
Provides operations that are used by the Contextual implementation during instance creation and destruction.
-
CreationException - Exception in jakarta.enterprise.inject
+
CreationException - Exception in jakarta.enterprise.inject
Indicates that a checked exception was thrown during creation of a bean.
-
CreationException() - Constructor for exception jakarta.enterprise.inject.CreationException
-
 
-
CreationException(String) - Constructor for exception jakarta.enterprise.inject.CreationException
-
 
-
CreationException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.CreationException
-
 
-
CreationException(Throwable) - Constructor for exception jakarta.enterprise.inject.CreationException
-
 
-
current() - Static method in class jakarta.enterprise.inject.spi.CDI
+
CreationException() - Constructor for exception jakarta.enterprise.inject.CreationException
+
+
Creates the exception with no detail message or cause.
+
+
CreationException(String) - Constructor for exception jakarta.enterprise.inject.CreationException
+
+
Creates the exception with given detail message.
+
+
CreationException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.CreationException
+
+
Creates the exception with given detail message and cause.
+
+
CreationException(Throwable) - Constructor for exception jakarta.enterprise.inject.CreationException
+
+
Creates the exception with given cause.
+
+
current() - Static method in class jakarta.enterprise.inject.spi.CDI
Get the CDI instance that provides access to the current container.
- - - -

D

-
-
deactivate() - Method in interface jakarta.enterprise.context.control.RequestContextController
+

D

+
+
deactivate() - Method in interface jakarta.enterprise.context.control.RequestContextController
Deactivates the current Request Context if it was activated by this context controller.
-
declaration() - Method in interface jakarta.enterprise.inject.build.compatible.spi.InjectionPointInfo
+
declaration() - Method in interface jakarta.enterprise.inject.build.compatible.spi.InjectionPointInfo
Returns the declaration of this injection point.
-
DeclarationConfig - Interface in jakarta.enterprise.inject.build.compatible.spi
+
DeclarationConfig - Interface in jakarta.enterprise.inject.build.compatible.spi
Allows adding annotations to and removing annotations from a declaration.
-
declaringClass() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
declaringClass() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
Returns the class that declares this bean.
-
declaringClass() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
+
declaringClass() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
-
Returns the class that declares this observer.
+
Returns the class that declares this observer.
-
declaringClass(ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
declaringClass(ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Sets the bean class that "declares" this synthetic observer.
-
declaringClass(Class<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
declaringClass(Class<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Sets the bean class that "declares" this synthetic observer.
-
Decorated - Annotation Type in jakarta.enterprise.inject
+
Decorated - Annotation Type in jakarta.enterprise.inject
A decorator may inject metadata about the bean it is decorating
-
Decorator<T> - Interface in jakarta.enterprise.inject.spi
+
Decorator<T> - Interface in jakarta.enterprise.inject.spi
Represents an enabled decorator.
-
Decorator - Annotation Type in jakarta.decorator
+
Decorator - Annotation Type in jakarta.decorator
Specifies that a class is a decorator.
-
Default - Annotation Type in jakarta.enterprise.inject
+
Default - Annotation Type in jakarta.enterprise.inject
The default qualifier type.
-
DEFAULT_CDI_PROVIDER_PRIORITY - Static variable in interface jakarta.enterprise.inject.spi.CDIProvider
-
 
-
DEFAULT_PRIORITY - Static variable in interface jakarta.enterprise.inject.spi.ObserverMethod
-
 
-
Default.Literal - Class in jakarta.enterprise.inject
+
DEFAULT_CDI_PROVIDER_PRIORITY - Static variable in interface jakarta.enterprise.inject.spi.CDIProvider
+
+
The default value for CDIProvider.getPriority()
+
+
DEFAULT_PRIORITY - Static variable in interface jakarta.enterprise.inject.spi.ObserverMethod
+
+
The default observer priority
+
+
Default.Literal - Class in jakarta.enterprise.inject
Supports inline instantiation of the Default qualifier.
-
defaultScope() - Method in interface jakarta.enterprise.inject.build.compatible.spi.StereotypeInfo
+
defaultScope() - Method in interface jakarta.enterprise.inject.build.compatible.spi.StereotypeInfo
Returns the default scope defined by this stereotype.
-
DefinitionException - Exception in jakarta.enterprise.inject.spi
+
DefinitionException - Exception in jakarta.enterprise.inject.spi
Thrown when a definition error occurs.
-
DefinitionException(String) - Constructor for exception jakarta.enterprise.inject.spi.DefinitionException
-
 
-
DefinitionException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.spi.DefinitionException
-
 
-
DefinitionException(Throwable) - Constructor for exception jakarta.enterprise.inject.spi.DefinitionException
-
 
-
delegate(boolean) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
+
DefinitionException(String) - Constructor for exception jakarta.enterprise.inject.spi.DefinitionException
+
+
Creates the exception with given detail message.
+
+
DefinitionException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.spi.DefinitionException
+
+
Creates the exception with given detail message and cause.
+
+
DefinitionException(Throwable) - Constructor for exception jakarta.enterprise.inject.spi.DefinitionException
+
+
Creates the exception with given cause.
+
+
delegate(boolean) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
Change the delegate status of the built InjectionPoint.
-
Delegate - Annotation Type in jakarta.decorator
+
Delegate - Annotation Type in jakarta.decorator
Identifies the delegate injection point of a decorator.
-
Dependent - Annotation Type in jakarta.enterprise.context
+
Dependent - Annotation Type in jakarta.enterprise.context
Specifies that a bean belongs to the dependent pseudo-scope.
-
Dependent.Literal - Class in jakarta.enterprise.context
+
Dependent.Literal - Class in jakarta.enterprise.context
Supports inline instantiation of the Dependent annotation.
-
DeploymentException - Exception in jakarta.enterprise.inject.spi
+
DeploymentException - Exception in jakarta.enterprise.inject.spi
Thrown when a deployment problem occurs.
-
DeploymentException(String) - Constructor for exception jakarta.enterprise.inject.spi.DeploymentException
-
 
-
DeploymentException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.spi.DeploymentException
-
 
-
DeploymentException(Throwable) - Constructor for exception jakarta.enterprise.inject.spi.DeploymentException
-
 
-
destroy() - Method in interface jakarta.enterprise.inject.Instance.Handle
+
DeploymentException(String) - Constructor for exception jakarta.enterprise.inject.spi.DeploymentException
+
+
Creates the exception with given detail message.
+
+
DeploymentException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.spi.DeploymentException
+
+
Creates the exception with given detail message and cause.
+
+
DeploymentException(Throwable) - Constructor for exception jakarta.enterprise.inject.spi.DeploymentException
+
+
Creates the exception with given cause.
+
+
destroy() - Method in interface jakarta.enterprise.inject.Instance.Handle
Destroy the contextual instance.
-
destroy(Contextual<?>) - Method in interface jakarta.enterprise.context.spi.AlterableContext
+
destroy(Contextual<?>) - Method in interface jakarta.enterprise.context.spi.AlterableContext
Destroy the existing contextual instance.
-
destroy(T) - Method in interface jakarta.enterprise.inject.Instance
+
destroy(T) - Method in interface jakarta.enterprise.inject.Instance
When called, the container destroys the instance if the active context object for the scope type of the bean supports destroying bean instances.
-
destroy(T, CreationalContext<T>) - Method in interface jakarta.enterprise.context.spi.Contextual
+
destroy(T, CreationalContext<T>) - Method in interface jakarta.enterprise.context.spi.Contextual
Destroy an instance of the contextual type.
-
Destroyed - Annotation Type in jakarta.enterprise.context
+
Destroyed - Annotation Type in jakarta.enterprise.context
An event with this qualifier is fired when a context is destroyed, i.e.
-
Destroyed.Literal - Class in jakarta.enterprise.context
+
Destroyed.Literal - Class in jakarta.enterprise.context
Supports inline instantiation of the Destroyed qualifier.
-
destroyWith(BiConsumer<T, CreationalContext<T>>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
destroyWith(BiConsumer<T, CreationalContext<T>>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Set a callback to destroy a bean instance.
-
disableDiscovery() - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
disableDiscovery() - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
By default, the discovery is enabled.
-
discoveredProviders - Static variable in class jakarta.enterprise.inject.spi.CDI
-
 
-
Discovery - Annotation Type in jakarta.enterprise.inject.build.compatible.spi
+
discoveredProviders - Static variable in class jakarta.enterprise.inject.spi.CDI
+
+
The set of discovered CDIProviders
+
+
Discovery - Annotation Type in jakarta.enterprise.inject.build.compatible.spi
1st phase of build compatible extension execution.
-
dispose() - Method in class jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance
+
dispose() - Method in class jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance
Dispose of the instance, doing any necessary cleanup
-
dispose(T) - Method in interface jakarta.enterprise.inject.spi.Producer
+
dispose(T) - Method in interface jakarta.enterprise.inject.spi.Producer
Destroys the instance.
-
dispose(T, Instance<Object>, Parameters) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanDisposer
+
dispose(T, Instance<Object>, Parameters) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanDisposer
Destroys an instance of the synthetic bean.
-
disposedParameter() - Method in interface jakarta.enterprise.inject.build.compatible.spi.DisposerInfo
+
disposedParameter() - Method in interface jakarta.enterprise.inject.build.compatible.spi.DisposerInfo
-
Returns the declaration of the disposed parameter of this disposer method.
+
Returns the declaration of the disposed parameter of this disposer method.
-
disposer() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
disposer() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
Returns the disposer method of this producer-based bean.
-
DisposerInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
+
DisposerInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
Disposer methods may exist for producer-based beans.
-
disposerMethod() - Method in interface jakarta.enterprise.inject.build.compatible.spi.DisposerInfo
+
disposerMethod() - Method in interface jakarta.enterprise.inject.build.compatible.spi.DisposerInfo
-
Returns the declaration of this disposer method.
+
Returns the declaration of this disposer method.
-
Disposes - Annotation Type in jakarta.enterprise.inject
+
Disposes - Annotation Type in jakarta.enterprise.inject
Identifies the disposed parameter of a disposer method.
-
disposeWith(Class<? extends SyntheticBeanDisposer<T>>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
disposeWith(Class<? extends SyntheticBeanDisposer<T>>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Sets the class of the synthetic bean destruction function.
-
disposeWith(BiConsumer<T, Instance<Object>>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
disposeWith(BiConsumer<T, Instance<Object>>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Set a callback to destroy a bean instance.
-
disposeWith(Consumer<T>) - Method in interface jakarta.enterprise.inject.spi.configurator.ProducerConfigurator
+
disposeWith(Consumer<T>) - Method in interface jakarta.enterprise.inject.spi.configurator.ProducerConfigurator
Set a callback to destroy the produced instance.
-
during() - Method in annotation type jakarta.enterprise.event.Observes
+
during() - Element in annotation type jakarta.enterprise.event.Observes
- - - -

E

-
-
enableDecorators(Class<?>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+

E

+
+
enableDecorators(Class<?>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
Add decorator classes to the list of enabled decorators for the synthetic bean archive.
-
enableInterceptors(Class<?>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
enableInterceptors(Class<?>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
Add interceptor classes to the list of enabled interceptors for the synthetic bean archive.
-
end() - Method in interface jakarta.enterprise.context.Conversation
+
end() - Method in interface jakarta.enterprise.context.Conversation
Marks the current long-running conversation transient.
-
Enhancement - Annotation Type in jakarta.enterprise.inject.build.compatible.spi
+
Enhancement - Annotation Type in jakarta.enterprise.inject.build.compatible.spi
2nd phase of build compatible extension execution.
-
equals(Object) - Method in class jakarta.enterprise.util.AnnotationLiteral
+
equals(Object) - Method in class jakarta.enterprise.util.AnnotationLiteral
 
-
equals(Object) - Method in class jakarta.enterprise.util.TypeLiteral
+
equals(Object) - Method in class jakarta.enterprise.util.TypeLiteral
 
-
error(Exception) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
+
error(Exception) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
Add a generic error that is represented by an exception.
-
error(String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
+
error(String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
Add a generic error that is not related to any particular element, or that information is not known.
-
error(String, BeanInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
+
error(String, BeanInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
Add an error which is related to given BeanInfo.
-
error(String, ObserverInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
+
error(String, ObserverInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
Add an error which is related to given ObserverInfo.
-
error(String, AnnotationTarget) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
+
error(String, AnnotationTarget) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
-
Add an error which is related to given AnnotationTarget (which is most likely - a DeclarationInfo).
+
Add an error which is related to given AnnotationTarget (which is most likely + a DeclarationInfo).
-
Event<T> - Interface in jakarta.enterprise.event
+
Event<T> - Interface in jakarta.enterprise.event
Allows the application to fire events of a particular type.
-
EventContext<T> - Interface in jakarta.enterprise.inject.spi
+
EventContext<T> - Interface in jakarta.enterprise.inject.spi
Represents a context of a fired event.
-
EventMetadata - Interface in jakarta.enterprise.inject.spi
+
EventMetadata - Interface in jakarta.enterprise.inject.spi
Provides access to metadata about an observed event payload.
-
eventParameter() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
+
eventParameter() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
-
Returns the event parameter of this observer method.
+
Returns the event parameter of this observer method.
-
eventType() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
+
eventType() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
Returns the observed event type of this observer.
-
Extension - Interface in jakarta.enterprise.inject.spi
+
Extension - Interface in jakarta.enterprise.inject.spi
Service interface implemented by extensions.
- - - -

F

-
-
FieldConfig - Interface in jakarta.enterprise.inject.build.compatible.spi
+

F

+
+
FieldConfig - Interface in jakarta.enterprise.inject.build.compatible.spi
Allows adding annotations to and removing annotations from a field.
-
fields() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
+
fields() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
Returns a collection of FieldConfig objects for each field of this class, - as defined by ClassInfo.fields.
+ as defined by ClassInfo.fields.
-
fields() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
+
fields() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
 
-
filterConstructors(Predicate<AnnotatedConstructor<T>>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
+
filterConstructors(Predicate<AnnotatedConstructor<T>>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
 
-
filterFields(Predicate<AnnotatedField<? super T>>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
+
filterFields(Predicate<AnnotatedField<? super T>>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
 
-
filterMethods(Predicate<AnnotatedMethod<? super T>>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
+
filterMethods(Predicate<AnnotatedMethod<? super T>>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
 
-
filterParams(Predicate<AnnotatedParameter<T>>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator
+
filterParams(Predicate<AnnotatedParameter<T>>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator
 
-
filterParams(Predicate<AnnotatedParameter<T>>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator
+
filterParams(Predicate<AnnotatedParameter<T>>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator
 
-
fire(T) - Method in interface jakarta.enterprise.event.Event
+
fire(T) - Method in interface jakarta.enterprise.event.Event
Fires an event with the specified qualifiers and notifies observers.
-
fireAsync(U) - Method in interface jakarta.enterprise.event.Event
+
fireAsync(U) - Method in interface jakarta.enterprise.event.Event
Fires an event asynchronously with the specified qualifiers and notifies asynchronous observers.
-
fireAsync(U, NotificationOptions) - Method in interface jakarta.enterprise.event.Event
+
fireAsync(U, NotificationOptions) - Method in interface jakarta.enterprise.event.Event
Fires an event asynchronously with the specified qualifiers and notifies asynchronous observers.
- - - -

G

-
-
get() - Method in interface jakarta.enterprise.inject.Instance.Handle
+

G

+
+
get() - Method in interface jakarta.enterprise.inject.Instance.Handle
The contextual reference is obtained lazily, i.e.
-
get() - Method in class jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance
+
get() - Method in class jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance
Get the instance
-
get(Contextual<T>) - Method in interface jakarta.enterprise.context.spi.Context
+
get(Contextual<T>) - Method in interface jakarta.enterprise.context.spi.Context
Return an existing instance of a certain contextual type or a null value.
-
get(Contextual<T>, CreationalContext<T>) - Method in interface jakarta.enterprise.context.spi.Context
+
get(Contextual<T>, CreationalContext<T>) - Method in interface jakarta.enterprise.context.spi.Context
Return an existing instance of certain contextual type or create a new instance by calling Contextual.create(CreationalContext) and return the new instance.
-
get(String) - Method in interface jakarta.enterprise.event.NotificationOptions
+
get(String) - Method in interface jakarta.enterprise.event.NotificationOptions
 
-
get(String, Class<T>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Parameters
+
get(String, Class<T>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Parameters
Returns the value of a parameter with given key.
-
get(String, Class<T>, T) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Parameters
+
get(String, Class<T>, T) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Parameters
Returns the value of a parameter with given key.
-
getAlternatives() - Method in interface jakarta.enterprise.inject.spi.AfterTypeDiscovery
+
getAlternatives() - Method in interface jakarta.enterprise.inject.spi.AfterTypeDiscovery
 
-
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator
+
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator
 
-
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedFieldConfigurator
+
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedFieldConfigurator
 
-
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator
+
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator
 
-
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedParameterConfigurator
+
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedParameterConfigurator
 
-
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
+
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
 
-
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.InjectionPoint
+
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.InjectionPoint
Obtain an instance of AnnotatedField or AnnotatedParameter, depending upon whether the injection point is an injected field or a constructor/method parameter.
-
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.ProcessBean
+
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.ProcessBean
Returns the AnnotatedType representing the bean class, the AnnotatedMethod representing the producer method, or the AnnotatedField representing the producer field.
-
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
+
getAnnotated() - Method in interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
 
-
getAnnotatedBeanClass() - Method in interface jakarta.enterprise.inject.spi.ProcessManagedBean
+
getAnnotatedBeanClass() - Method in interface jakarta.enterprise.inject.spi.ProcessManagedBean
Returns the AnnotatedType representing the bean class.
-
getAnnotatedDisposedParameter() - Method in interface jakarta.enterprise.inject.spi.ProcessProducerField
+
getAnnotatedDisposedParameter() - Method in interface jakarta.enterprise.inject.spi.ProcessProducerField
Returns the AnnotatedParameter for any matching injection point of the same type as the producer field return type found on a disposal method.
-
getAnnotatedDisposedParameter() - Method in interface jakarta.enterprise.inject.spi.ProcessProducerMethod
+
getAnnotatedDisposedParameter() - Method in interface jakarta.enterprise.inject.spi.ProcessProducerMethod
Returns the AnnotatedParameter for any matching injection point of the same type as the producer method return type found on a disposal method.
-
getAnnotatedMember() - Method in interface jakarta.enterprise.inject.spi.ProcessProducer
+
getAnnotatedMember() - Method in interface jakarta.enterprise.inject.spi.ProcessProducer
Returns the AnnotatedField representing the producer field or the AnnotatedMethod representing the producer method.
-
getAnnotatedMethod() - Method in interface jakarta.enterprise.inject.spi.ProcessObserverMethod
+
getAnnotatedMethod() - Method in interface jakarta.enterprise.inject.spi.ProcessObserverMethod
The AnnotatedMethod representing the observer method.
-
getAnnotatedProducerField() - Method in interface jakarta.enterprise.inject.spi.ProcessProducerField
+
getAnnotatedProducerField() - Method in interface jakarta.enterprise.inject.spi.ProcessProducerField
Returns the AnnotatedField representing the producer field.
-
getAnnotatedProducerMethod() - Method in interface jakarta.enterprise.inject.spi.ProcessProducerMethod
+
getAnnotatedProducerMethod() - Method in interface jakarta.enterprise.inject.spi.ProcessProducerMethod
Returns the AnnotatedMethod representing the producer method.
-
getAnnotatedType() - Method in interface jakarta.enterprise.inject.spi.ProcessAnnotatedType
+
getAnnotatedType() - Method in interface jakarta.enterprise.inject.spi.ProcessAnnotatedType
Returns the AnnotatedType object that will be used by the container to read the declared annotations.
-
getAnnotatedType() - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionTarget
+
getAnnotatedType() - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionTarget
Returns the AnnotatedType representing the managed bean class, session bean class or other Java EE component class supporting injection.
-
getAnnotatedType(Class<T>, String) - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
+
getAnnotatedType(Class<T>, String) - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
Obtain the AnnotatedType that may be used to read the annotations of the given class or interface as defined during container initialization.
-
getAnnotatedTypes(Class<T>) - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
+
getAnnotatedTypes(Class<T>) - Method in interface jakarta.enterprise.inject.spi.AfterBeanDiscovery
Obtain the AnnotatedTypes that may be used to read the annotations of the given class or interface as defined during container initialization.
-
getAnnotation(Class<T>) - Method in interface jakarta.enterprise.inject.spi.Annotated
+
getAnnotation(Class<T>) - Method in interface jakarta.enterprise.inject.spi.Annotated
Get program element annotation of a certain annotation type.
-
getAnnotations() - Method in interface jakarta.enterprise.inject.spi.Annotated
+
getAnnotations() - Method in interface jakarta.enterprise.inject.spi.Annotated
Get all annotations of the program element.
-
getAnnotations(Class<T>) - Method in interface jakarta.enterprise.inject.spi.Annotated
+
getAnnotations(Class<T>) - Method in interface jakarta.enterprise.inject.spi.Annotated
Get program element annotations of a certain annotation type.
-
getAnnotations(Class<T>) - Method in interface jakarta.enterprise.inject.spi.AnnotatedConstructor
+
getAnnotations(Class<T>) - Method in interface jakarta.enterprise.inject.spi.AnnotatedConstructor
 
-
getAnnotations(Class<T>) - Method in interface jakarta.enterprise.inject.spi.AnnotatedField
+
getAnnotations(Class<T>) - Method in interface jakarta.enterprise.inject.spi.AnnotatedField
 
-
getAnnotations(Class<T>) - Method in interface jakarta.enterprise.inject.spi.AnnotatedMethod
+
getAnnotations(Class<T>) - Method in interface jakarta.enterprise.inject.spi.AnnotatedMethod
 
-
getAnnotations(Class<T>) - Method in interface jakarta.enterprise.inject.spi.AnnotatedParameter
+
getAnnotations(Class<T>) - Method in interface jakarta.enterprise.inject.spi.AnnotatedParameter
 
-
getAnnotations(Class<T>) - Method in interface jakarta.enterprise.inject.spi.AnnotatedType
+
getAnnotations(Class<T>) - Method in interface jakarta.enterprise.inject.spi.AnnotatedType
 
-
getBaseType() - Method in interface jakarta.enterprise.inject.spi.Annotated
+
getBaseType() - Method in interface jakarta.enterprise.inject.spi.Annotated
Get the type of the annotated program element.
-
getBean() - Method in interface jakarta.enterprise.inject.Instance.Handle
+
getBean() - Method in interface jakarta.enterprise.inject.Instance.Handle
 
-
getBean() - Method in interface jakarta.enterprise.inject.spi.InjectionPoint
+
getBean() - Method in interface jakarta.enterprise.inject.spi.InjectionPoint
Get the Bean object representing the bean that defines the injection point.
-
getBean() - Method in interface jakarta.enterprise.inject.spi.ProcessBean
+
getBean() - Method in interface jakarta.enterprise.inject.spi.ProcessBean
Returns the Bean object that is about to be registered.
-
getBeanAttributes() - Method in interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
+
getBeanAttributes() - Method in interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
 
-
getBeanClass() - Method in interface jakarta.enterprise.inject.spi.Bean
+
getBeanClass() - Method in interface jakarta.enterprise.inject.spi.Bean
-
The bean class of the managed bean or session bean or of the bean that declares the producer method or +
The bean class of the managed bean or session bean or of the bean that declares the producer method or field.
-
getBeanClass() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
+
getBeanClass() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
- Obtains the class of the type that declares the observer method.
+ Obtains the class of the type that declares the observer method.
-
getBeanContainer() - Method in interface jakarta.enterprise.inject.se.SeContainer
+
getBeanContainer() - Method in interface jakarta.enterprise.inject.se.SeContainer
Get the CDI BeanContainer for this container.
-
getBeanContainer() - Method in class jakarta.enterprise.inject.spi.CDI
+
getBeanContainer() - Method in class jakarta.enterprise.inject.spi.CDI
Get the CDI BeanContainer for the current context.
-
getBeanManager() - Method in interface jakarta.enterprise.inject.se.SeContainer
+
getBeanManager() - Method in interface jakarta.enterprise.inject.se.SeContainer
Get the CDI BeanManager for this container
-
getBeanManager() - Method in class jakarta.enterprise.inject.spi.CDI
+
getBeanManager() - Method in class jakarta.enterprise.inject.spi.CDI
Get the CDI BeanManager for the current context
-
getBeans(Type, Annotation...) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
getBeans(Type, Annotation...) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Return the set of beans which have the given required type and qualifiers and are available for injection in the module or library containing the class into which the BeanManager/BeanContainer was injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace the BeanManager/BeanContainer was obtained, according to the rules of typesafe resolution.
-
getBeans(String) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
getBeans(String) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Return the set of beans which have the given EL name and are available for injection in the module or library containing the class into which the BeanManager/BeanContainer was injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace the BeanManager/BeanContainer was obtained, according to the rules of EL name resolution.
-
getCDI() - Method in interface jakarta.enterprise.inject.spi.CDIProvider
+
getCDI() - Method in interface jakarta.enterprise.inject.spi.CDIProvider
Provides access to the current container
-
getConstructors() - Method in interface jakarta.enterprise.inject.spi.AnnotatedType
+
getConstructors() - Method in interface jakarta.enterprise.inject.spi.AnnotatedType
Get the constructors of the type.
-
getContext(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
getContext(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Obtains an active context object for the given scope .
-
getContexts(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
getContexts(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Obtains all context objects, active and inactive, for the given scope.
-
getDeclaringBean() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
+
getDeclaringBean() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
Obtains the bean that declares the observer method.
-
getDeclaringCallable() - Method in interface jakarta.enterprise.inject.spi.AnnotatedParameter
+
getDeclaringCallable() - Method in interface jakarta.enterprise.inject.spi.AnnotatedParameter
Get the declaring method or constructor.
-
getDeclaringType() - Method in interface jakarta.enterprise.inject.spi.AnnotatedMember
+
getDeclaringType() - Method in interface jakarta.enterprise.inject.spi.AnnotatedMember
Get the type which defines this member.
-
getDecoratedTypes() - Method in interface jakarta.enterprise.inject.spi.Decorator
+
getDecoratedTypes() - Method in interface jakarta.enterprise.inject.spi.Decorator
Obtains the decorated types.
-
getDecorators() - Method in interface jakarta.enterprise.inject.spi.AfterTypeDiscovery
+
getDecorators() - Method in interface jakarta.enterprise.inject.spi.AfterTypeDiscovery
 
-
getDelegateQualifiers() - Method in interface jakarta.enterprise.inject.spi.Decorator
+
getDelegateQualifiers() - Method in interface jakarta.enterprise.inject.spi.Decorator
Obtains the qualifiers of the delegate injection point.
-
getDelegateType() - Method in interface jakarta.enterprise.inject.spi.Decorator
+
getDelegateType() - Method in interface jakarta.enterprise.inject.spi.Decorator
- Obtains the type of the delegate injection point.
+ Obtains the type of the delegate injection point.
-
getEjbName() - Method in interface jakarta.enterprise.inject.spi.ProcessSessionBean
+
getEjbName() - Method in interface jakarta.enterprise.inject.spi.ProcessSessionBean
Returns the EJB name of the session bean.
-
getELResolver() - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
getELResolver() - Method in interface jakarta.enterprise.inject.spi.BeanManager
-
Deprecated, for removal: This API element is subject to removal in a future version. -
use ELAwareBeanManager, this method will be removed in CDI 5.0
+
Deprecated, for removal: This API element is subject to removal in a future version. +
use ELAwareBeanManager, this method will be removed in CDI 5.0
-
getEvent() - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
getEvent() - Method in interface jakarta.enterprise.inject.spi.BeanContainer
-
Returns an instance of Event with specified type java.lang.Object and specified qualifier @Default +
Returns an instance of Event with specified type java.lang.Object and specified qualifier + @Default It allows typesafe synchronous or asynchronous event firing without injection of Event built-in bean requirement.
-
getEvent() - Method in interface jakarta.enterprise.inject.spi.EventContext
+
getEvent() - Method in interface jakarta.enterprise.inject.spi.EventContext
 
-
getExecutor() - Method in interface jakarta.enterprise.event.NotificationOptions
+
getExecutor() - Method in interface jakarta.enterprise.event.NotificationOptions
 
-
getExtension(Class<T>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
getExtension(Class<T>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Obtains the container's instance of an Extension class declared in META-INF/services.
-
getFields() - Method in interface jakarta.enterprise.inject.spi.AnnotatedType
+
getFields() - Method in interface jakarta.enterprise.inject.spi.AnnotatedType
Get the fields of the type.
-
getHandle() - Method in interface jakarta.enterprise.inject.Instance
+
getHandle() - Method in interface jakarta.enterprise.inject.Instance
-
Obtains an initialized contextual reference handle for a bean that has the required type and qualifiers and is - eligible for injection.
+
Obtains an initialized contextual reference handle for a bean that has the required type and qualifiers and is eligible + for injection.
-
getId() - Method in interface jakarta.enterprise.context.Conversation
+
getId() - Method in interface jakarta.enterprise.context.Conversation
Get the identifier of the current long-running conversation.
-
getId() - Method in interface jakarta.enterprise.inject.spi.PassivationCapable
+
getId() - Method in interface jakarta.enterprise.inject.spi.PassivationCapable
A string that uniquely identifies the instance of Bean or Contextual.
-
getInjectableReference(InjectionPoint, CreationalContext<?>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
getInjectableReference(InjectionPoint, CreationalContext<?>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Obtains an injectable reference for a certain injection point.
-
getInjectionPoint() - Method in interface jakarta.enterprise.inject.spi.EventMetadata
+
getInjectionPoint() - Method in interface jakarta.enterprise.inject.spi.EventMetadata
Get the InjectionPoint representing the injected Event instance which fired the event
-
getInjectionPoint() - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionPoint
+
getInjectionPoint() - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionPoint
 
-
getInjectionPoints() - Method in interface jakarta.enterprise.inject.spi.Bean
+
getInjectionPoints() - Method in interface jakarta.enterprise.inject.spi.Bean
Obtains the InjectionPoint objects representing injection points of the bean, that will be validated by the container at initialization time.
-
getInjectionPoints() - Method in interface jakarta.enterprise.inject.spi.Producer
+
getInjectionPoints() - Method in interface jakarta.enterprise.inject.spi.Producer
Returns the set of all InjectionPoints.
-
getInjectionTarget() - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionTarget
+
getInjectionTarget() - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionTarget
Returns the InjectionTarget object that will be used by the container to perform injection.
-
getInjectionTargetFactory(AnnotatedType<T>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
getInjectionTargetFactory(AnnotatedType<T>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
An implementation of InjectionTargetFactory that provides container created InjectionTarget instances.
-
getInterceptorBindingDefinition(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
getInterceptorBindingDefinition(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Obtains the set of meta-annotations for a certain interceptor binding type .
-
getInterceptorBindingHashCode(Annotation) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
getInterceptorBindingHashCode(Annotation) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Determine the hash code of an interceptor binding, using the JDK algorithm for determining an annotation hash code, ignoring any members annotated with Nonbinding.
-
getInterceptorBindings() - Method in interface jakarta.enterprise.inject.spi.Interceptor
+
getInterceptorBindings() - Method in interface jakarta.enterprise.inject.spi.Interceptor
Obtains the interceptor bindings of the interceptor.
-
getInterceptors() - Method in interface jakarta.enterprise.inject.spi.AfterTypeDiscovery
+
getInterceptors() - Method in interface jakarta.enterprise.inject.spi.AfterTypeDiscovery
 
-
getJavaClass() - Method in interface jakarta.enterprise.inject.spi.AnnotatedType
+
getJavaClass() - Method in interface jakarta.enterprise.inject.spi.AnnotatedType
- Get the underlying Class.
+ Get the underlying Class.
-
getJavaMember() - Method in interface jakarta.enterprise.inject.spi.AnnotatedConstructor
+
getJavaMember() - Method in interface jakarta.enterprise.inject.spi.AnnotatedConstructor
- Get the underlying Constructor.
+ Get the underlying Constructor.
-
getJavaMember() - Method in interface jakarta.enterprise.inject.spi.AnnotatedField
+
getJavaMember() - Method in interface jakarta.enterprise.inject.spi.AnnotatedField
- Get the underlying Field.
+ Get the underlying Field.
-
getJavaMember() - Method in interface jakarta.enterprise.inject.spi.AnnotatedMember
+
getJavaMember() - Method in interface jakarta.enterprise.inject.spi.AnnotatedMember
- Get the underlying Member.
+ Get the underlying Member.
-
getJavaMember() - Method in interface jakarta.enterprise.inject.spi.AnnotatedMethod
+
getJavaMember() - Method in interface jakarta.enterprise.inject.spi.AnnotatedMethod
- Get the underlying Method.
+ Get the underlying Method.
-
getJavaParameter() - Method in interface jakarta.enterprise.inject.spi.AnnotatedParameter
+
getJavaParameter() - Method in interface jakarta.enterprise.inject.spi.AnnotatedParameter
-
Get the underlying Parameter.
+
Get the underlying Parameter.
-
getMember() - Method in interface jakarta.enterprise.inject.spi.InjectionPoint
+
getMember() - Method in interface jakarta.enterprise.inject.spi.InjectionPoint
-
Get the Field object in the case of field injection, the Method - object in the case of method parameter injection or the Constructor object in the case of +
Get the Field object in the case of field injection, the Method + object in the case of method parameter injection or the Constructor object in the case of constructor parameter injection.
-
getMetadata() - Method in interface jakarta.enterprise.inject.spi.EventContext
+
getMetadata() - Method in interface jakarta.enterprise.inject.spi.EventContext
 
-
getMethods() - Method in interface jakarta.enterprise.inject.spi.AnnotatedType
+
getMethods() - Method in interface jakarta.enterprise.inject.spi.AnnotatedType
Get the methods of the type.
-
getName() - Method in interface jakarta.enterprise.inject.spi.BeanAttributes
+
getName() - Method in interface jakarta.enterprise.inject.spi.BeanAttributes
Obtains the EL name of a bean, if it has one.
-
getObservedQualifiers() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
+
getObservedQualifiers() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
Obtains the set of observed event qualifiers.
-
getObservedType() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
+
getObservedType() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
Obtains the observed event type.
-
getObserverMethod() - Method in interface jakarta.enterprise.inject.spi.ProcessObserverMethod
+
getObserverMethod() - Method in interface jakarta.enterprise.inject.spi.ProcessObserverMethod
The ObserverMethod object that will be used by the container to invoke the observer when a matching event is fired.
-
getParameters() - Method in interface jakarta.enterprise.inject.spi.AnnotatedCallable
+
getParameters() - Method in interface jakarta.enterprise.inject.spi.AnnotatedCallable
Get the parameters of the callable member.
-
getPassivationCapableBean(String) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
getPassivationCapableBean(String) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Returns the PassivationCapable bean with the given identifier.
-
getPosition() - Method in interface jakarta.enterprise.inject.spi.AnnotatedParameter
+
getPosition() - Method in interface jakarta.enterprise.inject.spi.AnnotatedParameter
Get the position of the parameter in the method or constructor argument list.
-
getPriority() - Method in interface jakarta.enterprise.inject.spi.CDIProvider
+
getPriority() - Method in interface jakarta.enterprise.inject.spi.CDIProvider
 
-
getPriority() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
+
getPriority() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
The priority that will be used by the container to determine the notification order in which event observer methods are invoked.
-
getPriority() - Method in interface jakarta.enterprise.inject.spi.Prioritized
+
getPriority() - Method in interface jakarta.enterprise.inject.spi.Prioritized
Returns the priority for this SPI element.
-
getProducer() - Method in interface jakarta.enterprise.inject.spi.ProcessProducer
+
getProducer() - Method in interface jakarta.enterprise.inject.spi.ProcessProducer
Returns the Producer object that will be used by the container to call the producer method or read the producer field.
-
getProducerFactory(AnnotatedField<? super X>, Bean<X>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
getProducerFactory(AnnotatedField<? super X>, Bean<X>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
An implementation of ProducerFactory that provides container created Producer instances for the given field.
-
getProducerFactory(AnnotatedMethod<? super X>, Bean<X>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
getProducerFactory(AnnotatedMethod<? super X>, Bean<X>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
An implementation of ProducerFactory that provides container created Producer instances for the given method.
-
getQualifierHashCode(Annotation) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
getQualifierHashCode(Annotation) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Determine the hash code of a qualifier, using the JDK algorithm for determining an annotation hash code, ignoring any members annotated with Nonbinding.
-
getQualifiers() - Method in interface jakarta.enterprise.inject.spi.BeanAttributes
+
getQualifiers() - Method in interface jakarta.enterprise.inject.spi.BeanAttributes
Obtains the qualifiers of the bean.
-
getQualifiers() - Method in interface jakarta.enterprise.inject.spi.EventMetadata
+
getQualifiers() - Method in interface jakarta.enterprise.inject.spi.EventMetadata
 
-
getQualifiers() - Method in interface jakarta.enterprise.inject.spi.InjectionPoint
+
getQualifiers() - Method in interface jakarta.enterprise.inject.spi.InjectionPoint
Get the required qualifiers of the injection point.
-
getRawType() - Method in class jakarta.enterprise.util.TypeLiteral
+
getRawType() - Method in class jakarta.enterprise.util.TypeLiteral
 
-
getReception() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
+
getReception() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
Obtains the specified Reception for the observer method.
-
getReference(Bean<?>, Type, CreationalContext<?>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
getReference(Bean<?>, Type, CreationalContext<?>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Obtains a contextual reference for a certain bean and a certain bean type of the bean.
-
getScope() - Method in interface jakarta.enterprise.context.spi.Context
+
getScope() - Method in interface jakarta.enterprise.context.spi.Context
Get the scope type of the context object.
-
getScope() - Method in interface jakarta.enterprise.inject.spi.BeanAttributes
+
getScope() - Method in interface jakarta.enterprise.inject.spi.BeanAttributes
Obtains the scope of the bean.
-
getSessionBeanType() - Method in interface jakarta.enterprise.inject.spi.ProcessSessionBean
+
getSessionBeanType() - Method in interface jakarta.enterprise.inject.spi.ProcessSessionBean
Returns a SessionBeanType representing the kind of session bean.
-
getSource() - Method in interface jakarta.enterprise.inject.spi.ProcessSyntheticAnnotatedType
+
getSource() - Method in interface jakarta.enterprise.inject.spi.ProcessSyntheticAnnotatedType
Get the extension instance which added the AnnotatedType for which this event is being fired.
-
getSource() - Method in interface jakarta.enterprise.inject.spi.ProcessSyntheticBean
+
getSource() - Method in interface jakarta.enterprise.inject.spi.ProcessSyntheticBean
Get the extension instance which added the Bean for which this event is being fired.
-
getSource() - Method in interface jakarta.enterprise.inject.spi.ProcessSyntheticObserverMethod
+
getSource() - Method in interface jakarta.enterprise.inject.spi.ProcessSyntheticObserverMethod
Get the extension instance which added the ObserverMethod for which this event is being fired.
-
getStereotypeDefinition(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
getStereotypeDefinition(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Obtains meta-annotations for a certain stereotype.
-
getStereotypes() - Method in interface jakarta.enterprise.inject.spi.BeanAttributes
+
getStereotypes() - Method in interface jakarta.enterprise.inject.spi.BeanAttributes
Obtains the stereotypes of the bean.
-
getTimeout() - Method in interface jakarta.enterprise.context.Conversation
+
getTimeout() - Method in interface jakarta.enterprise.context.Conversation
Get the timeout of the current conversation.
-
getTransactionPhase() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
+
getTransactionPhase() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
Obtains the specified TransactionPhase for the observer method.
-
getType() - Method in interface jakarta.enterprise.inject.spi.EventMetadata
+
getType() - Method in interface jakarta.enterprise.inject.spi.EventMetadata
Get the type representing runtime class of the event object with type variables resolved.
-
getType() - Method in interface jakarta.enterprise.inject.spi.InjectionPoint
+
getType() - Method in interface jakarta.enterprise.inject.spi.InjectionPoint
Get the required type of injection point.
-
getType() - Method in class jakarta.enterprise.util.TypeLiteral
+
getType() - Method in class jakarta.enterprise.util.TypeLiteral
 
-
getTypeClosure() - Method in interface jakarta.enterprise.inject.spi.Annotated
+
getTypeClosure() - Method in interface jakarta.enterprise.inject.spi.Annotated
Get all types to which the base type should be considered assignable.
-
getTypes() - Method in interface jakarta.enterprise.inject.spi.BeanAttributes
+
getTypes() - Method in interface jakarta.enterprise.inject.spi.BeanAttributes
Obtains the bean types of the bean.
- - - -

H

-
-
handles() - Method in interface jakarta.enterprise.inject.Instance
-
-
Allows iterating over contextual reference handles for all beans that have the required type and required qualifiers and are eligible - for injection.
+

H

+
+
handles() - Method in interface jakarta.enterprise.inject.Instance
+
+
Allows iterating over contextual reference handles for all beans that have the required type and required qualifiers and + are eligible for injection.
-
handlesStream() - Method in interface jakarta.enterprise.inject.Instance
+
handlesStream() - Method in interface jakarta.enterprise.inject.Instance
Returns stream of Instance.Handle objects.
-
hashCode() - Method in class jakarta.enterprise.util.AnnotationLiteral
+
hashCode() - Method in class jakarta.enterprise.util.AnnotationLiteral
 
-
hashCode() - Method in class jakarta.enterprise.util.TypeLiteral
+
hashCode() - Method in class jakarta.enterprise.util.TypeLiteral
 
- - - -

I

-
-
id(String) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+

I

+
+
id(String) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Make the configured bean implements PassivationCapable and its Id for passivation.
-
IF_EXISTS - jakarta.enterprise.event.Reception
+
IF_EXISTS - Enum constant in enum jakarta.enterprise.event.Reception
Specifies that an observer method is only called if the current instance of the bean declaring the observer method already exists.
-
ignoreFinalMethods() - Method in interface jakarta.enterprise.inject.spi.InterceptionFactory
+
ignoreFinalMethods() - Method in interface jakarta.enterprise.inject.spi.InterceptionFactory
Instructs the container to ignore all non-static, final methods with public, protected or default visibility declared by any class in the type hierarchy of the intercepted instance during invocation of InterceptionFactory.createInterceptedInstance(Object).
-
ignoreFinalMethods() - Method in interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
+
ignoreFinalMethods() - Method in interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
-
Instructs the container to ignore all non-static, final methods with public, protected or default visibility +
+ Instructs the container to ignore all non-static, final methods with public, protected or default visibility declared on any bean type of the specific bean during validation of injection points that require proxyable bean type.
-
IllegalProductException - Exception in jakarta.enterprise.inject
+
IllegalProductException - Exception in jakarta.enterprise.inject
Indicates that a producer method returned a null value or a producer field contained a null value, and the scope of the producer method or field was not Dependent.
-
IllegalProductException() - Constructor for exception jakarta.enterprise.inject.IllegalProductException
-
 
-
IllegalProductException(String) - Constructor for exception jakarta.enterprise.inject.IllegalProductException
-
 
-
IllegalProductException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.IllegalProductException
-
 
-
IllegalProductException(Throwable) - Constructor for exception jakarta.enterprise.inject.IllegalProductException
-
 
-
IN_PROGRESS - jakarta.enterprise.event.TransactionPhase
+
IllegalProductException() - Constructor for exception jakarta.enterprise.inject.IllegalProductException
+
+
Creates the exception with no detail message or cause.
+
+
IllegalProductException(String) - Constructor for exception jakarta.enterprise.inject.IllegalProductException
+
+
Creates the exception with given detail message.
+
+
IllegalProductException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.IllegalProductException
+
+
Creates the exception with given detail message and cause.
+
+
IllegalProductException(Throwable) - Constructor for exception jakarta.enterprise.inject.IllegalProductException
+
+
Creates the exception with given cause.
+
+
IN_PROGRESS - Enum constant in enum jakarta.enterprise.event.TransactionPhase
Identifies a regular observer method, called when the event is fired.
-
info() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
+
info() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
-
Returns the ClassInfo corresponding to this transformed class.
+
Returns the ClassInfo corresponding to this transformed class.
-
info() - Method in interface jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig
+
info() - Method in interface jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig
-
Returns the DeclarationInfo corresponding to this transformed declaration.
+
Returns the DeclarationInfo corresponding to this transformed declaration.
-
info() - Method in interface jakarta.enterprise.inject.build.compatible.spi.FieldConfig
+
info() - Method in interface jakarta.enterprise.inject.build.compatible.spi.FieldConfig
-
Returns the FieldInfo corresponding to this transformed field.
+
Returns the FieldInfo corresponding to this transformed field.
-
info() - Method in interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig
+
info() - Method in interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig
-
Returns the MethodInfo corresponding to this transformed method.
+
Returns the MethodInfo corresponding to this transformed method.
-
info() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ParameterConfig
+
info() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ParameterConfig
-
Returns the ParameterInfo corresponding to this transformed method parameter.
+
Returns the ParameterInfo corresponding to this transformed method parameter.
-
info(String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
+
info(String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
Add a generic information message that is not related to any particular element, or that information is not known.
-
info(String, BeanInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
+
info(String, BeanInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
Add an information message which is related to given BeanInfo.
-
info(String, ObserverInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
+
info(String, ObserverInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
Add an information message which is related to given ObserverInfo.
-
info(String, AnnotationTarget) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
+
info(String, AnnotationTarget) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
-
Add an information message which is related to given AnnotationTarget (which is most likely - a DeclarationInfo).
+
Add an information message which is related to given AnnotationTarget (which is most likely + a DeclarationInfo).
-
initialize() - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
initialize() - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
Initializes a CDI SeContainerInitializer.
-
Initialized - Annotation Type in jakarta.enterprise.context
+
Initialized - Annotation Type in jakarta.enterprise.context
An event with this qualifier is fired when a context is initialized, i.e.
-
Initialized.Literal - Class in jakarta.enterprise.context
+
Initialized.Literal - Class in jakarta.enterprise.context
Supports inline instantiation of the Initialized qualifier.
-
inject() - Method in class jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance
+
inject() - Method in class jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance
Inject the instance
-
inject(T, CreationalContext<T>) - Method in interface jakarta.enterprise.inject.spi.InjectionTarget
+
inject(T, CreationalContext<T>) - Method in interface jakarta.enterprise.inject.spi.InjectionTarget
Performs dependency injection upon the given object.
-
InjectionException - Exception in jakarta.enterprise.inject
+
InjectionException - Exception in jakarta.enterprise.inject
Indicates a problem relating to dependency injection.
-
InjectionException() - Constructor for exception jakarta.enterprise.inject.InjectionException
-
 
-
InjectionException(String) - Constructor for exception jakarta.enterprise.inject.InjectionException
-
 
-
InjectionException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.InjectionException
-
 
-
InjectionException(Throwable) - Constructor for exception jakarta.enterprise.inject.InjectionException
-
 
-
InjectionPoint - Interface in jakarta.enterprise.inject.spi
+
InjectionException() - Constructor for exception jakarta.enterprise.inject.InjectionException
+
+
Creates the exception with no detail message or cause.
+
+
InjectionException(String) - Constructor for exception jakarta.enterprise.inject.InjectionException
+
+
Creates the exception with given detail message.
+
+
InjectionException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.InjectionException
+
+
Creates the exception with given detail message and cause.
+
+
InjectionException(Throwable) - Constructor for exception jakarta.enterprise.inject.InjectionException
+
+
Creates the exception with given cause.
+
+
InjectionPoint - Interface in jakarta.enterprise.inject.spi
Provides access to metadata about an injection point.
-
InjectionPointConfigurator - Interface in jakarta.enterprise.inject.spi.configurator
+
InjectionPointConfigurator - Interface in jakarta.enterprise.inject.spi.configurator
This API is an helper to configure an existing InjectionPoint instance.
-
InjectionPointInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
+
InjectionPointInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
An injection point defined on some bean.
-
injectionPoints() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
injectionPoints() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
Returns a collection of this bean's injection points.
-
injectionPoints(InjectionPoint...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
injectionPoints(InjectionPoint...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Replace InjectionPoints for the configured bean
-
injectionPoints(Set<InjectionPoint>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
injectionPoints(Set<InjectionPoint>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Replace InjectionPoints for the configured bean
-
InjectionTarget<T> - Interface in jakarta.enterprise.inject.spi
+
InjectionTarget<T> - Interface in jakarta.enterprise.inject.spi
Provides operations for performing dependency injection and lifecycle callbacks on an instance of a type.
-
InjectionTargetFactory<T> - Interface in jakarta.enterprise.inject.spi
+
InjectionTargetFactory<T> - Interface in jakarta.enterprise.inject.spi
An InjectionTargetFactory can create an InjectionTarget for a given bean.
-
InjectLiteral - Class in jakarta.enterprise.inject.literal
+
InjectLiteral - Class in jakarta.enterprise.inject.literal
Supports inline instantiation of the Inject annotation.
-
InjectLiteral() - Constructor for class jakarta.enterprise.inject.literal.InjectLiteral
+
InjectLiteral() - Constructor for class jakarta.enterprise.inject.literal.InjectLiteral
 
-
Instance<T> - Interface in jakarta.enterprise.inject
+
Instance<T> - Interface in jakarta.enterprise.inject
Allows the application to dynamically obtain instances of beans with a specified combination of required type and qualifiers.
-
INSTANCE - Static variable in class jakarta.enterprise.context.ApplicationScoped.Literal
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.context.ConversationScoped.Literal
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.context.Dependent.Literal
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.context.RequestScoped.Literal
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.context.SessionScoped.Literal
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.inject.Alternative.Literal
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.inject.Any.Literal
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.inject.Default.Literal
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.inject.literal.InjectLiteral
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.inject.literal.NamedLiteral
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.inject.literal.QualifierLiteral
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.inject.literal.SingletonLiteral
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.inject.Specializes.Literal
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.inject.TransientReference.Literal
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.inject.Typed.Literal
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.inject.Vetoed.Literal
-
 
-
INSTANCE - Static variable in class jakarta.enterprise.util.Nonbinding.Literal
-
 
-
Instance.Handle<T> - Interface in jakarta.enterprise.inject
+
INSTANCE - Static variable in class jakarta.enterprise.context.ApplicationScoped.Literal
+
+
Default ApplicationScoped literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.context.ConversationScoped.Literal
+
+
Default ConversationScoped literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.context.Dependent.Literal
+
+
Default Dependent literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.context.RequestScoped.Literal
+
+
Default RequestScoped literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.context.SessionScoped.Literal
+
+
Default SessionScoped literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.inject.Alternative.Literal
+
+
Default Alternative literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.inject.Any.Literal
+
+
Default Any literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.inject.Default.Literal
+
+
The default Default literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.inject.literal.InjectLiteral
+
+
Default Inject literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.inject.literal.NamedLiteral
+
+
Default Named literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.inject.literal.QualifierLiteral
+
+
Default Qualifier literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.inject.literal.SingletonLiteral
+
+
Default Singleton literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.inject.Specializes.Literal
+
+
Default Specializes literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.inject.TransientReference.Literal
+
+
Default TransientReference literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.inject.Typed.Literal
+
+
Default Typed literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.inject.Vetoed.Literal
+
+
Default Vetoed literal
+
+
INSTANCE - Static variable in class jakarta.enterprise.util.Nonbinding.Literal
+
+
Default Nonbinding literal
+
+
Instance.Handle<T> - Interface in jakarta.enterprise.inject
This interface represents a contextual reference handle.
-
intercept(InterceptionType, T, InvocationContext) - Method in interface jakarta.enterprise.inject.spi.Interceptor
+
intercept(InterceptionType, T, InvocationContext) - Method in interface jakarta.enterprise.inject.spi.Interceptor
Invokes the specified kind of lifecycle callback or method invocation interception upon the given interceptor instance.
-
Intercepted - Annotation Type in jakarta.enterprise.inject
+
Intercepted - Annotation Type in jakarta.enterprise.inject
An interceptor may inject metadata about the bean it is intercepting.
-
InterceptionFactory<T> - Interface in jakarta.enterprise.inject.spi
+
InterceptionFactory<T> - Interface in jakarta.enterprise.inject.spi
InterceptionFactory allows to create a wrapper instance whose method invocations are intercepted by method interceptors and forwarded to a provided instance.
-
InterceptionType - Enum in jakarta.enterprise.inject.spi
+
InterceptionType - Enum in jakarta.enterprise.inject.spi
Identifies the kind of lifecycle callback, EJB timeout method or business method interception.
-
Interceptor<T> - Interface in jakarta.enterprise.inject.spi
+
Interceptor<T> - Interface in jakarta.enterprise.inject.spi
Represents an enabled interceptor.
-
interceptorBindings() - Method in interface jakarta.enterprise.inject.build.compatible.spi.InterceptorInfo
+
interceptorBindings() - Method in interface jakarta.enterprise.inject.build.compatible.spi.InterceptorInfo
Returns the set of interceptor binding annotations declared on this interceptor.
-
interceptorBindings() - Method in interface jakarta.enterprise.inject.build.compatible.spi.StereotypeInfo
+
interceptorBindings() - Method in interface jakarta.enterprise.inject.build.compatible.spi.StereotypeInfo
-
Returns the set of interceptor binding annotations defined by this stereotype.
+
Returns the set of interceptor binding annotations defined by this stereotype.
-
InterceptorInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
+
InterceptorInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
Interceptors are managed beans annotated @Interceptor.
-
intercepts(InterceptionType) - Method in interface jakarta.enterprise.inject.build.compatible.spi.InterceptorInfo
+
intercepts(InterceptionType) - Method in interface jakarta.enterprise.inject.build.compatible.spi.InterceptorInfo
Returns whether this interceptor declares an interceptor method for given interception type.
-
intercepts(InterceptionType) - Method in interface jakarta.enterprise.inject.spi.Interceptor
+
intercepts(InterceptionType) - Method in interface jakarta.enterprise.inject.spi.Interceptor
Determines if the interceptor intercepts the specified kind of lifecycle callback or method invocation.
-
invoke(T, Object[]) - Method in interface jakarta.enterprise.invoke.Invoker
+
invoke(T, Object[]) - Method in interface jakarta.enterprise.invoke.Invoker
+
+
Invokes the target method on the given instance of the target bean, passing + given arguments.
+
+
Invoker<T,R> - Interface in jakarta.enterprise.invoke
-
Invokes the target method of this invoker on given instance, passing given - arguments.
+
An invoker allows indirect invocation of its target method on an instance of its target + bean.
-
Invoker<T,​R> - Interface in jakarta.enterprise.invoke
+
InvokerBuilder<T> - Interface in jakarta.enterprise.invoke
-
Allows indirectly invoking a method that belongs to a managed bean (the target method).
+
Builder of Invokers.
-
InvokerBuilder<T> - Interface in jakarta.enterprise.invoke
+
InvokerFactory - Interface in jakarta.enterprise.inject.build.compatible.spi
-
Builder of Invokers that allows configuring input lookups, input and output - transformations, and invoker wrapping.
+
Factory for InvokerBuilders.
-
InvokerInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
+
InvokerInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
-
Opaque token that stands in for an invoker registered using BeanInfo.createInvoker(MethodInfo).
+
Opaque token that stands in for an invoker registered using InvokerFactory.createInvoker(BeanInfo, MethodInfo) + and InvokerBuilder.build().
-
isActive() - Method in interface jakarta.enterprise.context.spi.Context
+
isActive() - Method in interface jakarta.enterprise.context.spi.Context
Determines if the context object is active.
-
isAlternative() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
isAlternative() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
Returns whether this bean is an alternative.
-
isAlternative() - Method in interface jakarta.enterprise.inject.build.compatible.spi.StereotypeInfo
+
isAlternative() - Method in interface jakarta.enterprise.inject.build.compatible.spi.StereotypeInfo
Returns whether this stereotype is meta-annotated @Alternative.
-
isAlternative() - Method in interface jakarta.enterprise.inject.spi.BeanAttributes
+
isAlternative() - Method in interface jakarta.enterprise.inject.spi.BeanAttributes
Determines if the bean is an alternative.
-
isAmbiguous() - Method in interface jakarta.enterprise.inject.Instance
+
isAmbiguous() - Method in interface jakarta.enterprise.inject.Instance
Determines if there is more than one bean that matches the required type and qualifiers and is eligible for injection into the class into which the parent Instance was injected.
-
isAnnotationPresent(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.Annotated
+
isAnnotationPresent(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.Annotated
Determine if the program element has an annotation of a certain annotation type.
-
isAsync() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
+
isAsync() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
Returns whether this observer is asynchronous.
-
isAsync() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
+
isAsync() - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
Determines if this observer method is asynchronous
-
isClassBean() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
isClassBean() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
Returns whether this bean is a managed bean, also known as class-based bean.
-
isDelegate() - Method in interface jakarta.enterprise.inject.spi.InjectionPoint
+
isDelegate() - Method in interface jakarta.enterprise.inject.spi.InjectionPoint
Determines if the injection point is a decorator delegate injection point.
-
isInterceptor() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
isInterceptor() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
Returns whether this bean is an interceptor.
-
isInterceptor() - Method in interface jakarta.enterprise.inject.build.compatible.spi.InterceptorInfo
+
isInterceptor() - Method in interface jakarta.enterprise.inject.build.compatible.spi.InterceptorInfo
 
-
isInterceptorBinding(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
isInterceptorBinding(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Test the given annotation type to determine if it is an interceptor binding type .
-
isNamed() - Method in interface jakarta.enterprise.inject.build.compatible.spi.StereotypeInfo
+
isMatchingBean(Set<Type>, Set<Annotation>, Type, Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
+
Returns true if a bean with given bean types and qualifiers would be assignable + to an injection point with given required type and required qualifiers, false otherwise.
+
+
isMatchingEvent(Type, Set<Annotation>, Type, Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
+
Returns true if an event with given specified type and specified qualifiers would + match an observer method with given observed event type and observed event qualifiers, + false otherwise.
+
+
isNamed() - Method in interface jakarta.enterprise.inject.build.compatible.spi.StereotypeInfo
Returns whether this stereotype is meta-annotated @Named.
-
isNormal() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ScopeInfo
+
isNormal() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ScopeInfo
Returns whether this scope type is normal.
-
isNormalScope(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
isNormalScope(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Test the given annotation type to determine if it is a normal scope type.
-
isPassivatingScope(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
isPassivatingScope(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Test the given annotation type to determine if it is a passivating scope type.
-
isProducerField() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
isProducerField() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
Returns whether this bean is defined by a producer field.
-
isProducerMethod() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
isProducerMethod() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
Returns whether this bean is defined by a producer method.
-
isQualifier(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
isQualifier(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Test the given annotation type to determine if it is a qualifier type.
-
isResolvable() - Method in interface jakarta.enterprise.inject.Instance
+
isResolvable() - Method in interface jakarta.enterprise.inject.Instance
- Determines if there is exactly one bean that matches the required type and qualifiers and is eligible for injection - into the class into which the parent Instance was injected.
+ Determines if there is exactly one bean that matches the required type and qualifiers and is eligible for injection into + the class into which the parent Instance was injected.
-
isRunning() - Method in interface jakarta.enterprise.inject.se.SeContainer
+
isRunning() - Method in interface jakarta.enterprise.inject.se.SeContainer
Check if the container is running or was shut down
-
isScope(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
isScope(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Test the given annotation type to determine if it is a scope type.
-
isStatic() - Method in interface jakarta.enterprise.inject.spi.AnnotatedMember
+
isStatic() - Method in interface jakarta.enterprise.inject.spi.AnnotatedMember
Determines if the member is static.
-
isStereotype(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
isStereotype(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Test the given annotation type to determine if it is a stereotype.
-
isSynthetic() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
isSynthetic() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
Returns whether this bean is synthetic.
-
isSynthetic() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
+
isSynthetic() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
Returns whether this observer is synthetic.
-
isTransient() - Method in interface jakarta.enterprise.context.Conversation
+
isTransient() - Method in interface jakarta.enterprise.context.Conversation
Determine if the conversation is marked transient or long-running.
-
isTransient() - Method in interface jakarta.enterprise.inject.spi.InjectionPoint
+
isTransient() - Method in interface jakarta.enterprise.inject.spi.InjectionPoint
Determines if the injection is a transient field.
-
isUnsatisfied() - Method in interface jakarta.enterprise.inject.Instance
+
isUnsatisfied() - Method in interface jakarta.enterprise.inject.Instance
Determines if there is no bean that matches the required type and qualifiers and is eligible for injection into the class into which the parent Instance was injected.
- - - -

J

-
+

J

+
jakarta.cdi - module jakarta.cdi
-
 
+
+
The jakarta.cdi module; defines the CDI API exported packages, dependencies and services.
+
jakarta.decorator - package jakarta.decorator
-
Annotations relating to decorators.
+
+ Annotations relating to decorators.
jakarta.enterprise.context - package jakarta.enterprise.context
-
Annotations and interfaces relating to scopes and contexts.
+
+ Annotations and interfaces relating to scopes and contexts.
jakarta.enterprise.context.control - package jakarta.enterprise.context.control
 
jakarta.enterprise.context.spi - package jakarta.enterprise.context.spi
-
The custom context SPI.
+
+ The custom context SPI.
jakarta.enterprise.event - package jakarta.enterprise.event
-
Annotations and interfaces relating to events.
+
+ Annotations and interfaces relating to events.
jakarta.enterprise.inject - package jakarta.enterprise.inject
 
jakarta.enterprise.inject.build.compatible.spi - package jakarta.enterprise.inject.build.compatible.spi
-
The build compatible extension SPI.
+
+ The build compatible extension SPI.
jakarta.enterprise.inject.literal - package jakarta.enterprise.inject.literal
 
@@ -2405,7 +2487,8 @@

J

 
jakarta.enterprise.inject.spi - package jakarta.enterprise.inject.spi
-
The portable extension integration SPI.
+
+ The portable extension integration SPI.
jakarta.enterprise.inject.spi.configurator - package jakarta.enterprise.inject.spi.configurator
 
@@ -2416,336 +2499,340 @@

J

Contains shared, general-purpose helper classes and annotations.
- - - -

L

-
-
Literal() - Constructor for class jakarta.enterprise.context.ApplicationScoped.Literal
+

L

+
+
Literal() - Constructor for class jakarta.enterprise.context.ApplicationScoped.Literal
 
-
Literal() - Constructor for class jakarta.enterprise.context.ConversationScoped.Literal
+
Literal() - Constructor for class jakarta.enterprise.context.ConversationScoped.Literal
 
-
Literal() - Constructor for class jakarta.enterprise.context.Dependent.Literal
+
Literal() - Constructor for class jakarta.enterprise.context.Dependent.Literal
 
-
Literal() - Constructor for class jakarta.enterprise.context.RequestScoped.Literal
+
Literal() - Constructor for class jakarta.enterprise.context.RequestScoped.Literal
 
-
Literal() - Constructor for class jakarta.enterprise.context.SessionScoped.Literal
+
Literal() - Constructor for class jakarta.enterprise.context.SessionScoped.Literal
 
-
Literal() - Constructor for class jakarta.enterprise.inject.Alternative.Literal
+
Literal() - Constructor for class jakarta.enterprise.inject.Alternative.Literal
 
-
Literal() - Constructor for class jakarta.enterprise.inject.Any.Literal
+
Literal() - Constructor for class jakarta.enterprise.inject.Any.Literal
 
-
Literal() - Constructor for class jakarta.enterprise.inject.Default.Literal
+
Literal() - Constructor for class jakarta.enterprise.inject.Default.Literal
 
-
Literal() - Constructor for class jakarta.enterprise.inject.Specializes.Literal
+
Literal() - Constructor for class jakarta.enterprise.inject.Specializes.Literal
 
-
Literal() - Constructor for class jakarta.enterprise.inject.TransientReference.Literal
+
Literal() - Constructor for class jakarta.enterprise.inject.TransientReference.Literal
 
-
Literal() - Constructor for class jakarta.enterprise.inject.Vetoed.Literal
+
Literal() - Constructor for class jakarta.enterprise.inject.Vetoed.Literal
 
-
Literal() - Constructor for class jakarta.enterprise.util.Nonbinding.Literal
+
Literal() - Constructor for class jakarta.enterprise.util.Nonbinding.Literal
 
- - - -

M

-
-
member(String, boolean) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+

M

+
+
member(String, boolean) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a boolean-valued annotation member with given name.
-
member(String, boolean[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, boolean[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a boolean array-valued annotation member with given name.
-
member(String, byte) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, byte) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a byte-valued annotation member with given name.
-
member(String, byte[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, byte[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a byte array-valued annotation member with given name.
-
member(String, char) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, char) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a char-valued annotation member with given name.
-
member(String, char[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, char[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a char array-valued annotation member with given name.
-
member(String, double) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, double) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a double-valued annotation member with given name.
-
member(String, double[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, double[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a double array-valued annotation member with given name.
-
member(String, float) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, float) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a float-valued annotation member with given name.
-
member(String, float[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, float[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a float array-valued annotation member with given name.
-
member(String, int) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, int) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an int-valued annotation member with given name.
-
member(String, int[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, int[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an int array-valued annotation member with given name.
-
member(String, long) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, long) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a long-valued annotation member with given name.
-
member(String, long[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, long[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a long array-valued annotation member with given name.
-
member(String, short) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, short) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a short-valued annotation member with given name.
-
member(String, short[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, short[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a short array-valued annotation member with given name.
-
member(String, AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an annotation-valued annotation member with given name.
-
member(String, AnnotationInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, AnnotationInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an annotation array-valued annotation member with given name.
-
member(String, AnnotationMember) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, AnnotationMember) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an annotation member with given name, whose value is given value.
-
member(String, ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a class-valued annotation member with given name.
-
member(String, ClassInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, ClassInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a class array-valued annotation member with given name.
-
member(String, ClassInfo, String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, ClassInfo, String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an enum-valued annotation member with given name.
-
member(String, ClassInfo, String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, ClassInfo, String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an enum array-valued annotation member with given name.
-
member(String, Type) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, Type) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a class-valued annotation member with given name.
-
member(String, Type[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, Type[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a class array-valued annotation member with given name.
-
member(String, Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an annotation-valued annotation member with given name.
-
member(String, Annotation[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, Annotation[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an annotation array-valued annotation member with given name.
-
member(String, Class<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, Class<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a class-valued annotation member with given name.
-
member(String, Class<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, Class<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a class array-valued annotation member with given name.
-
member(String, Class<? extends Enum<?>>, String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, Class<? extends Enum<?>>, String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an enum-valued annotation member with given name.
-
member(String, Class<? extends Enum<?>>, String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, Class<? extends Enum<?>>, String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an enum array-valued annotation member with given name.
-
member(String, Enum<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, Enum<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an enum-valued annotation member with given name.
-
member(String, Enum<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, Enum<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an enum array-valued annotation member with given name.
-
member(String, String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a String-valued annotation member with given name.
-
member(String, String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
member(String, String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a String array-valued annotation member with given name.
-
Messages - Interface in jakarta.enterprise.inject.build.compatible.spi
+
Messages - Interface in jakarta.enterprise.inject.build.compatible.spi
Allows logging and producing errors during build compatible extension execution.
-
MetaAnnotations - Interface in jakarta.enterprise.inject.build.compatible.spi
+
MetaAnnotations - Interface in jakarta.enterprise.inject.build.compatible.spi
Allows registering custom CDI meta-annotations: qualifiers, interceptor bindings, stereotypes, and scopes.
-
MethodConfig - Interface in jakarta.enterprise.inject.build.compatible.spi
+
MethodConfig - Interface in jakarta.enterprise.inject.build.compatible.spi
Allows adding annotations to and removing annotations from a method.
-
methods() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
+
methods() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
Returns a collection of MethodConfig objects for each method of this class, - as defined by ClassInfo.methods.
+ as defined by ClassInfo.methods.
-
methods() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
+
methods() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
 
-
Model - Annotation Type in jakarta.enterprise.inject
+
Model - Annotation Type in jakarta.enterprise.inject
The built-in stereotype intended for use with beans that define the model layer of an MVC web application architecture such as JSF.
- - - -

N

-
-
name() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+

N

+
+
name() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
Returns the bean name of this bean.
-
name() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ScopeInfo
+
name() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ScopeInfo
Binary name of this scope annotation, as defined by The Java™ Language Specification; - in other words, the scope annotation name as returned by Class.getName().
+ in other words, the scope annotation name as returned by Class.getName().
-
name(String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
name(String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Sets the bean name of this synthetic bean.
-
name(String) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
name(String) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Set the name of the configured bean
-
name(String) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
name(String) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Set the name of the configured bean
-
NamedLiteral - Class in jakarta.enterprise.inject.literal
+
NamedLiteral - Class in jakarta.enterprise.inject.literal
Supports inline instantiation of the Named qualifier.
-
newInstance() - Static method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
newInstance() - Static method in class jakarta.enterprise.inject.se.SeContainerInitializer
Returns an instance of SeContainerInitializer Each call returns a new instance
-
newInstance() - Method in class jakarta.enterprise.inject.spi.Unmanaged
+
newInstance() - Method in class jakarta.enterprise.inject.spi.Unmanaged
Instantiate a new UnmanagedInstance
-
Nonbinding - Annotation Type in jakarta.enterprise.util
+
Nonbinding - Annotation Type in jakarta.enterprise.util
Excludes a member of an annotation type (such as a qualifier type or - interceptor binding type) from consideration when the container compares two annotation - instances.
+ interceptor binding type) from consideration when the container compares + two annotation instances.
-
Nonbinding.Literal - Class in jakarta.enterprise.util
+
Nonbinding.Literal - Class in jakarta.enterprise.util
Supports inline instantiation of the Nonbinding annotation.
-
NonexistentConversationException - Exception in jakarta.enterprise.context
+
NonexistentConversationException - Exception in jakarta.enterprise.context
Indicates that the conversation context could not be restored.
-
NonexistentConversationException() - Constructor for exception jakarta.enterprise.context.NonexistentConversationException
-
 
-
NonexistentConversationException(String) - Constructor for exception jakarta.enterprise.context.NonexistentConversationException
-
 
-
NonexistentConversationException(String, Throwable) - Constructor for exception jakarta.enterprise.context.NonexistentConversationException
-
 
-
NonexistentConversationException(Throwable) - Constructor for exception jakarta.enterprise.context.NonexistentConversationException
-
 
-
NormalScope - Annotation Type in jakarta.enterprise.context
+
NonexistentConversationException() - Constructor for exception jakarta.enterprise.context.NonexistentConversationException
+
+
Creates the exception with no detail message or cause.
+
+
NonexistentConversationException(String) - Constructor for exception jakarta.enterprise.context.NonexistentConversationException
+
+
Creates the exception with given detail message.
+
+
NonexistentConversationException(String, Throwable) - Constructor for exception jakarta.enterprise.context.NonexistentConversationException
+
+
Creates the exception with given detail message and cause.
+
+
NonexistentConversationException(Throwable) - Constructor for exception jakarta.enterprise.context.NonexistentConversationException
+
+
Creates the exception with given cause.
+
+
NormalScope - Annotation Type in jakarta.enterprise.context
Specifies that an annotation type is a normal scope type.
-
NotificationOptions - Interface in jakarta.enterprise.event
+
NotificationOptions - Interface in jakarta.enterprise.event
Notification options are used to configure observer notification.
-
NotificationOptions.Builder - Interface in jakarta.enterprise.event
+
NotificationOptions.Builder - Interface in jakarta.enterprise.event
Notification options builder.
-
notify(EventContext<T>) - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
+
notify(EventContext<T>) - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
Calls the observer method, passing the given event context.
-
notify(T) - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
+
notify(T) - Method in interface jakarta.enterprise.inject.spi.ObserverMethod
Calls the observer method, passing the given event object.
-
notifyObserver() - Method in annotation type jakarta.enterprise.event.Observes
+
notifyObserver() - Element in annotation type jakarta.enterprise.event.Observes
-
notifyObserver() - Method in annotation type jakarta.enterprise.event.ObservesAsync
+
notifyObserver() - Element in annotation type jakarta.enterprise.event.ObservesAsync
-
notifyWith(ObserverMethodConfigurator.EventConsumer<T>) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+
notifyWith(ObserverMethodConfigurator.EventConsumer<T>) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Define an operation that accepts a context of a fired event.
- - - -

O

-
-
observe(EventContext<T>, Parameters) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserver
+

O

+
+
observe(EventContext<T>, Parameters) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserver
Consumes an event.
-
observedType(Type) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+
observedType(Type) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Set the type of the observed event
-
ObserverException - Exception in jakarta.enterprise.event
+
ObserverException - Exception in jakarta.enterprise.event
Indicates that a checked exception was thrown by an observer method during event notification.
-
ObserverException() - Constructor for exception jakarta.enterprise.event.ObserverException
-
 
-
ObserverException(String) - Constructor for exception jakarta.enterprise.event.ObserverException
-
 
-
ObserverException(String, Throwable) - Constructor for exception jakarta.enterprise.event.ObserverException
-
 
-
ObserverException(Throwable) - Constructor for exception jakarta.enterprise.event.ObserverException
-
 
-
ObserverInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
+
ObserverException() - Constructor for exception jakarta.enterprise.event.ObserverException
+
+
Creates the exception with no detail message or cause.
+
+
ObserverException(String) - Constructor for exception jakarta.enterprise.event.ObserverException
+
+
Creates the exception with given detail message.
+
+
ObserverException(String, Throwable) - Constructor for exception jakarta.enterprise.event.ObserverException
+
+
Creates the exception with given detail message and cause.
+
+
ObserverException(Throwable) - Constructor for exception jakarta.enterprise.event.ObserverException
+
+
Creates the exception with given cause.
+
+
ObserverInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
Observers are: @@ -2756,592 +2843,606 @@

O

Observer methods directly correspond to a method declaration in program source code.
-
observerMethod() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
+
observerMethod() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
-
Returns the declaration of this observer method.
+
Returns the declaration of this observer method.
-
ObserverMethod<T> - Interface in jakarta.enterprise.inject.spi
+
ObserverMethod<T> - Interface in jakarta.enterprise.inject.spi
Represents an observer method of an enabled bean.
-
ObserverMethodConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
+
ObserverMethodConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
-
ObserverMethodConfigurator.EventConsumer<T> - Interface in jakarta.enterprise.inject.spi.configurator
+
ObserverMethodConfigurator.EventConsumer<T> - Interface in jakarta.enterprise.inject.spi.configurator
Represents an operation that accepts a context of a fired event.
-
Observes - Annotation Type in jakarta.enterprise.event
+
Observes - Annotation Type in jakarta.enterprise.event
Identifies the event parameter of an observer method.
-
ObservesAsync - Annotation Type in jakarta.enterprise.event
+
ObservesAsync - Annotation Type in jakarta.enterprise.event
Identifies the event parameter of an asynchronous observer method.
-
observeWith(Class<? extends SyntheticObserver<T>>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
observeWith(Class<? extends SyntheticObserver<T>>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Sets the class of the synthetic observer event notification function.
-
of(ClassInfo) - Static method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
of(ClassInfo) - Static method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Returns a new AnnotationBuilder that builds an annotation of given type.
-
of(Class<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
+
of(Class<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
Returns a type from given class literal.
-
of(Class<?>[]) - Static method in class jakarta.enterprise.inject.Typed.Literal
-
 
-
of(Class<? extends Annotation>) - Static method in class jakarta.enterprise.context.BeforeDestroyed.Literal
-
 
-
of(Class<? extends Annotation>) - Static method in class jakarta.enterprise.context.Destroyed.Literal
-
 
-
of(Class<? extends Annotation>) - Static method in class jakarta.enterprise.context.Initialized.Literal
-
 
-
of(Class<? extends Annotation>) - Static method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
of(Class<?>[]) - Static method in class jakarta.enterprise.inject.Typed.Literal
+
+
Obtain the Typed literal for the provided bean types
+
+
of(Class<? extends Annotation>) - Static method in class jakarta.enterprise.context.BeforeDestroyed.Literal
+
+
Obtain the literal for the provided scope annotation
+
+
of(Class<? extends Annotation>) - Static method in class jakarta.enterprise.context.Destroyed.Literal
+
+
Obtain the literal of the provided scope annotation
+
+
of(Class<? extends Annotation>) - Static method in class jakarta.enterprise.context.Initialized.Literal
+
+
Obtain the literal of the provided scope annotation
+
+
of(Class<? extends Annotation>) - Static method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Returns a new AnnotationBuilder that builds an annotation of given type.
-
of(String) - Static method in class jakarta.enterprise.inject.literal.NamedLiteral
-
 
-
of(String, Object) - Static method in interface jakarta.enterprise.event.NotificationOptions
+
of(String) - Static method in class jakarta.enterprise.inject.literal.NamedLiteral
+
+
Create a new NamedLiteral for the given name value
+
+
of(String, Object) - Static method in interface jakarta.enterprise.event.NotificationOptions
 
-
ofArray(Type, int) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
+
ofArray(Type, int) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
-
Returns an ArrayType for the given element type and number of dimensions.
+
Returns an ArrayType for the given element type and number of dimensions.
-
ofClass(ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
+
ofClass(ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
-
Returns a ClassType for the given class declaration.
+
Returns a ClassType for the given class declaration.
-
ofClass(String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
+
ofClass(String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
-
Returns a ClassType for the given binary name, as defined by The Java™ Language Specification; - in other words, the class name as returned by Class.getName().
+
Returns a ClassType for the given binary name, as defined by The Java™ Language Specification; + in other words, the class name as returned by Class.getName().
-
ofExecutor(Executor) - Static method in interface jakarta.enterprise.event.NotificationOptions
+
ofExecutor(Executor) - Static method in interface jakarta.enterprise.event.NotificationOptions
 
-
ofPrimitive(PrimitiveType.PrimitiveKind) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
+
ofPrimitive(PrimitiveType.PrimitiveKind) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
-
Returns a PrimitiveType for the given kind of primitive type.
+
Returns a PrimitiveType for the given kind of primitive type.
-
ofVoid() - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
+
ofVoid() - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
-
Returns a VoidType, representing the void pseudo-type.
+
Returns a VoidType, representing the void pseudo-type.
- - - -

P

-
-
ParameterConfig - Interface in jakarta.enterprise.inject.build.compatible.spi
+

P

+
+
ParameterConfig - Interface in jakarta.enterprise.inject.build.compatible.spi
Allows adding annotations to and removing annotations from a method parameter.
-
parameterized(ClassType, Type...) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
+
parameterized(ClassType, Type...) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
-
Returns a ParameterizedType for the given generic type and type arguments.
+
Returns a ParameterizedType for the given generic type and type arguments.
-
parameterized(Class<?>, Type...) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
+
parameterized(Class<?>, Type...) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
-
Returns a ParameterizedType for the given generic type and type arguments.
+
Returns a ParameterizedType for the given generic type and type arguments.
-
parameterized(Class<?>, Class<?>...) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
+
parameterized(Class<?>, Class<?>...) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
-
Returns a ParameterizedType for the given generic type and type arguments.
+
Returns a ParameterizedType for the given generic type and type arguments.
-
parameters() - Method in interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig
+
parameters() - Method in interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig
Returns a list of ParameterConfig objects for each parameter of this method.
-
Parameters - Interface in jakarta.enterprise.inject.build.compatible.spi
+
Parameters - Interface in jakarta.enterprise.inject.build.compatible.spi
A String-keyed parameter map.
-
params() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator
+
params() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator
 
-
params() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator
+
params() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator
 
-
passivating() - Method in annotation type jakarta.enterprise.context.NormalScope
+
passivating() - Element in annotation type jakarta.enterprise.context.NormalScope
Determines whether the normal scope type is a passivating scope.
-
PassivationCapable - Interface in jakarta.enterprise.inject.spi
+
PassivationCapable - Interface in jakarta.enterprise.inject.spi
Indicates that a custom implementation of Bean or Contextual is passivation capable.
-
POST_ACTIVATE - jakarta.enterprise.inject.spi.InterceptionType
+
POST_ACTIVATE - Enum constant in enum jakarta.enterprise.inject.spi.InterceptionType
Intercepts bean activation, only called for EJBs
-
POST_CONSTRUCT - jakarta.enterprise.inject.spi.InterceptionType
+
POST_CONSTRUCT - Enum constant in enum jakarta.enterprise.inject.spi.InterceptionType
Intercepts bean construction
-
postConstruct() - Method in class jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance
+
postConstruct() - Method in class jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance
Call the @PostConstruct callback
-
postConstruct(T) - Method in interface jakarta.enterprise.inject.spi.InjectionTarget
+
postConstruct(T) - Method in interface jakarta.enterprise.inject.spi.InjectionTarget
- Calls the PostConstruct callback, if it exists, according to the semantics required by the Java - EE platform specification.
+ Calls the PostConstruct callback, if it exists, according to the semantics required by the + Java EE platform specification.
-
PRE_DESTROY - jakarta.enterprise.inject.spi.InterceptionType
+
PRE_DESTROY - Enum constant in enum jakarta.enterprise.inject.spi.InterceptionType
Intercepts bean destruction
-
PRE_PASSIVATE - jakarta.enterprise.inject.spi.InterceptionType
+
PRE_PASSIVATE - Enum constant in enum jakarta.enterprise.inject.spi.InterceptionType
Intercepts bean passivation, only called for EJBs
-
preDestroy() - Method in class jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance
+
preDestroy() - Method in class jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance
Call the @PreDestroy callback
-
preDestroy(T) - Method in interface jakarta.enterprise.inject.spi.InjectionTarget
+
preDestroy(T) - Method in interface jakarta.enterprise.inject.spi.InjectionTarget
- Calls the PreDestroy callback, if it exists, according to the semantics required by the Java EE - platform specification.
+ Calls the PreDestroy callback, if it exists, according to the semantics required by the Java + EE platform specification.
-
Prioritized - Interface in jakarta.enterprise.inject.spi
+
Prioritized - Interface in jakarta.enterprise.inject.spi
This interface allows some SPI implementation to change their priority programmatically.
-
priority() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
priority() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
Returns the priority declared on this bean, or null if this bean does not declare a priority.
-
priority() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
+
priority() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
Returns the priority of this observer.
-
priority() - Method in interface jakarta.enterprise.inject.build.compatible.spi.StereotypeInfo
+
priority() - Method in interface jakarta.enterprise.inject.build.compatible.spi.StereotypeInfo
Returns the priority value this stereotype declares using the @Priority meta-annotation.
-
priority(int) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
priority(int) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Sets a priority of this synthetic bean.
-
priority(int) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
priority(int) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Sets a priority of this synthetic observer.
-
priority(int) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
priority(int) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Set the priority of the configured bean.
-
priority(int) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+
priority(int) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Set the priority for the observer to build
-
ProcessAnnotatedType<X> - Interface in jakarta.enterprise.inject.spi
+
ProcessAnnotatedType<X> - Interface in jakarta.enterprise.inject.spi
The container fires an event of this type for each Java class or interface it discovers in a bean archive, before it reads the declared annotations.
-
ProcessBean<X> - Interface in jakarta.enterprise.inject.spi
+
ProcessBean<X> - Interface in jakarta.enterprise.inject.spi
The container fires an event of this type for each enabled bean, interceptor or decorator deployed in a bean archive, before registering the Bean object.
-
ProcessBeanAttributes<T> - Interface in jakarta.enterprise.inject.spi
+
ProcessBeanAttributes<T> - Interface in jakarta.enterprise.inject.spi
The container fires an event of this type for each enabled bean, interceptor or decorator deployed in a bean archive before registering the Bean object.
-
ProcessInjectionPoint<T,​X> - Interface in jakarta.enterprise.inject.spi
+
ProcessInjectionPoint<T,X> - Interface in jakarta.enterprise.inject.spi
The container fires an event of this type for every injection point of every Java EE component class supporting injection - that may be instantiated by the container at runtime, including every managed bean declared using - jakarta.annotation.ManagedBean, EJB session or message-driven bean, enabled bean, enabled interceptor or enabled - decorator.
+ that may be instantiated by the container at runtime, including every EJB session or message-driven bean, enabled + bean, enabled interceptor or enabled decorator.
-
ProcessInjectionTarget<X> - Interface in jakarta.enterprise.inject.spi
+
ProcessInjectionTarget<X> - Interface in jakarta.enterprise.inject.spi
The container fires an event of this type for every Java EE component class supporting injection that may be instantiated by - the container at runtime, including every managed bean declared using jakarta.annotation.ManagedBean, EJB session or - message-driven bean, enabled bean, enabled interceptor or enabled decorator.
+ the container at runtime, including EJB session or message-driven bean, enabled bean, enabled interceptor or + enabled decorator.
-
ProcessManagedBean<X> - Interface in jakarta.enterprise.inject.spi
+
ProcessManagedBean<X> - Interface in jakarta.enterprise.inject.spi
The container fires an event of this type for each enabled managed bean, before registering the Bean object.
-
ProcessObserverMethod<T,​X> - Interface in jakarta.enterprise.inject.spi
+
ProcessObserverMethod<T,X> - Interface in jakarta.enterprise.inject.spi
The container fires an event of this type for each observer method of each enabled bean, before registering the ObserverMethod object.
-
ProcessProducer<T,​X> - Interface in jakarta.enterprise.inject.spi
+
ProcessProducer<T,X> - Interface in jakarta.enterprise.inject.spi
The container fires an event of this type for each producer method or field of each enabled bean, including resources.
-
ProcessProducerField<T,​X> - Interface in jakarta.enterprise.inject.spi
+
ProcessProducerField<T,X> - Interface in jakarta.enterprise.inject.spi
The container fires an event of this type for each enabled producer field, before registering the Bean object.
-
ProcessProducerMethod<T,​X> - Interface in jakarta.enterprise.inject.spi
+
ProcessProducerMethod<T,X> - Interface in jakarta.enterprise.inject.spi
The container fires an event of this type for each enabled producer method, before registering the Bean object.
-
ProcessSessionBean<X> - Interface in jakarta.enterprise.inject.spi
+
ProcessSessionBean<X> - Interface in jakarta.enterprise.inject.spi
The container fires an event of this type for each enabled session bean, before registering the Bean object.
-
ProcessSyntheticAnnotatedType<X> - Interface in jakarta.enterprise.inject.spi
+
ProcessSyntheticAnnotatedType<X> - Interface in jakarta.enterprise.inject.spi
The container fires an event of this type for each Java class or interface added by BeforeBeanDiscovery.addAnnotatedType(AnnotatedType, String) or AfterTypeDiscovery.addAnnotatedType(AnnotatedType, String)
-
ProcessSyntheticBean<X> - Interface in jakarta.enterprise.inject.spi
+
ProcessSyntheticBean<X> - Interface in jakarta.enterprise.inject.spi
The container fires an event of this type for each custom bean implementation added through AfterBeanDiscovery.addBean() or AfterBeanDiscovery.addBean(Bean), before registering the Bean object.
-
ProcessSyntheticObserverMethod<T,​X> - Interface in jakarta.enterprise.inject.spi
+
ProcessSyntheticObserverMethod<T,X> - Interface in jakarta.enterprise.inject.spi
The container fires an event of this type for each custom implementation of ObserverMethod added through AfterBeanDiscovery.addObserverMethod(ObserverMethod) or AfterBeanDiscovery.addObserverMethod(), before registering the ObserverMethod object.
-
produce() - Method in class jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance
+
produce() - Method in class jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance
Create the instance
-
produce(CreationalContext<T>) - Method in interface jakarta.enterprise.inject.spi.Producer
+
produce(CreationalContext<T>) - Method in interface jakarta.enterprise.inject.spi.Producer
Causes an instance to be produced via the Producer.
-
Producer<T> - Interface in jakarta.enterprise.inject.spi
+
Producer<T> - Interface in jakarta.enterprise.inject.spi
Provides a generic operation for producing an instance of a type.
-
ProducerConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
+
ProducerConfigurator<T> - Interface in jakarta.enterprise.inject.spi.configurator
A ProducerConfigurator can configure a Producer.
-
ProducerFactory<X> - Interface in jakarta.enterprise.inject.spi
+
ProducerFactory<X> - Interface in jakarta.enterprise.inject.spi
An ProducerFactory can create an Producer for a given bean.
-
producerField() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
producerField() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
-
Returns the producer field that defines this bean.
+
Returns the producer field that defines this bean.
-
producerMethod() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
producerMethod() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
-
Returns the producer method that defines this bean.
+
Returns the producer method that defines this bean.
-
Produces - Annotation Type in jakarta.enterprise.inject
+
Produces - Annotation Type in jakarta.enterprise.inject
Identifies a producer method or field.
-
produceWith(Function<CreationalContext<U>, U>) - Method in interface jakarta.enterprise.inject.spi.configurator.ProducerConfigurator
+
produceWith(Function<CreationalContext<U>, U>) - Method in interface jakarta.enterprise.inject.spi.configurator.ProducerConfigurator
Set a callback to produce a new instance.
-
produceWith(Function<Instance<Object>, U>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
produceWith(Function<Instance<Object>, U>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Set a callback to create a bean instance.
-
push(T) - Method in interface jakarta.enterprise.context.spi.CreationalContext
+
push(T) - Method in interface jakarta.enterprise.context.spi.CreationalContext
Registers an incompletely initialized contextual instance the with the container.
- - - -

Q

-
-
qualifier(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+

Q

+
+
qualifier(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds given annotation to the set of qualifiers of this synthetic bean.
-
qualifier(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
qualifier(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds given annotation to the set of qualifiers of this synthetic observer.
-
qualifier(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
qualifier(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds given annotation to the set of qualifiers of this synthetic bean.
-
qualifier(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
qualifier(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds given annotation to the set of qualifiers of this synthetic observer.
-
qualifier(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
qualifier(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds a marker annotation of given type to the set of qualifiers of this synthetic bean.
-
qualifier(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
qualifier(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds a marker annotation of given type to the set of qualifiers of this synthetic observer.
-
QualifierLiteral - Class in jakarta.enterprise.inject.literal
+
QualifierLiteral - Class in jakarta.enterprise.inject.literal
Supports inline instantiation of the Qualifier annotation.
-
QualifierLiteral() - Constructor for class jakarta.enterprise.inject.literal.QualifierLiteral
+
QualifierLiteral() - Constructor for class jakarta.enterprise.inject.literal.QualifierLiteral
 
-
qualifiers() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
qualifiers() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
-
Returns a collection of this bean's qualifiers, represented as AnnotationInfo.
+
Returns a collection of this bean's qualifiers, represented as AnnotationInfo.
-
qualifiers() - Method in interface jakarta.enterprise.inject.build.compatible.spi.InjectionPointInfo
+
qualifiers() - Method in interface jakarta.enterprise.inject.build.compatible.spi.InjectionPointInfo
-
Returns a collection of qualifiers declared on this injection point, represented as AnnotationInfo.
+
Returns a collection of qualifiers declared on this injection point, represented as AnnotationInfo.
-
qualifiers() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
+
qualifiers() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
-
Returns a collection of observed event qualifiers, represented as AnnotationInfo.
+
Returns a collection of observed event qualifiers, represented as AnnotationInfo.
-
qualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
qualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Replace all qualifiers.
-
qualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
qualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Replace all qualifiers.
-
qualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
+
qualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
Replace all qualifiers.
-
qualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+
qualifiers(Annotation...) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Replace all qualifiers on the Observed event.
-
qualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
qualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Replace all qualifiers.
-
qualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
qualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Replace all qualifiers.
-
qualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
+
qualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
Replace all qualifiers.
-
qualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+
qualifiers(Set<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Replace all qualifiers on the Observed event.
- - - -

R

-
-
read(AnnotatedMethod<?>) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+

R

+
+
read(AnnotatedMethod<?>) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Read observer meta data from a existing AnnotatedMethod
-
read(AnnotatedType<U>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
read(AnnotatedType<U>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Read the information from the given annotated type.
-
read(BeanAttributes<?>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
read(BeanAttributes<?>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Read the information from the given bean attributes.
-
read(ObserverMethod<T>) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+
read(ObserverMethod<T>) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Read observer meta data from a existing ObserverMethod
-
read(Method) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+
read(Method) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
-
Read observer meta data from a existing Method
+
Read observer meta data from a existing Method
-
reception() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
+
reception() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
Returns the reception type of this observer.
-
reception(Reception) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+
reception(Reception) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Set the Reception mode for the observer to build
-
Reception - Enum in jakarta.enterprise.event
+
Reception - Enum in jakarta.enterprise.event
Distinguishes conditional observer methods from observer methods which are always notified.
-
Registration - Annotation Type in jakarta.enterprise.inject.build.compatible.spi
+
Registration - Annotation Type in jakarta.enterprise.inject.build.compatible.spi
3rd phase of build compatible extension execution.
-
release() - Method in interface jakarta.enterprise.context.spi.CreationalContext
+
release() - Method in interface jakarta.enterprise.context.spi.CreationalContext
Destroys all dependent objects of the instance which is being destroyed, by passing each dependent object to Contextual.destroy(Object, CreationalContext) .
-
remove(Predicate<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator
+
remove(Predicate<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator
Remove annotations that match the specified predicate.
-
remove(Predicate<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedFieldConfigurator
+
remove(Predicate<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedFieldConfigurator
Remove annotations that match the specified predicate.
-
remove(Predicate<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator
+
remove(Predicate<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator
Remove annotations that match the specified predicate.
-
remove(Predicate<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedParameterConfigurator
+
remove(Predicate<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedParameterConfigurator
Remove annotations that match the specified predicate.
-
remove(Predicate<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
+
remove(Predicate<Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
Remove annotations that match the specified predicate.
-
removeAll() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator
+
removeAll() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator
Remove all the annotations.
-
removeAll() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedFieldConfigurator
+
removeAll() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedFieldConfigurator
Remove all the annotations.
-
removeAll() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator
+
removeAll() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator
Remove all the annotations.
-
removeAll() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedParameterConfigurator
+
removeAll() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedParameterConfigurator
Remove all the annotations.
-
removeAll() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
+
removeAll() - Method in interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator
Remove all the annotations.
-
removeAllAnnotations() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
+
removeAllAnnotations() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
Removes all annotations from this class.
-
removeAllAnnotations() - Method in interface jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig
+
removeAllAnnotations() - Method in interface jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig
Removes all annotations from this declaration.
-
removeAllAnnotations() - Method in interface jakarta.enterprise.inject.build.compatible.spi.FieldConfig
+
removeAllAnnotations() - Method in interface jakarta.enterprise.inject.build.compatible.spi.FieldConfig
Removes all annotations from this field.
-
removeAllAnnotations() - Method in interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig
+
removeAllAnnotations() - Method in interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig
Removes all annotations from this method.
-
removeAllAnnotations() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ParameterConfig
+
removeAllAnnotations() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ParameterConfig
Removes all annotations from this method parameter.
-
removeAnnotation(Predicate<AnnotationInfo>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
+
removeAnnotation(Predicate<AnnotationInfo>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig
Removes all annotations matching given predicate from this class.
-
removeAnnotation(Predicate<AnnotationInfo>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig
+
removeAnnotation(Predicate<AnnotationInfo>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig
Removes all annotations matching given predicate from this declaration.
-
removeAnnotation(Predicate<AnnotationInfo>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.FieldConfig
+
removeAnnotation(Predicate<AnnotationInfo>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.FieldConfig
Removes all annotations matching given predicate from this field.
-
removeAnnotation(Predicate<AnnotationInfo>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig
+
removeAnnotation(Predicate<AnnotationInfo>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig
Removes all annotations matching given predicate from this method.
-
removeAnnotation(Predicate<AnnotationInfo>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ParameterConfig
+
removeAnnotation(Predicate<AnnotationInfo>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.ParameterConfig
Removes all annotations matching given predicate from this method parameter.
-
REQUEST - Static variable in class jakarta.enterprise.context.BeforeDestroyed.Literal
-
 
-
REQUEST - Static variable in class jakarta.enterprise.context.Destroyed.Literal
-
 
-
REQUEST - Static variable in class jakarta.enterprise.context.Initialized.Literal
-
 
-
RequestContextController - Interface in jakarta.enterprise.context.control
+
REQUEST - Static variable in class jakarta.enterprise.context.BeforeDestroyed.Literal
+
+
Default BeforeDestroyed literal for the RequestScoped scope
+
+
REQUEST - Static variable in class jakarta.enterprise.context.Destroyed.Literal
+
+
Default Destroyed literal for the RequestScoped scope
+
+
REQUEST - Static variable in class jakarta.enterprise.context.Initialized.Literal
+
+
Default Initialized literal for the RequestScoped scope
+
+
RequestContextController - Interface in jakarta.enterprise.context.control
The CDI container provides a built in instance of RequestContextController that is dependent scoped for the purposes of activating and deactivating.
-
RequestScoped - Annotation Type in jakarta.enterprise.context
+
RequestScoped - Annotation Type in jakarta.enterprise.context
Specifies that a bean is request scoped.
-
RequestScoped.Literal - Class in jakarta.enterprise.context
+
RequestScoped.Literal - Class in jakarta.enterprise.context
Supports inline instantiation of the RequestScoped annotation.
-
ResolutionException - Exception in jakarta.enterprise.inject
+
ResolutionException - Exception in jakarta.enterprise.inject
Indicates a problem relating to typesafe resolution.
-
ResolutionException() - Constructor for exception jakarta.enterprise.inject.ResolutionException
-
 
-
ResolutionException(String) - Constructor for exception jakarta.enterprise.inject.ResolutionException
-
 
-
ResolutionException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.ResolutionException
-
 
-
ResolutionException(Throwable) - Constructor for exception jakarta.enterprise.inject.ResolutionException
-
 
-
resolve(Set<Bean<? extends X>>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
ResolutionException() - Constructor for exception jakarta.enterprise.inject.ResolutionException
+
+
Creates the exception with no detail message or cause.
+
+
ResolutionException(String) - Constructor for exception jakarta.enterprise.inject.ResolutionException
+
+
Creates the exception with given detail message.
+
+
ResolutionException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.ResolutionException
+
+
Creates the exception with given detail message and cause.
+
+
ResolutionException(Throwable) - Constructor for exception jakarta.enterprise.inject.ResolutionException
+
+
Creates the exception with given cause.
+
+
resolve(Set<Bean<? extends X>>) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Apply the ambiguous dependency resolution rules to a set of beans.
-
resolveDecorators(Set<Type>, Annotation...) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
resolveDecorators(Set<Type>, Annotation...) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Return an ordered list of decorators for a set of bean types and a set of qualifiers and which are enabled in the module or library containing the class into which the BeanManager was injected or the Java EE component from whose JNDI environment namespace the BeanManager was obtained.
-
resolveInterceptors(InterceptionType, Annotation...) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
resolveInterceptors(InterceptionType, Annotation...) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Return an ordered list of enabled interceptors for a set of interceptor bindings and a type of interception and which are enabled in the module or library containing the class into which the @@ -3349,989 +3450,942 @@

R

the Jakarta EE component from whose JNDI environment namespace the BeanManager/BeanContainer was obtained.
-
resolveObserverMethods(T, Annotation...) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
+
resolveObserverMethods(T, Annotation...) - Method in interface jakarta.enterprise.inject.spi.BeanContainer
Return an ordered set of observer methods for an event.
- - - -

S

-
-
ScannedClasses - Interface in jakarta.enterprise.inject.build.compatible.spi
+

S

+
+
ScannedClasses - Interface in jakarta.enterprise.inject.build.compatible.spi
Allows adding additional classes to the set of types discovered during type discovery.
-
scope() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
scope() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
Returns the scope of this bean.
-
scope(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
scope(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Sets the scope of this synthetic bean to given scope type.
-
scope(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
scope(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Replace Bean scope
-
scope(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
scope(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Replace Bean scope
-
ScopeInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
+
ScopeInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
A scope of a bean.
-
SeContainer - Interface in jakarta.enterprise.inject.se
+
SeContainer - Interface in jakarta.enterprise.inject.se
Provides access to the current container in Java SE.
-
SeContainerInitializer - Class in jakarta.enterprise.inject.se
+
SeContainerInitializer - Class in jakarta.enterprise.inject.se
A CDI container initializer for Java SE.
-
SeContainerInitializer() - Constructor for class jakarta.enterprise.inject.se.SeContainerInitializer
+
SeContainerInitializer() - Constructor for class jakarta.enterprise.inject.se.SeContainerInitializer
 
-
select(TypeLiteral<U>, Annotation...) - Method in interface jakarta.enterprise.event.Event
+
select(TypeLiteral<U>, Annotation...) - Method in interface jakarta.enterprise.event.Event
Obtains a child Event for the given required type and additional required qualifiers.
-
select(TypeLiteral<U>, Annotation...) - Method in interface jakarta.enterprise.inject.Instance
+
select(TypeLiteral<U>, Annotation...) - Method in interface jakarta.enterprise.inject.Instance
Obtains a child Instance for the given required type and additional required qualifiers.
-
select(Annotation...) - Method in interface jakarta.enterprise.event.Event
+
select(Annotation...) - Method in interface jakarta.enterprise.event.Event
Obtains a child Event for the given additional required qualifiers.
-
select(Annotation...) - Method in interface jakarta.enterprise.inject.Instance
+
select(Annotation...) - Method in interface jakarta.enterprise.inject.Instance
Obtains a child Instance for the given additional required qualifiers.
-
select(Class<U>, Annotation...) - Method in interface jakarta.enterprise.event.Event
+
select(Class<U>, Annotation...) - Method in interface jakarta.enterprise.event.Event
Obtains a child Event for the given required type and additional required qualifiers.
-
select(Class<U>, Annotation...) - Method in interface jakarta.enterprise.inject.Instance
+
select(Class<U>, Annotation...) - Method in interface jakarta.enterprise.inject.Instance
Obtains a child Instance for the given required type and additional required qualifiers.
-
selectAlternatives(Class<?>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
selectAlternatives(Class<?>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
Add alternatives classes to the list of selected alternatives for the synthetic bean archive.
-
selectAlternativeStereotypes(Class<? extends Annotation>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
selectAlternativeStereotypes(Class<? extends Annotation>...) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
Add alternative stereotype classes to the list of selected alternative stereotypes for the synthetic bean archive.
-
SESSION - Static variable in class jakarta.enterprise.context.BeforeDestroyed.Literal
-
 
-
SESSION - Static variable in class jakarta.enterprise.context.Destroyed.Literal
-
 
-
SESSION - Static variable in class jakarta.enterprise.context.Initialized.Literal
-
 
-
SessionBeanType - Enum in jakarta.enterprise.inject.spi
+
SESSION - Static variable in class jakarta.enterprise.context.BeforeDestroyed.Literal
+
+
Default BeforeDestroyed literal for the SessionScoped scope
+
+
SESSION - Static variable in class jakarta.enterprise.context.Destroyed.Literal
+
+
Default Destroyed literal for the SessionScoped scope
+
+
SESSION - Static variable in class jakarta.enterprise.context.Initialized.Literal
+
+
Default Initialized literal for the SessionScoped scope
+
+
SessionBeanType - Enum in jakarta.enterprise.inject.spi
Identifies the kind of EJB session bean.
-
SessionScoped - Annotation Type in jakarta.enterprise.context
+
SessionScoped - Annotation Type in jakarta.enterprise.context
Specifies that a bean is session scoped.
-
SessionScoped.Literal - Class in jakarta.enterprise.context
+
SessionScoped.Literal - Class in jakarta.enterprise.context
Supports inline instantiation of the SessionScoped annotation.
-
set(String, Object) - Method in interface jakarta.enterprise.event.NotificationOptions.Builder
-
 
-
setAnnotatedType(AnnotatedType<X>) - Method in interface jakarta.enterprise.inject.spi.ProcessAnnotatedType
-
-
Replaces the AnnotatedType.
-
-
setArgumentLookup(int) - Method in interface jakarta.enterprise.invoke.InvokerBuilder
+
set(String, Object) - Method in interface jakarta.enterprise.event.NotificationOptions.Builder
-
Enables lookup of the argument on given position.
+
Set an option value
-
setArgumentTransformer(int, Class<?>, String) - Method in interface jakarta.enterprise.invoke.InvokerBuilder
+
setAnnotatedType(AnnotatedType<X>) - Method in interface jakarta.enterprise.inject.spi.ProcessAnnotatedType
-
Configures an input transformer for the argument on given position.
+
Replaces the AnnotatedType.
-
setBeanAttributes(BeanAttributes<T>) - Method in interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
+
setBeanAttributes(BeanAttributes<T>) - Method in interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
Replaces the BeanAttributes.
-
setBuildServices(BuildServices) - Static method in class jakarta.enterprise.inject.build.compatible.spi.BuildServicesResolver
+
setBuildServices(BuildServices) - Static method in class jakarta.enterprise.inject.build.compatible.spi.BuildServicesResolver
This method should not be used by applications.
-
setCDIProvider(CDIProvider) - Static method in class jakarta.enterprise.inject.spi.CDI
+
setCDIProvider(CDIProvider) - Static method in class jakarta.enterprise.inject.spi.CDI
Set the CDIProvider to use.
-
setClassLoader(ClassLoader) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
setClassLoader(ClassLoader) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
-
Set a ClassLoader.
+
-
setExceptionTransformer(Class<?>, String) - Method in interface jakarta.enterprise.invoke.InvokerBuilder
+
setExecutor(Executor) - Method in interface jakarta.enterprise.event.NotificationOptions.Builder
-
Configures an output transformer for the thrown exception.
+
Set the notification executor
-
setExecutor(Executor) - Method in interface jakarta.enterprise.event.NotificationOptions.Builder
-
 
-
setInjectionPoint(InjectionPoint) - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionPoint
+
setInjectionPoint(InjectionPoint) - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionPoint
Replaces the InjectionPoint.
-
setInjectionTarget(InjectionTarget<X>) - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionTarget
+
setInjectionTarget(InjectionTarget<X>) - Method in interface jakarta.enterprise.inject.spi.ProcessInjectionTarget
Replaces the InjectionTarget which performs injection for this target.
-
setInstanceLookup() - Method in interface jakarta.enterprise.invoke.InvokerBuilder
-
-
Enables lookup of the target instance.
-
-
setInstanceTransformer(Class<?>, String) - Method in interface jakarta.enterprise.invoke.InvokerBuilder
-
-
Configures an input transformer for the target instance.
-
-
setInvocationWrapper(Class<?>, String) - Method in interface jakarta.enterprise.invoke.InvokerBuilder
-
-
Configures an invoker wrapper.
-
-
setObserverMethod(ObserverMethod<T>) - Method in interface jakarta.enterprise.inject.spi.ProcessObserverMethod
+
setObserverMethod(ObserverMethod<T>) - Method in interface jakarta.enterprise.inject.spi.ProcessObserverMethod
Replaces the ObserverMethod.
-
setProducer(Producer<X>) - Method in interface jakarta.enterprise.inject.spi.ProcessProducer
+
setProducer(Producer<X>) - Method in interface jakarta.enterprise.inject.spi.ProcessProducer
Replaces the Producer object that will be used by the container to call the producer method or read the producer field.
-
setProperties(Map<String, Object>) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
+
setProperties(Map<String, Object>) - Method in class jakarta.enterprise.inject.se.SeContainerInitializer
Set all the configuration properties.
-
setReturnValueTransformer(Class<?>, String) - Method in interface jakarta.enterprise.invoke.InvokerBuilder
-
-
Configures an output transformer for the return value.
-
-
setTimeout(long) - Method in interface jakarta.enterprise.context.Conversation
+
setTimeout(long) - Method in interface jakarta.enterprise.context.Conversation
Set the timeout of the current conversation.
-
Shutdown - Class in jakarta.enterprise.event
+
Shutdown - Class in jakarta.enterprise.event
A CDI event with payload of type Shutdown and qualifier Any is synchronously fired by CDI container during application shutdown.
-
Shutdown() - Constructor for class jakarta.enterprise.event.Shutdown
+
Shutdown() - Constructor for class jakarta.enterprise.event.Shutdown
 
-
SINGLETON - jakarta.enterprise.inject.spi.SessionBeanType
+
SINGLETON - Enum constant in enum jakarta.enterprise.inject.spi.SessionBeanType
A singleton (jakarta.ejb.Singleton) session bean
-
SingletonLiteral - Class in jakarta.enterprise.inject.literal
+
SingletonLiteral - Class in jakarta.enterprise.inject.literal
Supports inline instantiation of the Singleton annotation.
-
SingletonLiteral() - Constructor for class jakarta.enterprise.inject.literal.SingletonLiteral
+
SingletonLiteral() - Constructor for class jakarta.enterprise.inject.literal.SingletonLiteral
 
-
SkipIfPortableExtensionPresent - Annotation Type in jakarta.enterprise.inject.build.compatible.spi
+
SkipIfPortableExtensionPresent - Annotation Type in jakarta.enterprise.inject.build.compatible.spi
If a build compatible extension is annotated @SkipIfPortableExtensionPresent, it is ignored when the CDI container can execute portable extensions and determines that a portable extension of given class is present.
-
Specializes - Annotation Type in jakarta.enterprise.inject
+
Specializes - Annotation Type in jakarta.enterprise.inject
Indicates that a bean directly specializes another bean.
-
Specializes.Literal - Class in jakarta.enterprise.inject
+
Specializes.Literal - Class in jakarta.enterprise.inject
Supports inline instantiation of the Specializes annotation.
-
Startup - Class in jakarta.enterprise.event
+
Startup - Class in jakarta.enterprise.event
A CDI event with payload of type Startup and qualifier Any is synchronously fired by CDI container during application initialization.
-
Startup() - Constructor for class jakarta.enterprise.event.Startup
+
Startup() - Constructor for class jakarta.enterprise.event.Startup
 
-
STATEFUL - jakarta.enterprise.inject.spi.SessionBeanType
+
STATEFUL - Enum constant in enum jakarta.enterprise.inject.spi.SessionBeanType
A stateful (jakarta.ejb.Stateful) session bean
-
STATELESS - jakarta.enterprise.inject.spi.SessionBeanType
+
STATELESS - Enum constant in enum jakarta.enterprise.inject.spi.SessionBeanType
A stateless (jakarta.ejb.Stateless) session bean
-
stereotype(ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
stereotype(ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds stereotypeAnnotation to the set of stereotypes of this synthetic bean.
-
stereotype(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
stereotype(Class<? extends Annotation>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds stereotypeAnnotation to the set of stereotypes of this synthetic bean.
-
Stereotype - Annotation Type in jakarta.enterprise.inject
+
Stereotype - Annotation Type in jakarta.enterprise.inject
Specifies that an annotation type is a stereotype.
-
StereotypeInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
+
StereotypeInfo - Interface in jakarta.enterprise.inject.build.compatible.spi
A stereotype.
-
stereotypes() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
stereotypes() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
Returns a collection of this bean's stereotypes.
-
stereotypes(Set<Class<? extends Annotation>>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
stereotypes(Set<Class<? extends Annotation>>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Replace stereotypes on the configured bean
-
stereotypes(Set<Class<? extends Annotation>>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
stereotypes(Set<Class<? extends Annotation>>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Replace stereotypes on the configured bean
-
stream() - Method in interface jakarta.enterprise.inject.Instance
+
stream() - Method in interface jakarta.enterprise.inject.Instance
When called, provides back a Stream of the beans available in this Instance.
-
Synthesis - Annotation Type in jakarta.enterprise.inject.build.compatible.spi
+
Synthesis - Annotation Type in jakarta.enterprise.inject.build.compatible.spi
4th phase of build compatible extension execution.
-
SyntheticBeanBuilder<T> - Interface in jakarta.enterprise.inject.build.compatible.spi
+
SyntheticBeanBuilder<T> - Interface in jakarta.enterprise.inject.build.compatible.spi
Builder for synthetic beans.
-
SyntheticBeanCreator<T> - Interface in jakarta.enterprise.inject.build.compatible.spi
+
SyntheticBeanCreator<T> - Interface in jakarta.enterprise.inject.build.compatible.spi
Creation function for a synthetic bean defined by SyntheticBeanBuilder.
-
SyntheticBeanDisposer<T> - Interface in jakarta.enterprise.inject.build.compatible.spi
+
SyntheticBeanDisposer<T> - Interface in jakarta.enterprise.inject.build.compatible.spi
Destruction function for a synthetic bean defined by SyntheticBeanBuilder.
-
SyntheticComponents - Interface in jakarta.enterprise.inject.build.compatible.spi
+
SyntheticComponents - Interface in jakarta.enterprise.inject.build.compatible.spi
Allows registering synthetic beans and observers.
-
SyntheticObserver<T> - Interface in jakarta.enterprise.inject.build.compatible.spi
+
SyntheticObserver<T> - Interface in jakarta.enterprise.inject.build.compatible.spi
The event notification function for a synthetic observer defined by SyntheticObserverBuilder.
-
SyntheticObserverBuilder<T> - Interface in jakarta.enterprise.inject.build.compatible.spi
+
SyntheticObserverBuilder<T> - Interface in jakarta.enterprise.inject.build.compatible.spi
Builder for synthetic observers.
- - - -

T

-
-
toString() - Method in class jakarta.enterprise.util.AnnotationLiteral
+

T

+
+
toString() - Method in class jakarta.enterprise.util.AnnotationLiteral
 
-
toString() - Method in class jakarta.enterprise.util.TypeLiteral
+
toString() - Method in class jakarta.enterprise.util.TypeLiteral
 
-
transactionPhase() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
+
transactionPhase() - Method in interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo
Returns the transaction phase of this transactional observer.
-
transactionPhase(TransactionPhase) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
transactionPhase(TransactionPhase) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Sets the TransactionPhase during which this synthetic observer should be notified.
-
transactionPhase(TransactionPhase) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
+
transactionPhase(TransactionPhase) - Method in interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator
Set the TransactionPhase for the observer to build
-
TransactionPhase - Enum in jakarta.enterprise.event
+
TransactionPhase - Enum in jakarta.enterprise.event
Distinguishes the various kinds of transactional observer methods from regular observer methods which are notified immediately.
-
transientField(boolean) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
+
transientField(boolean) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
Change the transient status of the built InjectionPoint.
-
TransientReference - Annotation Type in jakarta.enterprise.inject
+
TransientReference - Annotation Type in jakarta.enterprise.inject
- If a parameter annotated with @TransientReference resolves to a dependent scoped bean, then the bean will be + If a parameter annotated with @TransientReference resolves to a dependent scoped bean, then the bean will + be destroyed after the invocation completes.
-
TransientReference.Literal - Class in jakarta.enterprise.inject
+
TransientReference.Literal - Class in jakarta.enterprise.inject
Supports inline instantiation of the TransientReference annotation.
-
type() - Method in interface jakarta.enterprise.inject.build.compatible.spi.InjectionPointInfo
+
type() - Method in interface jakarta.enterprise.inject.build.compatible.spi.InjectionPointInfo
-
Returns the type of this injection point.
+
Returns the type of this injection point.
-
type(ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
type(ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds type to the set of bean types of this synthetic bean.
-
type(Type) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
type(Type) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds type to the set of bean types of this synthetic bean.
-
type(Class<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
type(Class<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds type to the set of bean types of this synthetic bean.
-
type(Type) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
+
type(Type) - Method in interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator
-
Set the required Type (that will be used during typesafe resolution) +
Set the required Type (that will be used during typesafe resolution) of the InjectionPoint to build.
-
Typed - Annotation Type in jakarta.enterprise.inject
+
Typed - Annotation Type in jakarta.enterprise.inject
Restricts the bean types of a bean.
-
Typed.Literal - Class in jakarta.enterprise.inject
+
Typed.Literal - Class in jakarta.enterprise.inject
Supports inline instantiation of the Typed annotation.
-
TypeLiteral<T> - Class in jakarta.enterprise.util
+
TypeLiteral<T> - Class in jakarta.enterprise.util
Supports inline instantiation of objects that represent parameterized types with actual type parameters.
-
TypeLiteral() - Constructor for class jakarta.enterprise.util.TypeLiteral
-
 
-
types() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
TypeLiteral() - Constructor for class jakarta.enterprise.util.TypeLiteral
-
Returns a collection of all types of this bean.
+
The literal constructor, only for subclasses.
-
types() - Method in annotation type jakarta.enterprise.inject.build.compatible.spi.Enhancement
+
types() - Method in interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo
+
+
Returns a collection of all types of this bean.
+
+
types() - Element in annotation type jakarta.enterprise.inject.build.compatible.spi.Enhancement
Defines the set of expected types.
-
types() - Method in annotation type jakarta.enterprise.inject.build.compatible.spi.Registration
+
types() - Element in annotation type jakarta.enterprise.inject.build.compatible.spi.Registration
Defines the set of expected types.
-
types(Type...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
types(Type...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Replace bean types
-
types(Type...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
types(Type...) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Replace bean types
-
types(Set<Type>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
+
types(Set<Type>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator
Replace bean types
-
types(Set<Type>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
+
types(Set<Type>) - Method in interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator
Replace bean types
-
Types - Interface in jakarta.enterprise.inject.build.compatible.spi
+
Types - Interface in jakarta.enterprise.inject.build.compatible.spi
-
Factory for types.
+
Factory for types.
- - - -

U

-
-
Unmanaged<T> - Class in jakarta.enterprise.inject.spi
+

U

+
+
Unmanaged<T> - Class in jakarta.enterprise.inject.spi
Helper class for injecting and calling lifecycle callbacks unmanaged instances for use by framework and library integrators.
-
Unmanaged(BeanManager, Class<T>) - Constructor for class jakarta.enterprise.inject.spi.Unmanaged
+
Unmanaged(BeanManager, Class<T>) - Constructor for class jakarta.enterprise.inject.spi.Unmanaged
Create an injector for the given class
-
Unmanaged(Class<T>) - Constructor for class jakarta.enterprise.inject.spi.Unmanaged
+
Unmanaged(Class<T>) - Constructor for class jakarta.enterprise.inject.spi.Unmanaged
Create an injector for the given class, using the current bean manager
-
Unmanaged.UnmanagedInstance<T> - Class in jakarta.enterprise.inject.spi
+
Unmanaged.UnmanagedInstance<T> - Class in jakarta.enterprise.inject.spi
Represents a non-contextual instance.
-
UnproxyableResolutionException - Exception in jakarta.enterprise.inject
+
UnproxyableResolutionException - Exception in jakarta.enterprise.inject
Indicates that a contextual reference for a bean with a normal scope and a certain bean type cannot be obtained because the bean type cannot be proxied by the container.
-
UnproxyableResolutionException() - Constructor for exception jakarta.enterprise.inject.UnproxyableResolutionException
-
 
-
UnproxyableResolutionException(String) - Constructor for exception jakarta.enterprise.inject.UnproxyableResolutionException
-
 
-
UnproxyableResolutionException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.UnproxyableResolutionException
-
 
-
UnproxyableResolutionException(Throwable) - Constructor for exception jakarta.enterprise.inject.UnproxyableResolutionException
-
 
-
UnsatisfiedResolutionException - Exception in jakarta.enterprise.inject
+
UnproxyableResolutionException() - Constructor for exception jakarta.enterprise.inject.UnproxyableResolutionException
+
+
Creates the exception with no detail message or cause.
+
+
UnproxyableResolutionException(String) - Constructor for exception jakarta.enterprise.inject.UnproxyableResolutionException
+
+
Creates the exception with given detail message.
+
+
UnproxyableResolutionException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.UnproxyableResolutionException
+
+
Creates the exception with given detail message and cause.
+
+
UnproxyableResolutionException(Throwable) - Constructor for exception jakarta.enterprise.inject.UnproxyableResolutionException
+
+
Creates the exception with given cause.
+
+
UnsatisfiedResolutionException - Exception in jakarta.enterprise.inject
Indicates that no bean matches a certain combination of required type and required qualifiers and is eligible for injection into a certain class.
-
UnsatisfiedResolutionException() - Constructor for exception jakarta.enterprise.inject.UnsatisfiedResolutionException
-
 
-
UnsatisfiedResolutionException(String) - Constructor for exception jakarta.enterprise.inject.UnsatisfiedResolutionException
-
 
-
UnsatisfiedResolutionException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.UnsatisfiedResolutionException
-
 
-
UnsatisfiedResolutionException(Throwable) - Constructor for exception jakarta.enterprise.inject.UnsatisfiedResolutionException
-
 
+
UnsatisfiedResolutionException() - Constructor for exception jakarta.enterprise.inject.UnsatisfiedResolutionException
+
+
Creates the exception with no detail message or cause.
+
+
UnsatisfiedResolutionException(String) - Constructor for exception jakarta.enterprise.inject.UnsatisfiedResolutionException
+
+
Creates the exception with given detail message.
+
+
UnsatisfiedResolutionException(String, Throwable) - Constructor for exception jakarta.enterprise.inject.UnsatisfiedResolutionException
+
+
Creates the exception with given detail message and cause.
+
+
UnsatisfiedResolutionException(Throwable) - Constructor for exception jakarta.enterprise.inject.UnsatisfiedResolutionException
+
+
Creates the exception with given cause.
+
- - - -

V

-
-
validate(InjectionPoint) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+

V

+
+
validate(InjectionPoint) - Method in interface jakarta.enterprise.inject.spi.BeanManager
Validate a certain injection point.
-
Validation - Annotation Type in jakarta.enterprise.inject.build.compatible.spi
+
Validation - Annotation Type in jakarta.enterprise.inject.build.compatible.spi
5th phase of build compatible extension execution.
-
value() - Method in class jakarta.enterprise.context.BeforeDestroyed.Literal
+
value() - Method in class jakarta.enterprise.context.BeforeDestroyed.Literal
 
-
value() - Method in annotation type jakarta.enterprise.context.BeforeDestroyed
+
value() - Element in annotation type jakarta.enterprise.context.BeforeDestroyed
The scope for which to observe destruction
-
value() - Method in class jakarta.enterprise.context.Destroyed.Literal
+
value() - Method in class jakarta.enterprise.context.Destroyed.Literal
 
-
value() - Method in annotation type jakarta.enterprise.context.Destroyed
+
value() - Element in annotation type jakarta.enterprise.context.Destroyed
The scope for which to observe destruction
-
value() - Method in class jakarta.enterprise.context.Initialized.Literal
+
value() - Method in class jakarta.enterprise.context.Initialized.Literal
 
-
value() - Method in annotation type jakarta.enterprise.context.Initialized
+
value() - Element in annotation type jakarta.enterprise.context.Initialized
The scope for which to observe initialization
-
value() - Method in annotation type jakarta.enterprise.inject.build.compatible.spi.SkipIfPortableExtensionPresent
+
value() - Element in annotation type jakarta.enterprise.inject.build.compatible.spi.SkipIfPortableExtensionPresent
A class implementing Extension that is expected to mirror the functionality of the annotated build compatible extension.
-
value() - Method in class jakarta.enterprise.inject.literal.NamedLiteral
-
 
-
value() - Method in annotation type jakarta.enterprise.inject.spi.WithAnnotations
+
value() - Method in class jakarta.enterprise.inject.literal.NamedLiteral
 
-
value() - Method in class jakarta.enterprise.inject.Typed.Literal
+
value() - Element in annotation type jakarta.enterprise.inject.spi.WithAnnotations
+
+
The annotation types that must be present on the AnnotatedType + for the ProcessAnnotatedType observer to be notified.
+
+
value() - Method in class jakarta.enterprise.inject.Typed.Literal
 
-
value() - Method in annotation type jakarta.enterprise.inject.Typed
+
value() - Element in annotation type jakarta.enterprise.inject.Typed
Selects the bean types of the bean.
-
value(boolean) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(boolean) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a boolean-valued annotation member called value.
-
value(boolean[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(boolean[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a boolean array-valued annotation member called value.
-
value(byte) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(byte) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a byte-valued annotation member called value.
-
value(byte[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(byte[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a byte array-valued annotation member called value.
-
value(char) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(char) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a char-valued annotation member called value.
-
value(char[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(char[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a char array-valued annotation member called value.
-
value(double) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(double) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a double-valued annotation member called value.
-
value(double[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(double[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a double array-valued annotation member called value.
-
value(float) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(float) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a float-valued annotation member called value.
-
value(float[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(float[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a float array-valued annotation member called value.
-
value(int) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(int) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an int-valued annotation member called value.
-
value(int[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(int[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an int array-valued annotation member called value.
-
value(long) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(long) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a long-valued annotation member called value.
-
value(long[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(long[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a long array-valued annotation member called value.
-
value(short) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(short) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a short-valued annotation member called value.
-
value(short[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(short[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a short array-valued annotation member called value.
-
value(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an annotation-valued annotation member called value.
-
value(AnnotationInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(AnnotationInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an annotation array-valued annotation member called value.
-
value(AnnotationMember) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(AnnotationMember) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an annotation member called value, whose value is given value.
-
value(ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a class-valued annotation member called value.
-
value(ClassInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(ClassInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a class array-valued annotation member called value.
-
value(ClassInfo, String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(ClassInfo, String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an enum-valued annotation member called value.
-
value(ClassInfo, String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(ClassInfo, String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an enum array-valued annotation member called value.
-
value(Type) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(Type) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a class-valued annotation member called value.
-
value(Type[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(Type[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a class array-valued annotation member called value.
-
value(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an annotation-valued annotation member called value.
-
value(Annotation[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(Annotation[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an annotation array-valued annotation member called value.
-
value(Class<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(Class<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a class-valued annotation member called value.
-
value(Class<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(Class<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a class array-valued annotation member called value.
-
value(Class<? extends Enum<?>>, String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(Class<? extends Enum<?>>, String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an enum-valued annotation member called value.
-
value(Class<? extends Enum<?>>, String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(Class<? extends Enum<?>>, String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an enum array-valued annotation member called value.
-
value(Enum<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(Enum<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an enum-valued annotation member called value.
-
value(Enum<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(Enum<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds an enum array-valued annotation member called value.
-
value(String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a String-valued annotation member called value.
-
value(String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
+
value(String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder
Adds a String array-valued annotation member called value.
-
valueOf(String) - Static method in enum jakarta.enterprise.event.Reception
+
valueOf(String) - Static method in enum jakarta.enterprise.event.Reception
Returns the enum constant of this type with the specified name.
-
valueOf(String) - Static method in enum jakarta.enterprise.event.TransactionPhase
+
valueOf(String) - Static method in enum jakarta.enterprise.event.TransactionPhase
Returns the enum constant of this type with the specified name.
-
valueOf(String) - Static method in enum jakarta.enterprise.inject.spi.InterceptionType
+
valueOf(String) - Static method in enum jakarta.enterprise.inject.spi.InterceptionType
Returns the enum constant of this type with the specified name.
-
valueOf(String) - Static method in enum jakarta.enterprise.inject.spi.SessionBeanType
+
valueOf(String) - Static method in enum jakarta.enterprise.inject.spi.SessionBeanType
Returns the enum constant of this type with the specified name.
-
values() - Static method in enum jakarta.enterprise.event.Reception
+
values() - Static method in enum jakarta.enterprise.event.Reception
Returns an array containing the constants of this enum type, in the order they are declared.
-
values() - Static method in enum jakarta.enterprise.event.TransactionPhase
+
values() - Static method in enum jakarta.enterprise.event.TransactionPhase
Returns an array containing the constants of this enum type, in the order they are declared.
-
values() - Static method in enum jakarta.enterprise.inject.spi.InterceptionType
+
values() - Static method in enum jakarta.enterprise.inject.spi.InterceptionType
Returns an array containing the constants of this enum type, in the order they are declared.
-
values() - Static method in enum jakarta.enterprise.inject.spi.SessionBeanType
+
values() - Static method in enum jakarta.enterprise.inject.spi.SessionBeanType
Returns an array containing the constants of this enum type, in the order they are declared.
-
veto() - Method in interface jakarta.enterprise.inject.spi.ProcessAnnotatedType
+
veto() - Method in interface jakarta.enterprise.inject.spi.ProcessAnnotatedType
Forces the container to ignore this type.
-
veto() - Method in interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
+
veto() - Method in interface jakarta.enterprise.inject.spi.ProcessBeanAttributes
Forces the container to ignore the bean.
-
veto() - Method in interface jakarta.enterprise.inject.spi.ProcessObserverMethod
+
veto() - Method in interface jakarta.enterprise.inject.spi.ProcessObserverMethod
Forces the container to ignore the observer method.
-
Vetoed - Annotation Type in jakarta.enterprise.inject
+
Vetoed - Annotation Type in jakarta.enterprise.inject
Veto the processing of the class.
-
Vetoed.Literal - Class in jakarta.enterprise.inject
+
Vetoed.Literal - Class in jakarta.enterprise.inject
Supports inline instantiation of the Vetoed annotation.
- - - -

W

-
-
warn(String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
+

W

+
+
warn(String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
Add a generic warning that is not related to any particular element, or that information is not known.
-
warn(String, BeanInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
+
warn(String, BeanInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
Add a warning which is related to given BeanInfo.
-
warn(String, ObserverInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
+
warn(String, ObserverInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
Add a warning which is related to given ObserverInfo.
-
warn(String, AnnotationTarget) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
+
warn(String, AnnotationTarget) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Messages
-
Add a warning which is related to given AnnotationTarget (which is most likely - a DeclarationInfo).
+
Add a warning which is related to given AnnotationTarget (which is most likely + a DeclarationInfo).
-
wildcardUnbounded() - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
+
wildcardUnbounded() - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
-
Returns a WildcardType that represents an equivalent of ?.
+
Returns a WildcardType that represents an equivalent of ?.
-
wildcardWithLowerBound(Type) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
+
wildcardWithLowerBound(Type) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
-
Returns a WildcardType that represents an equivalent of ? super lowerBound.
+
Returns a WildcardType that represents an equivalent of ? super lowerBound.
-
wildcardWithUpperBound(Type) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
+
wildcardWithUpperBound(Type) - Method in interface jakarta.enterprise.inject.build.compatible.spi.Types
-
Returns a WildcardType that represents an equivalent of ? extends upperBound.
+
Returns a WildcardType that represents an equivalent of ? extends upperBound.
-
withAnnotations() - Method in annotation type jakarta.enterprise.inject.build.compatible.spi.Enhancement
+
withAnnotations() - Element in annotation type jakarta.enterprise.inject.build.compatible.spi.Enhancement
Narrows down the set of expected types, defined by types and withSubtypes, to types that use any of given annotations.
-
WithAnnotations - Annotation Type in jakarta.enterprise.inject.spi
+
WithAnnotations - Annotation Type in jakarta.enterprise.inject.spi
WithAnnotations may be applied to any portable extension observer method with an event parameter type of ProcessAnnotatedType to filter the events delivered.
-
withParam(String, boolean) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withArgumentLookup(int) - Method in interface jakarta.enterprise.invoke.InvokerBuilder
+
+
Enables lookup of the argument on given position.
+
+
withInstanceLookup() - Method in interface jakarta.enterprise.invoke.InvokerBuilder
+
+
Enables lookup of the target bean instance.
+
+
withParam(String, boolean) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds a boolean-valued parameter to the parameter map.
-
withParam(String, boolean) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, boolean) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds a boolean-valued parameter to the parameter map.
-
withParam(String, boolean[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, boolean[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds a boolean array-valued parameter to the parameter map.
-
withParam(String, boolean[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, boolean[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds a boolean array-valued parameter to the parameter map.
-
withParam(String, double) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, double) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds a double-valued parameter to the parameter map.
-
withParam(String, double) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, double) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds a double-valued parameter to the parameter map.
-
withParam(String, double[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, double[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds a double array-valued parameter to the parameter map.
-
withParam(String, double[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, double[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds a double array-valued parameter to the parameter map.
-
withParam(String, int) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, int) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds an int-valued parameter to the parameter map.
-
withParam(String, int) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, int) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds an int-valued parameter to the parameter map.
-
withParam(String, int[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, int[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds an int array-valued parameter to the parameter map.
-
withParam(String, int[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, int[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds an int array-valued parameter to the parameter map.
-
withParam(String, long) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, long) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds a long-valued parameter to the parameter map.
-
withParam(String, long) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, long) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds a long-valued parameter to the parameter map.
-
withParam(String, long[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, long[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds a long array-valued parameter to the parameter map.
-
withParam(String, long[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, long[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds a long array-valued parameter to the parameter map.
-
withParam(String, InvokerInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, InvokerInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds an invoker-valued parameter to the parameter map.
-
withParam(String, InvokerInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, InvokerInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds an invoker-valued parameter to the parameter map.
-
withParam(String, InvokerInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, InvokerInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds an invoker array-valued parameter to the parameter map.
-
withParam(String, InvokerInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, InvokerInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds an invoker array-valued parameter to the parameter map.
-
withParam(String, AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds an annotation-valued parameter to the parameter map.
-
withParam(String, AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, AnnotationInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds an annotation-valued parameter to the parameter map.
-
withParam(String, AnnotationInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, AnnotationInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds an annotation array-valued parameter to the parameter map.
-
withParam(String, AnnotationInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, AnnotationInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds an annotation array-valued parameter to the parameter map.
-
withParam(String, ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds a Class-valued parameter to the parameter map.
-
withParam(String, ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, ClassInfo) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds a Class-valued parameter to the parameter map.
-
withParam(String, ClassInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, ClassInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds a Class array-valued parameter to the parameter map.
-
withParam(String, ClassInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, ClassInfo[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds a Class array-valued parameter to the parameter map.
-
withParam(String, Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds an annotation-valued parameter to the parameter map.
-
withParam(String, Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, Annotation) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds an annotation-valued parameter to the parameter map.
-
withParam(String, Annotation[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, Annotation[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds an annotation array-valued parameter to the parameter map.
-
withParam(String, Annotation[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, Annotation[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds an annotation array-valued parameter to the parameter map.
-
withParam(String, Class<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, Class<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds a Class-valued parameter to the parameter map.
-
withParam(String, Class<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, Class<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds a Class-valued parameter to the parameter map.
-
withParam(String, Class<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, Class<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds a Class array-valued parameter to the parameter map.
-
withParam(String, Class<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, Class<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds a Class array-valued parameter to the parameter map.
-
withParam(String, Enum<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, Enum<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds an enum-valued parameter to the parameter map.
-
withParam(String, Enum<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, Enum<?>) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds an enum-valued parameter to the parameter map.
-
withParam(String, Enum<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, Enum<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds an enum array-valued parameter to the parameter map.
-
withParam(String, Enum<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, Enum<?>[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds an enum array-valued parameter to the parameter map.
-
withParam(String, String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds a String-valued parameter to the parameter map.
-
withParam(String, String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, String) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds a String-valued parameter to the parameter map.
-
withParam(String, String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
+
withParam(String, String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder
Adds a String array-valued parameter to the parameter map.
-
withParam(String, String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
+
withParam(String, String[]) - Method in interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder
Adds a String array-valued parameter to the parameter map.
-
withSubtypes() - Method in annotation type jakarta.enterprise.inject.build.compatible.spi.Enhancement
+
withSubtypes() - Element in annotation type jakarta.enterprise.inject.build.compatible.spi.Enhancement
If true, the set of expected types includes all direct and indirect subtypes of given types.
-
wrapExpressionFactory(ExpressionFactory) - Method in interface jakarta.enterprise.inject.spi.BeanManager
+
wrapExpressionFactory(ExpressionFactory) - Method in interface jakarta.enterprise.inject.spi.BeanManager
-
Deprecated, for removal: This API element is subject to removal in a future version. -
use ELAwareBeanManager, this method will be removed in CDI 5.0
+
Deprecated, for removal: This API element is subject to removal in a future version. +
use ELAwareBeanManager, this method will be removed in CDI 5.0
-A B C D E F G H I J L M N O P Q R S T U V W 
All Classes All Packages - +A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form - - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/index.html b/cdi/4.1/apidocs/index.html index 4280620bce..3fabe1b39a 100644 --- a/cdi/4.1/apidocs/index.html +++ b/cdi/4.1/apidocs/index.html @@ -1,51 +1,34 @@ - - + Overview (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ +

Jakarta Contexts and Dependency Injection API

-
-
Version: 4.1.0-M1, 2023-11-30T18:10:05Z +
Version: 4.1.0, 2024-03-01T02:29:13Z

Contexts and Dependency Injection (CDI) defines a set of complementary services that help improve the structure of application @@ -151,71 +105,23 @@

Jakarta Contexts and Dependency Injection API

Jakarta EE resources. We refer to these objects in general terms as beans and to instances of beans that are bound to contexts as contextual instances.

+
+
Modules
+
+
Module
+
Description
+ +
+
The jakarta.cdi module; defines the CDI API exported packages, dependencies and services.
+
-
- - - - - - - - - - - - -
Modules 
ModuleDescription
jakarta.cdi 
- - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/Decorator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/Decorator.html index 13bcc0a85e..fbd68acedc 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/Decorator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/Decorator.html @@ -1,218 +1,117 @@ - - + Decorator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ - +
+
-
Module jakarta.cdi
- -

Annotation Type Decorator

+
Module jakarta.cdi
+ +

Annotation Type Decorator

-
-
-

Specifies that a class is a decorator. May be applied to a managed bean class.

- +
- @Decorator 
+ @Decorator
  class TimestampLogger implements Logger { ... }
  
- +

Decorators of a session bean must comply with the bean provider programming restrictions defined by the EJB specification. Decorators of a stateful session bean must comply with the rules for instance passivation and conversational state defined by the EJB specification.

-

CDI Lite implementations are not required to provide support for decorators.

-
-
Author:
+

+ CDI Lite implementations are not required to provide support for decorators. +

+
+
Author:
Gavin King, Pete Muir
-
See Also:
-
Delegate identifies the delegate injection point of a decorator.
-
- +
See Also:
+
+ -
-
- + +
+ + -
- -
- - - - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/Delegate.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/Delegate.html index c07bf7d15b..fb5488c13c 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/Delegate.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/Delegate.html @@ -1,171 +1,123 @@ - - + Delegate (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+
+ +
- +
+
-
Module jakarta.cdi
- -

Annotation Type Delegate

+
Module jakarta.cdi
+ +

Annotation Type Delegate

-
-
-
    -
  • +

    -
    @Target({FIELD,PARAMETER})
    -@Retention(RUNTIME)
    -@Documented
    -public @interface Delegate
    +
    @Target({FIELD,PARAMETER}) +@Retention(RUNTIME) +@Documented +public @interface Delegate

    Identifies the delegate injection point of a decorator. May be applied to a field, bean constructor parameter or initializer method parameter of a decorator bean class.

    - +
    - @Decorator 
    - class TimestampLogger implements Logger { 
    -    @Inject @Delegate @Any Logger logger; 
    -    ... 
    + @Decorator
    + class TimestampLogger implements Logger {
    +    @Inject @Delegate @Any Logger logger;
    +    ...
      }
      
    - +
    - @Decorator 
    - class TimestampLogger implements Logger { 
    + @Decorator
    + class TimestampLogger implements Logger {
         private Logger logger;
    -    
    +
         @Inject
    -    public TimestampLogger(@Delegate @Debug Logger logger) { 
    -       this.logger=logger; 
    -    } 
    -    ... 
    +    public TimestampLogger(@Delegate @Debug Logger logger) {
    +       this.logger=logger;
    +    }
    +    ...
      }
      
    - +

    A decorator must have exactly one delegate injection point. The delegate injection point must be an injected field, initializer method parameter or bean constructor method parameter.

    - +

    The container injects a delegate object to the delegate injection point. The delegate object implements the delegate type and delegates method invocations along the decorator stack. When the container calls a decorator during business method interception, the decorator may invoke any method of the delegate object. If a decorator invokes the delegate object at any - other time, the invoked method throws an IllegalStateException. + other time, the invoked method throws an IllegalStateException.

    - +
    - @Decorator 
    - class TimestampLogger implements Logger { 
    -    @Inject @Delegate @Any Logger logger; 
    -    
    + @Decorator
    + class TimestampLogger implements Logger {
    +    @Inject @Delegate @Any Logger logger;
    +
         void log(String message) {
            logger.log( timestamp() + ": " + message );
         }
    @@ -173,80 +125,27 @@ 

    Annotation Type Delegate

    }
    -

    CDI Lite implementations are not required to provide support for decorators.

    -
    -
    Author:
    +

    + CDI Lite implementations are not required to provide support for decorators. +

+
+
Author:
Gavin King, Pete Muir
-
See Also:
-
Decorator specifies that a class is a decorator.
-
- +
See Also:
+
+ -
-
- + +
+ + -
- -
- - - - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/class-use/Decorator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/class-use/Decorator.html index 05c3118fdf..b287b0858c 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/class-use/Decorator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/class-use/Decorator.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.decorator.Decorator (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.decorator.Decorator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ +
-

Uses of Class
jakarta.decorator.Decorator

+

Uses of Annotation Type
jakarta.decorator.Decorator

-
No usage of jakarta.decorator.Decorator
-
+No usage of jakarta.decorator.Decorator
- - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/class-use/Delegate.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/class-use/Delegate.html index 20f389f190..629abf15c6 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/class-use/Delegate.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/class-use/Delegate.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.decorator.Delegate (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.decorator.Delegate (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ +
-

Uses of Class
jakarta.decorator.Delegate

+

Uses of Annotation Type
jakarta.decorator.Delegate

-
No usage of jakarta.decorator.Delegate
-
+No usage of jakarta.decorator.Delegate
- - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/package-summary.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/package-summary.html index 04bf64bd2b..b6fa238b8c 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/package-summary.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/package-summary.html @@ -1,262 +1,206 @@ - - + jakarta.decorator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ +
-
Module jakarta.cdi
-

Package jakarta.decorator

+
Module jakarta.cdi
+

Package jakarta.decorator

-
-
- - -

Annotations relating to decorators.

- -

A decorator implements one or more bean types and - intercepts business method invocations of - beans which - implement those bean types. These bean types are called - decorated types.

- -

A decorator is a managed bean annotated @Decorator.

- -

Decorators are superficially similar to interceptors, - but because they directly implement operations with business - semantics, they are able to implement business logic and, - conversely, unable to implement the cross-cutting concerns - for which interceptors are optimized. Decorators are called - after interceptors.

- +
+
package jakarta.decorator
+
+

+ Annotations relating to decorators. +

+ +

+ A decorator implements one or more bean types and + intercepts business method invocations of + beans which + implement those bean types. These bean types are called + decorated types. +

+ +

+ A decorator is a managed bean annotated @Decorator. +

+ +

+ Decorators are superficially similar to interceptors, + but because they directly implement operations with business + semantics, they are able to implement business logic and, + conversely, unable to implement the cross-cutting concerns + for which interceptors are optimized. Decorators are called + after interceptors. +

+

Decorated types

- -

The set of decorated types of a decorator includes all - bean types of the managed bean that are Java interfaces, - except for Serializable. The decorator bean - class and its superclasses are not decorated types of the - decorator. The decorator class may be abstract.

- -

A decorator intercepts every method:

+ +

+ The set of decorated types of a decorator includes all + bean types of the managed bean that are Java interfaces, + except for Serializable. The decorator bean + class and its superclasses are not decorated types of the + decorator. The decorator class may be abstract. +

+ +

+ A decorator intercepts every method: +

  • declared by a decorated type of the decorator
  • that is implemented by the bean class of the decorator.
- -

A decorator may be an abstract class, and is not required to - implement every method of every decorated type.

- + +

+ A decorator may be an abstract class, and is not required to + implement every method of every decorated type. +

+

Delegate injection points

- -

All decorators have a - delegate injection point. - A delegate injection point is an injection point of the bean - class annotated @Delegate.

- -

The type of the delegate injection point must implement or - extend every decorated type. A decorator is not required to - implement the type of the delegate injection point.

- + +

+ All decorators have a + delegate injection point. + A delegate injection point is an injection point of the bean + class annotated @Delegate. +

+ +

+ The type of the delegate injection point must implement or + extend every decorated type. A decorator is not required to + implement the type of the delegate injection point. +

+

Enabled decorators

- -

By default, a bean archive has no enabled decorators. A - decorator must be explicitly enabled by listing its bean class + +

+ By default, a bean archive has no enabled decorators. A + decorator must be explicitly enabled by listing its bean class under the <decorators> element of the beans.xml file of the bean archive. The order of the - decorator declarations determines the decorator ordering. - Decorators which occur earlier in the list are called first.

- -

A decorator is bound to a bean if:

- + decorator declarations determines the decorator ordering. + Decorators which occur earlier in the list are called first. +

+ +

+ A decorator is bound to a bean if: +

+ - -

If a managed bean class is declared final, it may not have - decorators. If a managed bean has a non-static, non-private, + +

+ If a managed bean class is declared final, it may not have + decorators. If a managed bean has a non-static, non-private, final method, it may not have any decorator which implements - that method.

- -

A decorator instance is a - dependent object - of the object it decorates.

-
-
See Also:
-
jakarta.enterprise.inject, -Decorator, -Delegate
+ that method. +

+ +

+ A decorator instance is a + dependent object + of the object it decorates. +

+
+
See Also:
+
+ +
-
    -
  • - - - - - - - - - - - - - - - - -
    Annotation Types Summary 
    Annotation TypeDescription
    Decorator +
    +
      +
    • +
      +
      Annotation Types
      +
      +
      Class
      +
      Description
      + +
      Specifies that a class is a decorator.
      -
    Delegate + + +
    Identifies the delegate injection point of a decorator.
    -
    +
+
+
-
+
- - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/package-tree.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/package-tree.html index aeb9e7dfed..29bfb54500 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/package-tree.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/package-tree.html @@ -1,165 +1,75 @@ - - + jakarta.decorator Class Hierarchy (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ +

Hierarchy For Package jakarta.decorator

-Package Hierarchies: +Package Hierarchies:
-
-
+

Annotation Type Hierarchy

    -
  • jakarta.decorator.Decorator (implements java.lang.annotation.Annotation)
  • -
  • jakarta.decorator.Delegate (implements java.lang.annotation.Annotation)
  • +
  • jakarta.decorator.Decorator (implements java.lang.annotation.Annotation)
  • +
  • jakarta.decorator.Delegate (implements java.lang.annotation.Annotation)
-
- - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/package-use.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/package-use.html index dc335ab53a..8df236b8e8 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/package-use.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/decorator/package-use.html @@ -1,153 +1,64 @@ - - + Uses of Package jakarta.decorator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ +

Uses of Package
jakarta.decorator

-
No usage of jakarta.decorator
-
+No usage of jakarta.decorator
- - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ApplicationScoped.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ApplicationScoped.Literal.html index 72cf994533..924291e12f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ApplicationScoped.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ApplicationScoped.Literal.html @@ -1,370 +1,203 @@ - - + ApplicationScoped.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+
+ +
- +
+
-
Module jakarta.cdi
- -

Class ApplicationScoped.Literal

+
Module jakarta.cdi
+ +

Class ApplicationScoped.Literal

-
- -
-
-
-
    -
  • + +
+ +
+ - -
-
    -
  • +
+
+
    -
    -
      -
    • - - -

      Field Detail

      - - - - +
    • +
      +

      Field Details

      +
      - -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          Literal

          -
          public Literal()
        • -
        + +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          Literal

          +
          public Literal()
          +
      - - - +
      + -
      - -
      - - - - - -

      Comments to: cdi-dev@eclipse.org.
      Copyright © 2018,2023 Eclipse Foundation.
      Use is subject to license terms.

      - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ApplicationScoped.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ApplicationScoped.html index 4643edbe13..c25a37fcf9 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ApplicationScoped.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ApplicationScoped.html @@ -1,137 +1,89 @@ - - + ApplicationScoped (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
      +
      +
      + +
      - +
      +
      -
      Module jakarta.cdi
      - -

      Annotation Type ApplicationScoped

      +
      Module jakarta.cdi
      + +

      Annotation Type ApplicationScoped

      -
      -
      -

      Specifies that a bean is application scoped.

      While ApplicationScoped must be associated with the built-in application context required by the specification, - third-party extensions are - allowed to also associate it with their own context. Behavior described below is only related to the built-in application context. + third-party extensions are allowed to also associate it with their own context. Behavior described below is only related to + the built-in application context.

      @@ -139,8 +91,8 @@

      Annotation Type Appl

        -
      • during the service() method of any servlet in the web application, during the doFilter() method of any - servlet filter and when the container calls any ServletContextListener, HttpSessionListener, +
      • during the service() method of any servlet in the web application, during the doFilter() method + of any servlet filter and when the container calls any ServletContextListener, HttpSessionListener, AsyncListener or ServletRequestListener,
      • during any Java EE web service invocation,
      • during any remote method invocation of any EJB, during any asynchronous method invocation of any EJB, during any call to @@ -160,86 +112,48 @@

        Annotation Type Appl

        - An event with qualifier @Initialized(ApplicationScoped.class) is fired when the application context is initialized - and an event with qualifier @Destroyed(ApplicationScoped.class) when the application context is destroyed. - The event payload is: + An event with qualifier @Initialized(ApplicationScoped.class) is fired when the application context is + initialized and an event with qualifier @Destroyed(ApplicationScoped.class) when the application context is + destroyed. The event payload is:

        • the ServletContext if the application is a web application deployed to a Servlet container, or
        • any java.lang.Object for other types of application.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir, Antoine Sabot-Durand
      -
    • -
    +
    +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      Nested Classes
      +
      +
      Modifier and Type
      +
      Class
      +
      Description
      +
      static final class 
      + +
      +
      Supports inline instantiation of the ApplicationScoped annotation.
      - +
      +
    • +
    +
    + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/BeforeDestroyed.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/BeforeDestroyed.Literal.html index b363093cb5..33a1281481 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/BeforeDestroyed.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/BeforeDestroyed.Literal.html @@ -1,420 +1,257 @@ - - + BeforeDestroyed.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class BeforeDestroyed.Literal

    +
    Module jakarta.cdi
    + +

    Class BeforeDestroyed.Literal

    -
    - -
    -
    -
    -
      -
    • + +
+ +
+ - -
-
    -
  • +
+
+
    -
    -
    - -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        of

        -
        public static BeforeDestroyed.Literal of​(java.lang.Class<? extends java.lang.annotation.Annotation> value)
      • -
      - - - -
        -
      • -

        value

        -
        public java.lang.Class<? extends java.lang.annotation.Annotation> value()
        + +
      • +
        +

        Method Details

        +
          +
        • +
          +

          of

          +
          public static BeforeDestroyed.Literal of(Class<? extends Annotation> value)
          +
          Obtain the literal for the provided scope annotation
          +
          +
          Parameters:
          +
          value - the scope annotation
          +
          Returns:
          +
          a new literal value for the provided scope annotation
          +
          +
        • -
        +
      • +
        +

        value

        +
        public Class<? extends Annotation> value()
        +
- - - +
+ -
- -
- - - - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/BeforeDestroyed.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/BeforeDestroyed.html index 01031c15aa..ba6691da28 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/BeforeDestroyed.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/BeforeDestroyed.html @@ -1,267 +1,164 @@ - - + BeforeDestroyed (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ - +
+
-
Module jakarta.cdi
- -

Annotation Type BeforeDestroyed

+
Module jakarta.cdi
+ +

Annotation Type BeforeDestroyed

-
-
-
    -
  • +

    -
    @Qualifier
    -@Target({TYPE,METHOD,PARAMETER,FIELD})
    -@Retention(RUNTIME)
    -@Documented
    -public @interface BeforeDestroyed
    +
    @Qualifier +@Target({TYPE,METHOD,PARAMETER,FIELD}) +@Retention(RUNTIME) +@Documented +public @interface BeforeDestroyed
    An event with this qualifier is fired when a context is about to be destroyed, i.e. before the actual destruction.
    -
    -
    Since:
    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Pete Muir, Martin Kouba
    -
    See Also:
    -
    Initialized, -Destroyed
    -
    -
  • +
    See Also:
    +
    + +
    +
+ +
+
    + +
  • +
    +

    Nested Class Summary

    +
    Nested Classes
    +
    +
    Modifier and Type
    +
    Class
    +
    Description
    +
    static final class 
    + +
    +
    Supports inline instantiation of the BeforeDestroyed qualifier.
    -
    -
      -
    • +
    +
    +
  • -
    -
      -
    • - - -

      Required Element Summary

      - - - - - - - - - - - - -
      Required Elements 
      Modifier and TypeRequired ElementDescription
      java.lang.Class<? extends java.lang.annotation.Annotation>value +
    • +
      +

      Required Element Summary

      +
      Required Elements
      +
      +
      Modifier and Type
      +
      Required Element
      +
      Description
      +
      Class<? extends Annotation>
      + +
      The scope for which to observe destruction
      -
    • -
    • -
    + +
- -
-
    -
  • +
+
+
    -
    -
      -
    • - - -

      Element Detail

      - - - -
        -
      • -

        value

        -
        java.lang.Class<? extends java.lang.annotation.Annotation> value
        +
      • +
        +

        Element Details

        +
          +
        • +
          +

          value

          +
          Class<? extends Annotation> value
          The scope for which to observe destruction
          -
          -
          Returns:
          +
          +
          Returns:
          the scope type class
          -
        • -
        +
- - - +
+ -
- -
- - - - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/BusyConversationException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/BusyConversationException.html index c3c7d4939e..bc9605e582 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/BusyConversationException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/BusyConversationException.html @@ -1,165 +1,100 @@ - - + BusyConversationException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+
+ +
- +
+
-
Module jakarta.cdi
- -

Class BusyConversationException

+
Module jakarta.cdi
+ +

Class BusyConversationException

-
-
    -
  • java.lang.Object
  • -
  • - -
  • -
-
-
    -
  • -
    + +
    +
    All Implemented Interfaces:
    -
    java.io.Serializable
    +
    Serializable

    -
    public class BusyConversationException
    -extends ContextException
    +
    public class BusyConversationException +extends ContextException

    Indicates that the container has rejected a request because a concurrent request is associated with the same conversation context.

    - +

    The container ensures that a long-running conversation may be associated with at most one request at a time, by blocking or rejecting concurrent requests. If the container rejects a request, it must associate the request with a new transient @@ -167,200 +102,126 @@

    Class BusyConversation lifecycle.

    -

    CDI Lite implementations are not required to provide support for conversations.

    -
    -
    Author:
    +

    + CDI Lite implementations are not required to provide support for conversations. +

+
+
Author:
Pete Muir, Gavin King
-
See Also:
-
ConversationScoped, -Serialized Form
-
- +
See Also:
+
+ -
-
-
    -
  • + +
+ +
+ - -
-
    -
  • +
+
+
    -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BusyConversationException

        -
        public BusyConversationException()
        -
      • -
      - - - -
        -
      • -

        BusyConversationException

        -
        public BusyConversationException​(java.lang.String message)
        +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          BusyConversationException

          +
          public BusyConversationException()
          +
          Creates the exception with no detail message or cause.
          +
        • -
        - - - -
          -
        • -

          BusyConversationException

          -
          public BusyConversationException​(java.lang.Throwable cause)
          +
        • +
          +

          BusyConversationException

          +
          public BusyConversationException(String message)
          +
          Creates the exception with given detail message.
          +
          +
          Parameters:
          +
          message - the detail message
          +
          +
        • -
        - - - -
          -
        • -

          BusyConversationException

          -
          public BusyConversationException​(java.lang.String message,
          -                                 java.lang.Throwable cause)
          +
        • +
          +

          BusyConversationException

          +
          public BusyConversationException(Throwable cause)
          +
          Creates the exception with given cause.
          +
          +
          Parameters:
          +
          cause - the cause
          +
          +
        • -
        +
      • +
        +

        BusyConversationException

        +
        public BusyConversationException(String message, + Throwable cause)
        +
        Creates the exception with given detail message and cause.
        +
        +
        Parameters:
        +
        message - the detail message
        +
        cause - the cause
        +
        +
- - - +
+ -
- -
- - - - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ContextException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ContextException.html index cd2248bdc2..459a660669 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ContextException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ContextException.html @@ -1,354 +1,216 @@ - - + ContextException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ - +
+
-
Module jakarta.cdi
- -

Class ContextException

+
Module jakarta.cdi
+ +

Class ContextException

-
-
    -
  • java.lang.Object
  • -
  • -
      -
    • java.lang.Throwable
    • -
    • -
        -
      • java.lang.Exception
      • -
      • -
          -
        • java.lang.RuntimeException
        • -
        • -
            -
          • jakarta.enterprise.context.ContextException
          • -
          -
        • -
        -
      • -
      -
    • -
    -
  • -
-
-
-
-
    -
  • + +
+ +
+ - -
-
    -
  • +
+
+
    -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ContextException

        -
        public ContextException()
        -
      • -
      - - - -
        -
      • -

        ContextException

        -
        public ContextException​(java.lang.String message)
        +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          ContextException

          +
          public ContextException()
          +
          Creates the exception with no detail message or cause.
          +
        • -
        - - - -
          -
        • -

          ContextException

          -
          public ContextException​(java.lang.Throwable cause)
          +
        • +
          +

          ContextException

          +
          public ContextException(String message)
          +
          Creates the exception with given detail message.
          +
          +
          Parameters:
          +
          message - the detail message
          +
          +
        • -
        - - - -
          -
        • -

          ContextException

          -
          public ContextException​(java.lang.String message,
          -                        java.lang.Throwable cause)
          +
        • +
          +

          ContextException

          +
          public ContextException(Throwable cause)
          +
          Creates the exception with given cause.
          +
          +
          Parameters:
          +
          cause - the cause
          +
          +
        • -
        +
      • +
        +

        ContextException

        +
        public ContextException(String message, + Throwable cause)
        +
        Creates the exception with given detail message and cause.
        +
        +
        Parameters:
        +
        message - the detail message
        +
        cause - the cause
        +
        +
- - - +
+ -
- -
- - - - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ContextNotActiveException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ContextNotActiveException.html index 3151e35530..8424a9bbe5 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ContextNotActiveException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ContextNotActiveException.html @@ -1,356 +1,215 @@ - - + ContextNotActiveException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+ - +
+
-
Module jakarta.cdi
- -

Class ContextNotActiveException

+
Module jakarta.cdi
+ +

Class ContextNotActiveException

-
-
    -
  • java.lang.Object
  • -
  • - -
  • -
-
-
-
-
    -
  • + +
+ +
+ - -
-
    -
  • +
+
+
    -
    -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ContextNotActiveException

        -
        public ContextNotActiveException()
        -
      • -
      - - - -
        -
      • -

        ContextNotActiveException

        -
        public ContextNotActiveException​(java.lang.String message)
        +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          ContextNotActiveException

          +
          public ContextNotActiveException()
          +
          Creates the exception with no detail message or cause.
          +
        • -
        - - - -
          -
        • -

          ContextNotActiveException

          -
          public ContextNotActiveException​(java.lang.Throwable cause)
          +
        • +
          +

          ContextNotActiveException

          +
          public ContextNotActiveException(String message)
          +
          Creates the exception with given detail message.
          +
          +
          Parameters:
          +
          message - the detail message
          +
          +
        • -
        - - - -
          -
        • -

          ContextNotActiveException

          -
          public ContextNotActiveException​(java.lang.String message,
          -                                 java.lang.Throwable cause)
          +
        • +
          +

          ContextNotActiveException

          +
          public ContextNotActiveException(Throwable cause)
          +
          Creates the exception with given cause.
          +
          +
          Parameters:
          +
          cause - the cause
          +
          +
        • -
        +
      • +
        +

        ContextNotActiveException

        +
        public ContextNotActiveException(String message, + Throwable cause)
        +
        Creates the exception with given detail message and cause.
        +
        +
        Parameters:
        +
        message - the detail message
        +
        cause - the cause
        +
        +
- - - +
+ -
- -
- - - - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Conversation.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Conversation.html index 7e98482581..42b8c50462 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Conversation.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Conversation.html @@ -1,441 +1,293 @@ - - + Conversation (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+
+ +
- +
+
-
Module jakarta.cdi
- -

Interface Conversation

+
Module jakarta.cdi
+ +

Interface Conversation

-
-
-
    -
  • +

    -
    public interface Conversation
    +
    public interface Conversation

    Allows the application to manage the conversation context by marking the current conversation as transient or long-running, specifying a conversation identifier, or setting the conversation timeout.

    - +

    An instance may be injected:

    - +
      @Inject
      Conversation conversation;
      
    - +

    The conversation timeout is a hint to the container that a conversation should not be destroyed if it has been active within the last given interval in milliseconds.

    -

    CDI Lite implementations are not required to provide support for conversations.

    -
    -
    Author:
    +

    + CDI Lite implementations are not required to provide support for conversations. +

+
+
Author:
Pete Muir, Gavin King
-
See Also:
-
ConversationScoped
-
- +
See Also:
+
+ -
-
-
    -
  • + +
+ +
+
    -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      voidbegin() +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      void
      + +
      Mark the current transient conversation long-running.
      -
    • voidbegin​(java.lang.String id) + +
      void
      + +
      Mark the current transient conversation long-running, with a specified identifier.
      -
      voidend() + +
      void
      +
      end()
      +
      Marks the current long-running conversation transient.
      -
      java.lang.StringgetId() + + + +
      Get the identifier of the current long-running conversation.
      -
      longgetTimeout() + +
      long
      + +
      Get the timeout of the current conversation.
      -
      booleanisTransient() + +
      boolean
      + +
      Determine if the conversation is marked transient or long-running.
      -
      voidsetTimeout​(long milliseconds) + +
      void
      +
      setTimeout(long milliseconds)
      +
      Set the timeout of the current conversation.
      -
      -
    • -
    + + + +
- -
-
    -
  • +
+
+
    -
    -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        begin

        -
        void begin()
        +
      • +
        +

        Method Details

        +
          +
        • +
          +

          begin

          +
          void begin()

          Mark the current transient conversation long-running. A conversation identifier is generated by the container.

          -
          -
          Throws:
          -
          java.lang.IllegalStateException - if the current conversation is already marked long-running.
          +
          +
          Throws:
          +
          IllegalStateException - if the current conversation is already marked long-running.
          +
        • -
        - - - -
          -
        • -

          begin

          -
          void begin​(java.lang.String id)
          +
        • +
          +

          begin

          +
          void begin(String id)

          Mark the current transient conversation long-running, with a specified identifier.

          -
          -
          Parameters:
          +
          +
          Parameters:
          id - conversation id
          -
          Throws:
          -
          java.lang.IllegalStateException - if the current conversation is already marked long-running.
          -
          java.lang.IllegalArgumentException - if a conversation with the specified identifier already exists.
          +
          Throws:
          +
          IllegalStateException - if the current conversation is already marked long-running.
          +
          IllegalArgumentException - if a conversation with the specified identifier already exists.
          +
        • -
        - - - -
          -
        • -

          end

          -
          void end()
          +
        • +
          +

          end

          +
          void end()

          Marks the current long-running conversation transient.

          -
          -
          Throws:
          -
          java.lang.IllegalStateException - if the current conversation is already marked transient.
          +
          +
          Throws:
          +
          IllegalStateException - if the current conversation is already marked transient.
          +
        • -
        - - - -
          -
        • -

          getId

          -
          java.lang.String getId()
          +
        • +
          +

          getId

          +
          String getId()

          Get the identifier of the current long-running conversation.

          -
          -
          Returns:
          +
          +
          Returns:
          the identifier of the current long-running conversation, or a null value if the current conversation is transient.
          +
        • -
        - - - -
          -
        • -

          getTimeout

          -
          long getTimeout()
          +
        • +
          +

          getTimeout

          +
          long getTimeout()

          Get the timeout of the current conversation.

          -
          -
          Returns:
          +
          +
          Returns:
          the current timeout in milliseconds.
          +
        • -
        - - - -
          -
        • -

          setTimeout

          -
          void setTimeout​(long milliseconds)
          +
        • +
          +

          setTimeout

          +
          void setTimeout(long milliseconds)

          Set the timeout of the current conversation.

          -
          -
          Parameters:
          +
          +
          Parameters:
          milliseconds - the new timeout in milliseconds.
          +
        • -
        - - - -
          -
        • -

          isTransient

          -
          boolean isTransient()
          +
        • +
          +

          isTransient

          +
          boolean isTransient()

          Determine if the conversation is marked transient or long-running.

          -
          -
          Returns:
          +
          +
          Returns:
          true if the conversation is marked transient, or falseif it is marked long-running.
          -
        • -
        +
- - - +
+ - - - -

Comments to: cdi-dev@eclipse.org.
Copyright © 2018,2023 Eclipse Foundation.
Use is subject to license terms.

- diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ConversationScoped.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ConversationScoped.Literal.html index 98cd893fa9..ac354fd9e7 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ConversationScoped.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ConversationScoped.Literal.html @@ -1,370 +1,203 @@ - - + ConversationScoped.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
+
+
+ +
- +
+
-
Module jakarta.cdi
- -

Class ConversationScoped.Literal

+
Module jakarta.cdi
+ +

Class ConversationScoped.Literal

-
- -
-
-
-
    -
  • + +
+ +
+ - -
-
    -
  • +
+
+
    -
    -
      -
    • - - -

      Field Detail

      - - - - +
    • +
      +

      Field Details

      +
      - -
      -
        -
      • - - -

        Constructor Detail

        - - - -
          -
        • -

          Literal

          -
          public Literal()
        • -
        + +
      • +
        +

        Constructor Details

        +
          +
        • +
          +

          Literal

          +
          public Literal()
          +
      - - - +
      + -
      - -
      - - - - - -

      Comments to: cdi-dev@eclipse.org.
      Copyright © 2018,2023 Eclipse Foundation.
      Use is subject to license terms.

      - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ConversationScoped.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ConversationScoped.html index c59b9719de..7b995420aa 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ConversationScoped.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/ConversationScoped.html @@ -1,137 +1,89 @@ - - + ConversationScoped (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
      +
      +
      + +
      - +
      +
      -
      Module jakarta.cdi
      - -

      Annotation Type ConversationScoped

      +
      Module jakarta.cdi
      + +

      Annotation Type ConversationScoped

      -
      -
      -

      Specifies that a bean is conversation scoped.

      -

      - While ConversationScoped must be associated with the built-in conversation context required by the specification, - third-party extensions are - allowed to also associate it with their own context. Behavior described below is only related to the built-in conversation context. +

      + While ConversationScoped must be associated with the built-in conversation context required by the + specification, third-party extensions are allowed to also associate it with their own context. Behavior described below is + only related to the built-in conversation context.

      The conversation scope is active: @@ -140,12 +92,13 @@

      Annotation Type Con
    • during all Servlet requests.

    - An event with qualifier @Initialized(ConversationScoped.class) is fired when the conversation context is initialized - and an event with qualifier @Destroyed(ConversationScoped.class) is fired when the conversation is destroyed. - The event payload is: + An event with qualifier @Initialized(ConversationScoped.class) is fired when the conversation context is + initialized and an event with qualifier @Destroyed(ConversationScoped.class) is fired when the conversation is + destroyed. The event payload is:

      -
    • the conversation id if the conversation context is destroyed and is not associated with a current Servlet request, or
    • +
    • the conversation id if the conversation context is destroyed and is not associated with a current Servlet request, + or
    • the ServletRequest if the application is a web application deployed to a Servlet container, or
    • any java.lang.Object for other types of application.
    @@ -159,10 +112,10 @@

    Annotation Type Con
  • Any Servlet request has exactly one associated conversation.
  • The container provides a filter with the name "CDI Conversation Filter", which may be mapped in web.xml, allowing the user alter when the conversation is associated with the servlet request. If this filter is not mapped in any - web.xml in the application, the conversation associated with a Servlet request is determined at the beginning of the - request before calling any service() method of any servlet in the web application, calling the doFilter() - method of any servlet filter in the web application and before the container calls any ServletRequestListener or - AsyncListener in the web application.
  • + web.xml in the application, the conversation associated with a Servlet request is determined at the beginning of + the request before calling any service() method of any servlet in the web application, calling the + doFilter() method of any servlet filter in the web application and before the container calls any + ServletRequestListener or AsyncListener in the web application.

@@ -202,14 +155,14 @@

Annotation Type Con
  • The long-running conversation context associated with a request that renders a JSF view is automatically propagated to any faces request (JSF form submission) that originates from that rendered page.
  • The long-running conversation context associated with a request that results in a JSF redirect (a redirect resulting from - a navigation rule or JSF NavigationHandler) is automatically propagated to the resulting non-faces request, and to any other - subsequent request to the same URL. This is accomplished via use of a request parameter named cid containing the - unique identifier of the conversation.
  • + a navigation rule or JSF NavigationHandler) is automatically propagated to the resulting non-faces request, and + to any other subsequent request to the same URL. This is accomplished via use of a request parameter named cid + containing the unique identifier of the conversation.

    - When no conversation is propagated to a Servlet request, or if a request parameter named conversationPropagation has - the value none the request is associated with a new transient conversation. + When no conversation is propagated to a Servlet request, or if a request parameter named conversationPropagation + has the value none the request is associated with a new transient conversation. All long-running conversations are scoped to a particular HTTP servlet session and may not cross session boundaries. In the following cases, a propagated long-running conversation cannot be restored and re-associated with the request:

    @@ -221,82 +174,50 @@

    Annotation Type Con Servlet request, in order to conserve resources. -

    CDI Lite implementations are not required to provide support for conversations.

    -
    -
    Author:
    +

    + CDI Lite implementations are not required to provide support for conversations. +

    +
    +
    Author:
    Gavin King, Pete Muir, Antoine Sabot-Durand
    -
    See Also:
    -
    Conversation, -NonexistentConversationException, -BusyConversationException
    -
    - +
    See Also:
    +
    + +
    +
    +

    +
    + +
    + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Dependent.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Dependent.Literal.html index ea5e09c890..1f0f6db3b6 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Dependent.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Dependent.Literal.html @@ -1,370 +1,203 @@ - - + Dependent.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class Dependent.Literal

    +
    Module jakarta.cdi
    + +

    Class Dependent.Literal

    -
    - -
    -
    -
    -
      -
    • + +
    + +
    + - -
    -
      -
    • +
    +
    +
      -
      -
        -
      • - - -

        Field Detail

        - - - - +
      • +
        +

        Field Details

        +
          +
        • +
          +

          INSTANCE

          +
          public static final Dependent.Literal INSTANCE
          +
          Default Dependent literal
          +
        - -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            Literal

            -
            public Literal()
          • -
          + +
        • +
          +

          Constructor Details

          +
            +
          • +
            +

            Literal

            +
            public Literal()
            +
        - - - +
        + -
        - -
        - - - - - -

        Comments to: cdi-dev@eclipse.org.
        Copyright © 2018,2023 Eclipse Foundation.
        Use is subject to license terms.

        - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Dependent.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Dependent.html index 1c49b0df88..262743df7b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Dependent.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Dependent.html @@ -1,130 +1,82 @@ - - + Dependent (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
        +
        +
        + +
        - +
        +
        -
        Module jakarta.cdi
        - -

        Annotation Type Dependent

        +
        Module jakarta.cdi
        + +

        Annotation Type Dependent

        -
        -
        -

        Specifies that a bean belongs to the dependent pseudo-scope.

        @@ -149,13 +101,13 @@

        Annotation Type Dependent

        - Every invocation of the Context.get(Contextual, CreationalContext) operation of the - context object for the @Dependent scope returns a new instance of the given bean. + Every invocation of the Context.get(Contextual, CreationalContext) operation of the context object for the + @Dependent scope returns a new instance of the given bean.

        - Every invocation of the Context.get(Contextual) operation of the context object for the - @Dependent scope returns a null value. + Every invocation of the Context.get(Contextual) operation of the context object for the @Dependent scope + returns a null value.

        @@ -163,18 +115,18 @@

        Annotation Type Dependent

        - Many instances of beans with scope @Dependent belong to some other bean or Java EE component class instance and are - called dependent objects. + Many instances of beans with scope @Dependent belong to some other bean or Java EE component class instance and + are called dependent objects.

        • Instances of decorators and interceptors are dependent objects of the bean instance they decorate.
        • -
        • An instance of a bean with scope @Dependent injected into a field, bean constructor or initializer method is a - dependent object of the bean or Java EE component class instance into which it was injected.
        • +
        • An instance of a bean with scope @Dependent injected into a field, bean constructor or initializer method is + a dependent object of the bean or Java EE component class instance into which it was injected.
        • An instance of a bean with scope @Dependent injected into a producer method is a dependent object of the producer method bean instance that is being produced.
        • -
        • An instance of a bean with scope @Dependent obtained by direct invocation of an - Instance is a dependent object of the instance of Instance.
        • +
        • An instance of a bean with scope @Dependent obtained by direct invocation of an Instance is a + dependent object of the instance of Instance.

        @@ -182,77 +134,39 @@

        Annotation Type Dependent@PreDestroy callback completes and after the servlet destroy() method is called.

        -
        -
        Author:
        +
        +
        Author:
        Gavin King, Pete Muir
        -
      • -
      +
      +
      +
        + +
      • +
        +

        Nested Class Summary

        +
        Nested Classes
        +
        +
        Modifier and Type
        +
        Class
        +
        Description
        +
        static final class 
        + +
        +
        Supports inline instantiation of the Dependent annotation.
        - +
        +
      • +
      +
      + -
      - -
      - - - - - -

      Comments to: cdi-dev@eclipse.org.
      Copyright © 2018,2023 Eclipse Foundation.
      Use is subject to license terms.

      - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Destroyed.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Destroyed.Literal.html index 58977603ad..6d660f3970 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Destroyed.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Destroyed.Literal.html @@ -1,422 +1,259 @@ - - + Destroyed.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
      +
      +
      + +
      - +
      +
      -
      Module jakarta.cdi
      - -

      Class Destroyed.Literal

      +
      Module jakarta.cdi
      + +

      Class Destroyed.Literal

      -
      - -
      -
      -
      -
        -
      • + +
    + +
    + - -
    -
      -
    • +
    +
    +
      -
      -
        -
      • - - -

        Field Detail

        - - - - - - - -
          -
        • -

          CONVERSATION

          -
          public static final Destroyed.Literal CONVERSATION
          +
        • +
          +

          Field Details

          +
            +
          • +
            +

            REQUEST

            +
            public static final Destroyed.Literal REQUEST
            +
            Default Destroyed literal for the RequestScoped scope
            +
          • -
          - - - -
            -
          • -

            SESSION

            -
            public static final Destroyed.Literal SESSION
            +
          • +
            +

            CONVERSATION

            +
            public static final Destroyed.Literal CONVERSATION
            +
            Default Destroyed literal for the ConversationScoped scope
            +
          • -
          - - - -
            -
          • -

            APPLICATION

            -
            public static final Destroyed.Literal APPLICATION
            +
          • +
            +

            SESSION

            +
            public static final Destroyed.Literal SESSION
            +
            Default Destroyed literal for the SessionScoped scope
            +
          • -
          +
        • +
          +

          APPLICATION

          +
          public static final Destroyed.Literal APPLICATION
          +
          Default Destroyed literal for the ApplicationScoped scope
          +
      - -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          of

          -
          public static Destroyed.Literal of​(java.lang.Class<? extends java.lang.annotation.Annotation> value)
        • -
        - - - -
          -
        • -

          value

          -
          public java.lang.Class<? extends java.lang.annotation.Annotation> value()
          + +
        • +
          +

          Method Details

          +
            +
          • +
            +

            of

            +
            public static Destroyed.Literal of(Class<? extends Annotation> value)
            +
            Obtain the literal of the provided scope annotation
            +
            +
            Parameters:
            +
            value - the scope annotation
            +
            Returns:
            +
            a new Literal value for the provided scope annotation
            +
            +
          • -
          +
        • +
          +

          value

          +
          public Class<? extends Annotation> value()
          +
    - - - +
    + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Destroyed.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Destroyed.html index 3eb6cbcf11..bab4c276e1 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Destroyed.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Destroyed.html @@ -1,267 +1,164 @@ - - + Destroyed (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Destroyed

    +
    Module jakarta.cdi
    + +

    Annotation Type Destroyed

    -
    -
    -
    + +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      Nested Classes
      +
      +
      Modifier and Type
      +
      Class
      +
      Description
      +
      static final class 
      + +
      +
      Supports inline instantiation of the Destroyed qualifier.
      -
      -
        -
      • +
      +
      +
    • -
      -
        -
      • - - -

        Required Element Summary

        - - - - - - - - - - - - -
        Required Elements 
        Modifier and TypeRequired ElementDescription
        java.lang.Class<? extends java.lang.annotation.Annotation>value +
      • +
        +

        Required Element Summary

        +
        Required Elements
        +
        +
        Modifier and Type
        +
        Required Element
        +
        Description
        +
        Class<? extends Annotation>
        + +
        The scope for which to observe destruction
        -
      • -
      • -
      + +
    - -
    -
      -
    • +
    +
    +
      -
      -
        -
      • - - -

        Element Detail

        - - - -
          -
        • -

          value

          -
          java.lang.Class<? extends java.lang.annotation.Annotation> value
          +
        • +
          +

          Element Details

          +
            +
          • +
            +

            value

            +
            Class<? extends Annotation> value
            The scope for which to observe destruction
            -
            -
            Returns:
            +
            +
            Returns:
            the scope type class
            -
          • -
          +
    - - - +
    + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Initialized.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Initialized.Literal.html index 31bdccb9ab..23d6c0d5be 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Initialized.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Initialized.Literal.html @@ -1,422 +1,259 @@ - - + Initialized.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class Initialized.Literal

    +
    Module jakarta.cdi
    + +

    Class Initialized.Literal

    -
    - -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - - - - - -
            -
          • -

            CONVERSATION

            -
            public static final Initialized.Literal CONVERSATION
            +
          • +
            +

            Field Details

            +
              +
            • +
              +

              REQUEST

              +
              public static final Initialized.Literal REQUEST
              +
              Default Initialized literal for the RequestScoped scope
              +
            • -
            - - - -
              -
            • -

              SESSION

              -
              public static final Initialized.Literal SESSION
              +
            • +
              +

              CONVERSATION

              +
              public static final Initialized.Literal CONVERSATION
              +
              Default Initialized literal for the ConversationScoped scope
              +
            • -
            - - - -
              -
            • -

              APPLICATION

              -
              public static final Initialized.Literal APPLICATION
              +
            • +
              +

              SESSION

              +
              public static final Initialized.Literal SESSION
              +
              Default Initialized literal for the SessionScoped scope
              +
            • -
            +
          • +
            +

            APPLICATION

            +
            public static final Initialized.Literal APPLICATION
            +
            Default Initialized literal for the ApplicationScoped scope
            +
        - -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            of

            -
            public static Initialized.Literal of​(java.lang.Class<? extends java.lang.annotation.Annotation> value)
          • -
          - - - -
            -
          • -

            value

            -
            public java.lang.Class<? extends java.lang.annotation.Annotation> value()
            + +
          • +
            +

            Method Details

            +
              +
            • +
              +

              of

              +
              public static Initialized.Literal of(Class<? extends Annotation> value)
              +
              Obtain the literal of the provided scope annotation
              +
              +
              Parameters:
              +
              value - the scope annotation
              +
              Returns:
              +
              a new Literal value for the provided scope annotation
              +
              +
            • -
            +
          • +
            +

            value

            +
            public Class<? extends Annotation> value()
            +
      -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Initialized.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Initialized.html index 4131ecf19f..e19ee4ca38 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Initialized.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/Initialized.html @@ -1,267 +1,164 @@ - - + Initialized (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Initialized

    +
    Module jakarta.cdi
    + +

    Annotation Type Initialized

    -
    -
    -
      -
    • +

      -
      @Qualifier
      -@Target({TYPE,METHOD,PARAMETER,FIELD})
      -@Retention(RUNTIME)
      -@Documented
      -public @interface Initialized
      +
      @Qualifier +@Target({TYPE,METHOD,PARAMETER,FIELD}) +@Retention(RUNTIME) +@Documented +public @interface Initialized
      An event with this qualifier is fired when a context is initialized, i.e. ready for use.
      -
      -
      Since:
      +
      +
      Since:
      1.1
      -
      Author:
      +
      Author:
      Pete Muir
      -
      See Also:
      -
      BeforeDestroyed, -Destroyed
      -
      -
    • +
      See Also:
      +
      + +
      + + +
      +
        + +
      • +
        +

        Nested Class Summary

        +
        Nested Classes
        +
        +
        Modifier and Type
        +
        Class
        +
        Description
        +
        static final class 
        + +
        +
        Supports inline instantiation of the Initialized qualifier.
        -
        -
          -
        • +
        +
        +
      • -
        -
          -
        • - - -

          Required Element Summary

          - - - - - - - - - - - - -
          Required Elements 
          Modifier and TypeRequired ElementDescription
          java.lang.Class<? extends java.lang.annotation.Annotation>value +
        • +
          +

          Required Element Summary

          +
          Required Elements
          +
          +
          Modifier and Type
          +
          Required Element
          +
          Description
          +
          Class<? extends Annotation>
          + +
          The scope for which to observe initialization
          -
        • -
        • -
        +
    +
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Element Detail

          - - - -
            -
          • -

            value

            -
            java.lang.Class<? extends java.lang.annotation.Annotation> value
            +
          • +
            +

            Element Details

            +
              +
            • +
              +

              value

              +
              Class<? extends Annotation> value
              The scope for which to observe initialization
              -
              -
              Returns:
              +
              +
              Returns:
              the scope type class
              -
            • -
            +
      -
    -
    - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/NonexistentConversationException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/NonexistentConversationException.html index 0bcf478e09..4abb98e6e4 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/NonexistentConversationException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/NonexistentConversationException.html @@ -1,363 +1,224 @@ - - + NonexistentConversationException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class NonexistentConversationException

    +
    Module jakarta.cdi
    + +

    Class NonexistentConversationException

    -
    -
      -
    • java.lang.Object
    • -
    • - -
    • -
    -
    -
      -
    • -
      + +
      +
      All Implemented Interfaces:
      -
      java.io.Serializable
      +
      Serializable

      -
      public class NonexistentConversationException
      -extends ContextException
      +
      public class NonexistentConversationException +extends ContextException

      Indicates that the conversation context could not be restored.

      - +

      If the propagated conversation cannot be restored, the container must associate the request with a new transient conversation and throw an exception of type NonexistentConversationException.

      -

      CDI Lite implementations are not required to provide support for conversations.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for conversations. +

    +
    +
    Author:
    Pete Muir, Gavin King
    -
    See Also:
    -
    ConversationScoped, -Serialized Form
    -
    - +
    See Also:
    +
    + -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            NonexistentConversationException

            -
            public NonexistentConversationException()
            -
          • -
          - - - -
            -
          • -

            NonexistentConversationException

            -
            public NonexistentConversationException​(java.lang.String message)
            +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              NonexistentConversationException

              +
              public NonexistentConversationException()
              +
              Creates the exception with no detail message or cause.
              +
            • -
            - - - -
              -
            • -

              NonexistentConversationException

              -
              public NonexistentConversationException​(java.lang.Throwable cause)
              +
            • +
              +

              NonexistentConversationException

              +
              public NonexistentConversationException(String message)
              +
              Creates the exception with given detail message.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              +
            • -
            - - - -
              -
            • -

              NonexistentConversationException

              -
              public NonexistentConversationException​(java.lang.String message,
              -                                        java.lang.Throwable cause)
              +
            • +
              +

              NonexistentConversationException

              +
              public NonexistentConversationException(Throwable cause)
              +
              Creates the exception with given cause.
              +
              +
              Parameters:
              +
              cause - the cause
              +
              +
            • -
            +
          • +
            +

            NonexistentConversationException

            +
            public NonexistentConversationException(String message, + Throwable cause)
            +
            Creates the exception with given detail message and cause.
            +
            +
            Parameters:
            +
            message - the detail message
            +
            cause - the cause
            +
            +
      -
    -
    - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/NormalScope.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/NormalScope.html index 2635aaf2b4..5eb6c73d71 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/NormalScope.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/NormalScope.html @@ -1,277 +1,157 @@ - - + NormalScope (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type NormalScope

    +
    Module jakarta.cdi
    + +

    Annotation Type NormalScope

    -
    -
    -
      -
    • +

      -
      @Target(ANNOTATION_TYPE)
      -@Retention(RUNTIME)
      -@Documented
      -public @interface NormalScope
      +
      @Target(ANNOTATION_TYPE) +@Retention(RUNTIME) +@Documented +public @interface NormalScope

      Specifies that an annotation type is a normal scope type.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir
      -
      See Also:
      -
      Scope is used to declare pseudo-scopes.
      -
      -
    • +
      See Also:
      +
      +
        +
      • @Scope is used to declare pseudo-scopes.
      -
    -
    -
      -
    • + + + +
      +
        -
        -
          -
        • - - -

          Optional Element Summary

          - - - - - - - - - - - - -
          Optional Elements 
          Modifier and TypeOptional ElementDescription
          booleanpassivating +
        • +
          +

          Optional Element Summary

          +
          Optional Elements
          +
          +
          Modifier and Type
          +
          Optional Element
          +
          Description
          +
          boolean
          + +
          Determines whether the normal scope type is a passivating scope.
          -
        • -
        • -
        +
    +
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Element Detail

          - - - -
            -
          • -

            passivating

            -
            boolean passivating
            +
          • +
            +

            Element Details

            +
              +
            • +
              +

              passivating

              +
              boolean passivating

              Determines whether the normal scope type is a passivating scope.

              - +

              A bean is called passivation capable if the container is able to temporarily transfer the state of any idle instance to secondary storage. A passivating scope requires that beans with the scope are passivation capable.

              -
              -
              Returns:
              +
              +
              Returns:
              true if the scope type is a passivating scope type
              -
              +
              Default:
              false
              -
            • -
            +
      -
    -
    - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/RequestScoped.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/RequestScoped.Literal.html index 10e5621c91..51f1b40bad 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/RequestScoped.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/RequestScoped.Literal.html @@ -1,370 +1,203 @@ - - + RequestScoped.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class RequestScoped.Literal

    +
    Module jakarta.cdi
    + +

    Class RequestScoped.Literal

    -
    - -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - - +
        • +
          +

          Field Details

          +
          - -
          -
            -
          • - - -

            Constructor Detail

            - - - -
              -
            • -

              Literal

              -
              public Literal()
            • -
            + +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              Literal

              +
              public Literal()
              +
          -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/RequestScoped.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/RequestScoped.html index cf706729e9..1194f6947f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/RequestScoped.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/RequestScoped.html @@ -1,137 +1,89 @@ - - + RequestScoped (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type RequestScoped

    +
    Module jakarta.cdi
    + +

    Annotation Type RequestScoped

    -
    -
    -

    Specifies that a bean is request scoped.

    While RequestScoped must be associated with the built-in request context required by the specification, - third-party extensions are - allowed to also associate it with their own context. Behavior described below is only related to the built-in request context. + third-party extensions are allowed to also associate it with their own context. Behavior described below is only related to + the built-in request context.

    @@ -139,8 +91,9 @@

    Annotation Type RequestS

      -
    • during the service() method of any servlet in the web application, during the doFilter() method of any - servlet filter and when the container calls any ServletRequestListener or AsyncListener,
    • +
    • during the service() method of any servlet in the web application, during the doFilter() method + of any servlet filter and when the container calls any ServletRequestListener or + AsyncListener,
    • during any Java EE web service invocation,
    • during any remote method invocation of any EJB, during any asynchronous method invocation of any EJB, during any call to an EJB timeout method and during message delivery to any EJB message-driven bean, and
    • @@ -155,16 +108,16 @@

      Annotation Type RequestS
    • at the end of the servlet request, after the service() method, all doFilter() methods, and all requestDestroyed() and onComplete() notifications return,
    • after the web service invocation completes,
    • -
    • after the EJB remote method invocation, asynchronous method invocation, timeout or message delivery completes if it - did not already exist when the invocation occurred, or
    • -
    • after the @PostConstruct callback completes, if it did not already exist when the @PostConstruct - callback occurred.
    • +
    • after the EJB remote method invocation, asynchronous method invocation, timeout or message delivery completes if it did + not already exist when the invocation occurred, or
    • +
    • after the @PostConstruct callback completes, if it did not already exist when the + @PostConstruct callback occurred.

    - An event with qualifier @Initialized(RequestScoped.class) is fired when the request context is initialized and an - event - with qualifier @Destroyed(RequestScoped.class) when the request context is destroyed. The event payload is: + An event with qualifier @Initialized(RequestScoped.class) is fired when the request context is initialized and + an event with qualifier @Destroyed(RequestScoped.class) when the request context is destroyed. The event payload + is:

      @@ -172,77 +125,39 @@

      Annotation Type RequestS
    • the ServletRequest if the context is initialized or destroyed due to a web service invocation, or
    • any java.lang.Object for other types of request.

    -
    -
    Author:
    +
    +
    Author:
    Gavin King, Pete Muir, Antoine Sabot-Durand
    - - + +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      Nested Classes
      +
      +
      Modifier and Type
      +
      Class
      +
      Description
      +
      static final class 
      + +
      +
      Supports inline instantiation of the RequestScoped annotation.
      -
    + + + + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/SessionScoped.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/SessionScoped.Literal.html index b14f8b3f02..422149a8ea 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/SessionScoped.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/SessionScoped.Literal.html @@ -1,370 +1,203 @@ - - + SessionScoped.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class SessionScoped.Literal

    +
    Module jakarta.cdi
    + +

    Class SessionScoped.Literal

    -
    - -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - - +
        • +
          +

          Field Details

          +
          - -
          -
            -
          • - - -

            Constructor Detail

            - - - -
              -
            • -

              Literal

              -
              public Literal()
            • -
            + +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              Literal

              +
              public Literal()
              +
          -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/SessionScoped.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/SessionScoped.html index 4a4c76bf83..097e238269 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/SessionScoped.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/SessionScoped.html @@ -1,137 +1,89 @@ - - + SessionScoped (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type SessionScoped

    +
    Module jakarta.cdi
    + +

    Annotation Type SessionScoped

    -
    -
    -

    Specifies that a bean is session scoped.

    While SessionScoped must be associated with the built-in session context required by the specification, - third-party extensions are - allowed to also associate it with their own context. Behavior described below is only related to the built-in session context. + third-party extensions are allowed to also associate it with their own context. Behavior described below is only related to + the built-in session context.

    The session scope is active: @@ -153,89 +105,51 @@

    Annotation Type SessionS
    • when the HTTPSession times out, after all HttpSessionListeners have been called, or
    • -
    • at the very end of - any request in which invalidate() was called, after all filters and ServletRequestListeners have been - called.
    • +
    • at the very end of any request in which invalidate() was called, after all filters and + ServletRequestListeners have been called.

    - An event with qualifier @Initialized(SessionScoped.class) is fired when the session context is initialized and an - event - with qualifier @Destroyed(SessionScoped.class) when the session context is destroyed. The event payload is - the HttpSession + An event with qualifier @Initialized(SessionScoped.class) is fired when the session context is initialized and + an event with qualifier @Destroyed(SessionScoped.class) when the session context is destroyed. The event payload + is the HttpSession -

    CDI Lite implementations are not required to provide support for the session scope.

    -
    -
    Author:
    +

    + CDI Lite implementations are not required to provide support for the session scope. +

    +
    +
    Author:
    Gavin King, Pete Muir, Antoine Sabot-Durand
    - - + +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      Nested Classes
      +
      +
      Modifier and Type
      +
      Class
      +
      Description
      +
      static final class 
      + +
      +
      Supports inline instantiation of the SessionScoped annotation.
      -
    + + + + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ApplicationScoped.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ApplicationScoped.Literal.html index 6ee5262fbd..5bbd9359a3 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ApplicationScoped.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ApplicationScoped.Literal.html @@ -1,199 +1,94 @@ - - + Uses of Class jakarta.enterprise.context.ApplicationScoped.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.ApplicationScoped.Literal

    +

    Uses of Class
    jakarta.enterprise.context.ApplicationScoped.Literal

    +
    +
    Packages that use ApplicationScoped.Literal
    +
    +
    Package
    +
    Description
    + +
    +
    + Annotations and interfaces relating to scopes and contexts.
    +
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ApplicationScoped.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ApplicationScoped.html index fab808ee65..de58d7f90b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ApplicationScoped.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ApplicationScoped.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.context.ApplicationScoped (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.context.ApplicationScoped (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.ApplicationScoped

    +

    Uses of Annotation Type
    jakarta.enterprise.context.ApplicationScoped

    -
    No usage of jakarta.enterprise.context.ApplicationScoped
    -
    +No usage of jakarta.enterprise.context.ApplicationScoped
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/BeforeDestroyed.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/BeforeDestroyed.Literal.html index 9ffbbd688d..a273e6b76e 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/BeforeDestroyed.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/BeforeDestroyed.Literal.html @@ -1,229 +1,120 @@ - - + Uses of Class jakarta.enterprise.context.BeforeDestroyed.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.BeforeDestroyed.Literal

    +

    Uses of Class
    jakarta.enterprise.context.BeforeDestroyed.Literal

    +
    +
    Packages that use BeforeDestroyed.Literal
    +
    +
    Package
    +
    Description
    + +
    +
    + Annotations and interfaces relating to scopes and contexts.
    +
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/BeforeDestroyed.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/BeforeDestroyed.html index bfe0c82648..a63c3507d7 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/BeforeDestroyed.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/BeforeDestroyed.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.context.BeforeDestroyed (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.context.BeforeDestroyed (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.BeforeDestroyed

    +

    Uses of Annotation Type
    jakarta.enterprise.context.BeforeDestroyed

    -
    No usage of jakarta.enterprise.context.BeforeDestroyed
    -
    +No usage of jakarta.enterprise.context.BeforeDestroyed
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/BusyConversationException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/BusyConversationException.html index 7ab1d0db7d..20105101e4 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/BusyConversationException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/BusyConversationException.html @@ -1,153 +1,64 @@ - - + Uses of Class jakarta.enterprise.context.BusyConversationException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.BusyConversationException

    +

    Uses of Class
    jakarta.enterprise.context.BusyConversationException

    -
    No usage of jakarta.enterprise.context.BusyConversationException
    -
    +No usage of jakarta.enterprise.context.BusyConversationException
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ContextException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ContextException.html index 4520ac7426..93839b31ae 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ContextException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ContextException.html @@ -1,219 +1,108 @@ - - + Uses of Class jakarta.enterprise.context.ContextException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.ContextException

    +

    Uses of Class
    jakarta.enterprise.context.ContextException

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ContextNotActiveException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ContextNotActiveException.html index 024abbf8f9..d5fc3bde24 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ContextNotActiveException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ContextNotActiveException.html @@ -1,199 +1,91 @@ - - + Uses of Class jakarta.enterprise.context.ContextNotActiveException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.ContextNotActiveException

    +

    Uses of Class
    jakarta.enterprise.context.ContextNotActiveException

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Conversation.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Conversation.html index 039582a860..fdeb628f2f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Conversation.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Conversation.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.context.Conversation (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.context.Conversation

    +

    Uses of Interface
    jakarta.enterprise.context.Conversation

    -
    No usage of jakarta.enterprise.context.Conversation
    -
    +No usage of jakarta.enterprise.context.Conversation
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ConversationScoped.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ConversationScoped.Literal.html index 0570de2c66..7003deec54 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ConversationScoped.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ConversationScoped.Literal.html @@ -1,199 +1,94 @@ - - + Uses of Class jakarta.enterprise.context.ConversationScoped.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.ConversationScoped.Literal

    +

    Uses of Class
    jakarta.enterprise.context.ConversationScoped.Literal

    +
    +
    Packages that use ConversationScoped.Literal
    +
    +
    Package
    +
    Description
    + +
    +
    + Annotations and interfaces relating to scopes and contexts.
    +
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ConversationScoped.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ConversationScoped.html index 8fecf2a58e..474d191904 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ConversationScoped.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/ConversationScoped.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.context.ConversationScoped (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.context.ConversationScoped (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.ConversationScoped

    +

    Uses of Annotation Type
    jakarta.enterprise.context.ConversationScoped

    -
    No usage of jakarta.enterprise.context.ConversationScoped
    -
    +No usage of jakarta.enterprise.context.ConversationScoped
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Dependent.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Dependent.Literal.html index be8787d2f6..6dcce7ce12 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Dependent.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Dependent.Literal.html @@ -1,199 +1,94 @@ - - + Uses of Class jakarta.enterprise.context.Dependent.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.Dependent.Literal

    +

    Uses of Class
    jakarta.enterprise.context.Dependent.Literal

    +
    +
    Packages that use Dependent.Literal
    +
    +
    Package
    +
    Description
    + +
    +
    + Annotations and interfaces relating to scopes and contexts.
    +
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Dependent.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Dependent.html index b63e0462c5..f8e749a1f5 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Dependent.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Dependent.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.context.Dependent (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.context.Dependent (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.Dependent

    +

    Uses of Annotation Type
    jakarta.enterprise.context.Dependent

    -
    No usage of jakarta.enterprise.context.Dependent
    -
    +No usage of jakarta.enterprise.context.Dependent
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Destroyed.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Destroyed.Literal.html index c3f2502dd7..8fa245045e 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Destroyed.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Destroyed.Literal.html @@ -1,229 +1,120 @@ - - + Uses of Class jakarta.enterprise.context.Destroyed.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.Destroyed.Literal

    +

    Uses of Class
    jakarta.enterprise.context.Destroyed.Literal

    +
    +
    Packages that use Destroyed.Literal
    +
    +
    Package
    +
    Description
    + +
    +
    + Annotations and interfaces relating to scopes and contexts.
    +
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Destroyed.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Destroyed.html index ee9c5bcb3b..f811659f61 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Destroyed.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Destroyed.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.context.Destroyed (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.context.Destroyed (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.Destroyed

    +

    Uses of Annotation Type
    jakarta.enterprise.context.Destroyed

    -
    No usage of jakarta.enterprise.context.Destroyed
    -
    +No usage of jakarta.enterprise.context.Destroyed
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Initialized.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Initialized.Literal.html index 32fb00eaf5..87d82ab77b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Initialized.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Initialized.Literal.html @@ -1,229 +1,120 @@ - - + Uses of Class jakarta.enterprise.context.Initialized.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.Initialized.Literal

    +

    Uses of Class
    jakarta.enterprise.context.Initialized.Literal

    +
    +
    Packages that use Initialized.Literal
    +
    +
    Package
    +
    Description
    + +
    +
    + Annotations and interfaces relating to scopes and contexts.
    +
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Initialized.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Initialized.html index ecf1520ec8..da584f1d0c 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Initialized.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/Initialized.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.context.Initialized (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.context.Initialized (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.Initialized

    +

    Uses of Annotation Type
    jakarta.enterprise.context.Initialized

    -
    No usage of jakarta.enterprise.context.Initialized
    -
    +No usage of jakarta.enterprise.context.Initialized
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/NonexistentConversationException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/NonexistentConversationException.html index 914e6ab153..db7a8779f9 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/NonexistentConversationException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/NonexistentConversationException.html @@ -1,153 +1,64 @@ - - + Uses of Class jakarta.enterprise.context.NonexistentConversationException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.NonexistentConversationException

    +

    Uses of Class
    jakarta.enterprise.context.NonexistentConversationException

    -
    No usage of jakarta.enterprise.context.NonexistentConversationException
    -
    +No usage of jakarta.enterprise.context.NonexistentConversationException
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/NormalScope.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/NormalScope.html index 5070f31e43..b18f31862e 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/NormalScope.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/NormalScope.html @@ -1,226 +1,113 @@ - - -Uses of Class jakarta.enterprise.context.NormalScope (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.context.NormalScope (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.NormalScope

    +

    Uses of Annotation Type
    jakarta.enterprise.context.NormalScope

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/RequestScoped.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/RequestScoped.Literal.html index d2ddbdfb3e..49001945f8 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/RequestScoped.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/RequestScoped.Literal.html @@ -1,199 +1,94 @@ - - + Uses of Class jakarta.enterprise.context.RequestScoped.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.RequestScoped.Literal

    +

    Uses of Class
    jakarta.enterprise.context.RequestScoped.Literal

    +
    +
    Packages that use RequestScoped.Literal
    +
    +
    Package
    +
    Description
    + +
    +
    + Annotations and interfaces relating to scopes and contexts.
    +
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/RequestScoped.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/RequestScoped.html index f31e8f67b6..0447aa7ed0 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/RequestScoped.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/RequestScoped.html @@ -1,201 +1,93 @@ - - -Uses of Class jakarta.enterprise.context.RequestScoped (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.context.RequestScoped (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.RequestScoped

    +

    Uses of Annotation Type
    jakarta.enterprise.context.RequestScoped

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/SessionScoped.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/SessionScoped.Literal.html index b49e92dbe3..9b04556794 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/SessionScoped.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/SessionScoped.Literal.html @@ -1,199 +1,94 @@ - - + Uses of Class jakarta.enterprise.context.SessionScoped.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.SessionScoped.Literal

    +

    Uses of Class
    jakarta.enterprise.context.SessionScoped.Literal

    +
    +
    Packages that use SessionScoped.Literal
    +
    +
    Package
    +
    Description
    + +
    +
    + Annotations and interfaces relating to scopes and contexts.
    +
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/SessionScoped.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/SessionScoped.html index 4249b9abc5..27fccfa33b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/SessionScoped.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/class-use/SessionScoped.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.context.SessionScoped (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.context.SessionScoped (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.SessionScoped

    +

    Uses of Annotation Type
    jakarta.enterprise.context.SessionScoped

    -
    No usage of jakarta.enterprise.context.SessionScoped
    -
    +No usage of jakarta.enterprise.context.SessionScoped
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/ActivateRequestContext.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/ActivateRequestContext.html index fbe3695e87..cf9bca2da9 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/ActivateRequestContext.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/ActivateRequestContext.html @@ -1,208 +1,101 @@ - - + ActivateRequestContext (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type ActivateRequestContext

    +
    Module jakarta.cdi
    + +

    Annotation Type ActivateRequestContext

    -
    -
    -
      -
    • +

      -
      @InterceptorBinding
      -@Target({METHOD,TYPE})
      -@Retention(RUNTIME)
      -@Documented
      -public @interface ActivateRequestContext
      +
      @InterceptorBinding +@Target({METHOD,TYPE}) +@Retention(RUNTIME) +@Documented +public @interface ActivateRequestContext
      The container provides a built in interceptor that may be used to annotate classes and methods to indicate that a request context should be activated when this method is invoked. The request context will be activated before the method is called, and deactivated when the method invocation is - complete (regardless of any exceptions being thrown). If the context is already active, it is ignored, neither + complete (regardless of any exceptions being thrown). If the context is already active, it is ignored, neither activated nor deactivated.
      -
      -
      Since:
      +
      +
      Since:
      2.0
      -
      Author:
      +
      Author:
      John D. Ament
      -
    • -
    -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/RequestContextController.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/RequestContextController.html index 63689bb730..45f083fa88 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/RequestContextController.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/RequestContextController.html @@ -1,316 +1,187 @@ - - + RequestContextController (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface RequestContextController

    +
    Module jakarta.cdi
    + +

    Interface RequestContextController

    -
    -
    -
      -
    • +

      -
      public interface RequestContextController
      +
      public interface RequestContextController
      The CDI container provides a built in instance of RequestContextController that is dependent scoped for the purposes - of activating and deactivating. For example: + of activating and deactivating. For example:
      -    @Inject
      -    private RequestContextController requestContextController;
      + @Inject
      + private RequestContextController requestContextController;
       
      -    public void doRequest(String body) {
      -       // activate request context
      -       requestContextController.activate();
      + public void doRequest(String body) {
      +     // activate request context
      +     requestContextController.activate();
       
      -       // do work in a request context.
      +     // do work in a request context.
       
      -       // deactivate the request context
      -       requestContextController.deactivate();
      -    }
      +     // deactivate the request context
      +     requestContextController.deactivate();
      + }
        
      Once the request context has been deactivated, you may activate it once again, creating a brand new request context. The activated request context is bound to the current thread, any injection points targeting a request scoped bean will be satisfied with the same request scoped objects.
      -
      -
      Since:
      +
      +
      Since:
      2.0
      -
      Author:
      +
      Author:
      John D. Ament
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethodDescription
          booleanactivate() +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          +
          boolean
          + +
          Activates a RequestContext for the current thread if one is not already active.
          -
        • voiddeactivate() + +
          void
          + +
          Deactivates the current Request Context if it was activated by this context controller.
          -
          -
        • -
        +
    +
    +
    +
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            activate

            -
            boolean activate()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              activate

              +
              boolean activate()
              Activates a RequestContext for the current thread if one is not already active.
              -
              -
              Returns:
              +
              +
              Returns:
              true if the context was activated by this invocation, false if not.
              +
            • -
            - - - -
              -
            • -

              deactivate

              -
              void deactivate()
              -         throws ContextNotActiveException
              -
              Deactivates the current Request Context if it was activated by this context controller. If the context is active +
            • +
              +

              deactivate

              +
              void deactivate() + throws ContextNotActiveException
              +
              Deactivates the current Request Context if it was activated by this context controller. If the context is active but was not activated by this controller, then it may not be deactivated by this controller, meaning this method will do nothing. If the context is not active, a ContextNotActiveException is thrown.
              -
              -
              Throws:
              +
              +
              Throws:
              ContextNotActiveException - if the context is not active
              -
            • -
            +
      -
    -
    - + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/class-use/ActivateRequestContext.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/class-use/ActivateRequestContext.html index 18204ddd4f..39b0336886 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/class-use/ActivateRequestContext.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/class-use/ActivateRequestContext.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.context.control.ActivateRequestContext (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.context.control.ActivateRequestContext (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.context.control.ActivateRequestContext

    +

    Uses of Annotation Type
    jakarta.enterprise.context.control.ActivateRequestContext

    -
    No usage of jakarta.enterprise.context.control.ActivateRequestContext
    -
    +No usage of jakarta.enterprise.context.control.ActivateRequestContext
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/class-use/RequestContextController.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/class-use/RequestContextController.html index de8370551f..e56a1a70b6 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/class-use/RequestContextController.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/class-use/RequestContextController.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.context.control.RequestContextController (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.context.control.RequestContextController

    +

    Uses of Interface
    jakarta.enterprise.context.control.RequestContextController

    -
    No usage of jakarta.enterprise.context.control.RequestContextController
    -
    +No usage of jakarta.enterprise.context.control.RequestContextController
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/package-summary.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/package-summary.html index e979c9d937..6893f7dfec 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/package-summary.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/package-summary.html @@ -1,193 +1,123 @@ - - + jakarta.enterprise.context.control (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -
    Module jakarta.cdi
    -

    Package jakarta.enterprise.context.control

    -
    -
    -
      -
    • - - - - - - - - - - - - -
      Interface Summary 
      InterfaceDescription
      RequestContextController -
      The CDI container provides a built in instance of RequestContextController that is dependent scoped for the purposes - of activating and deactivating.
      -
      +
      Module jakarta.cdi
      +

      Package jakarta.enterprise.context.control

      +
    +
    +
    package jakarta.enterprise.context.control
    +
    +
      +
    • +
    • -
    • - - - - - - - - - - - - -
      Annotation Types Summary 
      Annotation TypeDescription
      ActivateRequestContext +
    • +
      +
      +
      +
      +
      Class
      +
      Description
      + +
      The container provides a built in interceptor that may be used to annotate classes and methods to indicate that a request context should be activated when this method is invoked.
      -
    • +
    + +
    +
    The CDI container provides a built in instance of RequestContextController that is dependent scoped for the purposes + of activating and deactivating.
    +
    +
    +
    +
    -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/package-tree.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/package-tree.html index 372c0e7082..1c6a5443df 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/package-tree.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/package-tree.html @@ -1,170 +1,80 @@ - - + jakarta.enterprise.context.control Class Hierarchy (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Hierarchy For Package jakarta.enterprise.context.control

    -Package Hierarchies: +Package Hierarchies:
    -
    -
    +

    Interface Hierarchy

    -
    +

    Annotation Type Hierarchy

    -
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/package-use.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/package-use.html index 63bf16624b..41d8a3947d 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/package-use.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/control/package-use.html @@ -1,153 +1,64 @@ - - + Uses of Package jakarta.enterprise.context.control (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Uses of Package
    jakarta.enterprise.context.control

    -
    No usage of jakarta.enterprise.context.control
    -
    +No usage of jakarta.enterprise.context.control
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/package-summary.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/package-summary.html index 753e0d3474..711a760d1f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/package-summary.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/package-summary.html @@ -1,460 +1,352 @@ - - + jakarta.enterprise.context (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -
    Module jakarta.cdi
    -

    Package jakarta.enterprise.context

    -
    -
    -
    - - -

    Annotations and interfaces relating to scopes and contexts.

    - -

    A scope type is a Java annotation annotated - @Scope or +

    Module jakarta.cdi
    +

    Package jakarta.enterprise.context

    +
    +
    +
    package jakarta.enterprise.context
    +
    +

    + Annotations and interfaces relating to scopes and contexts. +

    + +

    + A scope type is a Java annotation annotated + @Scope or @NormalScope. The scope of a bean determines the lifecycle and visibility of - its instances. In particular, the scope determines:

    - + its instances. In particular, the scope determines: +

    +
    • When a new instance of the bean is created
    • When an existing instance of the bean is destroyed
    • Which injected references refer to any instance of the bean
    - +

    Built-in scopes

    - -

    The following built-in scopes are provided: + +

    + The following built-in scopes are provided: @Dependent, @RequestScoped, @ConversationScoped, @SessionScoped, @ApplicationScoped, - @Singleton.

    - -

    The container provides an implementation of the Context - interface for each of the built-in scopes. The built-in request, - session, and application contexts support servlet, web service + @Singleton. +

    + +

    + The container provides an implementation of the Context + interface for each of the built-in scopes. The built-in request, + session, and application contexts support servlet, web service and EJB invocations. The built-in conversation context supports - JSF requests.

    - -

    For other kinds of invocations, a portable extension may define a - custom context object - for any or all of the built-in scopes. For example, a third-party web - application framework might provide a conversation context object for - the built-in conversation scope.

    - -

    The context associated with a built-in scope propagates across - local, synchronous Java method calls, including invocation of EJB - local business methods. The context does not propagate across remote - method invocations or to asynchronous processes such as JMS message - listeners or EJB timer service timeouts.

    - + JSF requests. +

    + +

    + For other kinds of invocations, a portable extension may define a + custom context object + for any or all of the built-in scopes. For example, a third-party web + application framework might provide a conversation context object for + the built-in conversation scope. +

    + +

    + The context associated with a built-in scope propagates across + local, synchronous Java method calls, including invocation of EJB + local business methods. The context does not propagate across remote + method invocations or to asynchronous processes such as JMS message + listeners or EJB timer service timeouts. +

    +

    Normal scopes and pseudo-scopes

    - -

    Most scopes are normal scopes. Normal scopes are declared - using @NormalScope. - If a bean has a normal scope, every client executing in a certain - thread sees the same contextual instance of the bean. This instance is - called the current instance of the bean. The operation + +

    + Most scopes are normal scopes. Normal scopes are declared + using @NormalScope. + If a bean has a normal scope, every client executing in a certain + thread sees the same contextual instance of the bean. This instance is + called the current instance of the bean. The operation Context.get(Contextual) of the - context object for a normal scope type always returns the current - instance of the given bean.

    + context object for a normal scope type always returns the current + instance of the given bean. +

    -

    Any scope that is not a normal scope is called a pseudo-scope. - Pseudo-scopes are declared using @Scope. - The concept of a current instance is not well-defined in the case of +

    + Any scope that is not a normal scope is called a pseudo-scope. + Pseudo-scopes are declared using @Scope. + The concept of a current instance is not well-defined in the case of a pseudo-scope. Different clients executing in the same thread may see different instances of the bean. In the extreme case of the @Dependent pseudo-scope, - every client has its own private instance of the bean.

    - -

    All built-in scopes are normal scopes, except for the + every client has its own private instance of the bean. +

    + +

    + All built-in scopes are normal scopes, except for the @Dependent and - @Singleton pseudo-scopes.

    - + @Singleton pseudo-scopes. +

    +

    Contextual and injected reference validity

    - -

    A reference to a bean obtained from the container via programmatic lookup is called a - contextual reference. A contextual reference for a bean with a normal - scope refers to the current instance of the bean. A contextual - reference for a bean are valid only for a certain period of time. The - application should not invoke a method of an invalid reference.

    - -

    The validity of a contextual reference for a bean depends upon - whether the scope of the bean is a normal scope or a pseudo-scope:

    - + +

    + A reference to a bean obtained from the container via programmatic lookup is called a + contextual reference. A contextual reference for a bean with a normal + scope refers to the current instance of the bean. A contextual + reference for a bean are valid only for a certain period of time. The + application should not invoke a method of an invalid reference. +

    + +

    + The validity of a contextual reference for a bean depends upon + whether the scope of the bean is a normal scope or a pseudo-scope: +

    +
      -
    • Any reference to a bean with a normal scope is valid as long as - the application maintains a hard reference to it. However, it may - only be invoked when the context associated with the normal scope is - active. If it is invoked when the context is inactive, a - ContextNotActiveException is thrown +
    • Any reference to a bean with a normal scope is valid as long as + the application maintains a hard reference to it. However, it may + only be invoked when the context associated with the normal scope is + active. If it is invoked when the context is inactive, a + ContextNotActiveException is thrown by the container.
    • -
    • Any reference to a bean with a pseudo-scope is valid until the - bean instance to which it refers is destroyed. It may be invoked - even if the context associated with the pseudo-scope is not active. - If the application invokes a method of a reference to an instance +
    • Any reference to a bean with a pseudo-scope is valid until the + bean instance to which it refers is destroyed. It may be invoked + even if the context associated with the pseudo-scope is not active. + If the application invokes a method of a reference to an instance that has already been destroyed, the behavior is undefined.
    - -

    A reference to a bean obtained from the container via dependency injection is a special kind of + +

    + A reference to a bean obtained from the container via dependency injection is a special kind of contextual reference, called an injected reference. Additional - restrictions apply to the validity of an injected reference:

    - + restrictions apply to the validity of an injected reference: +

    +
      -
    • A reference to a bean injected into a field, bean constructor or - initializer method is only valid until the object into which it was +
    • A reference to a bean injected into a field, bean constructor or + initializer method is only valid until the object into which it was injected is destroyed.
    • -
    • A reference to a bean injected into a producer method is only - valid until the producer method bean instance that is being produced - is destroyed.
    • -
    • A reference to a bean injected into a disposer method or observer +
    • A reference to a bean injected into a producer method is only + valid until the producer method bean instance that is being produced + is destroyed. +
    • +
    • A reference to a bean injected into a disposer method or observer method is only valid until the invocation of the method completes.
    -
    -
    See Also:
    -
    jakarta.enterprise.inject
    +
    +
    See Also:
    +
    + +
    -
    +
    +
    +
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary 
    ClassDescription
    ApplicationScoped.Literal +
  • +
    +
    +
    +
    +
    Class
    +
    Description
    + +
    +
    + Specifies that a bean is application scoped.
    +
    + +
    Supports inline instantiation of the ApplicationScoped annotation.
    -
  • BeforeDestroyed.Literal + + +
    +
    An event with this qualifier is fired when a context is about to be destroyed, i.e.
    +
    + +
    Supports inline instantiation of the BeforeDestroyed qualifier.
    -
    ConversationScoped.Literal -
    Supports inline instantiation of the ConversationScoped annotation.
    -
    Dependent.Literal -
    Supports inline instantiation of the Dependent annotation.
    -
    Destroyed.Literal -
    Supports inline instantiation of the Destroyed qualifier.
    -
    Initialized.Literal -
    Supports inline instantiation of the Initialized qualifier.
    -
    RequestScoped.Literal -
    Supports inline instantiation of the RequestScoped annotation.
    -
    SessionScoped.Literal -
    Supports inline instantiation of the SessionScoped annotation.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - - - - - - - - - -
    Exception Summary 
    ExceptionDescription
    BusyConversationException + + +
    Indicates that the container has rejected a request because a concurrent request is associated with the same conversation context.
    -
    ContextException + + +
    Indicates a problem relating to context management.
    -
    ContextNotActiveException + + +
    Indicates that a context is not active.
    -
    NonexistentConversationException -
    - Indicates that the conversation context could not be restored.
    -
    -
  • -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Annotation Types Summary 
    Annotation TypeDescription
    ApplicationScoped + + +
    - Specifies that a bean is application scoped.
    -
    BeforeDestroyed -
    An event with this qualifier is fired when a context is about to be destroyed, i.e.
    -
    ConversationScoped + Allows the application to manage the conversation context by marking + the current conversation as transient or long-running, specifying a conversation identifier, or setting the conversation + timeout. + + +
    Specifies that a bean is conversation scoped.
    -
    Dependent + + +
    +
    Supports inline instantiation of the ConversationScoped annotation.
    +
    + +
    Specifies that a bean belongs to the dependent pseudo-scope.
    -
    Destroyed + + +
    +
    Supports inline instantiation of the Dependent annotation.
    +
    + +
    An event with this qualifier is fired when a context is destroyed, i.e.
    -
    Initialized + + +
    +
    Supports inline instantiation of the Destroyed qualifier.
    +
    + +
    An event with this qualifier is fired when a context is initialized, i.e.
    -
    NormalScope + + +
    +
    Supports inline instantiation of the Initialized qualifier.
    +
    + +
    +
    + Indicates that the conversation context could not be restored.
    +
    + +
    Specifies that an annotation type is a normal scope type.
    -
    RequestScoped + + +
    Specifies that a bean is request scoped.
    -
    SessionScoped + + +
    +
    Supports inline instantiation of the RequestScoped annotation.
    +
    + +
    Specifies that a bean is session scoped.
    -
    +
  • + +
    +
    Supports inline instantiation of the SessionScoped annotation.
    +
    +
    +
    +
    -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/package-tree.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/package-tree.html index e4e2b28a6f..a160f4a2d7 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/package-tree.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/package-tree.html @@ -1,136 +1,90 @@ - - + jakarta.enterprise.context Class Hierarchy (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Hierarchy For Package jakarta.enterprise.context

    -Package Hierarchies: +Package Hierarchies:
    -
    -
    +

    Class Hierarchy

    -
    +

    Interface Hierarchy

    -
    +

    Annotation Type Hierarchy

    -
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/package-use.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/package-use.html index a905ad9278..027ee3300b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/package-use.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/package-use.html @@ -1,296 +1,161 @@ - - + Uses of Package jakarta.enterprise.context (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Uses of Package
    jakarta.enterprise.context

    -
    -
    +
    + -
  • - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.context used by jakarta.enterprise.context.control 
    ClassDescription
    ContextNotActiveException +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Indicates that a context is not active.
    -
  • +
  • +
    + -
  • - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.context used by jakarta.enterprise.inject 
    ClassDescription
    RequestScoped +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Specifies that a bean is request scoped.
    -
  • +
  • +
    + -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/AlterableContext.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/AlterableContext.html index b95ba8563e..08df21c46f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/AlterableContext.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/AlterableContext.html @@ -1,148 +1,98 @@ - - + AlterableContext (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AlterableContext

    +
    Module jakarta.cdi
    + +

    Interface AlterableContext

    -
    -
    -
      -
    • -
      +
      +
      All Superinterfaces:
      Context

      -
      public interface AlterableContext
      -extends Context
      +
      public interface AlterableContext +extends Context

      Provides an operation for obtaining and destroying contextual instances with a particular scope of any contextual type. Any instance of Context is called a context object.

      - +

      AlterableContext was introduced in CDI 1.1 to allow bean instances to be destroyed by the application. Extensions should implement AlterableContext instead of Context.

      - +

      The context object is responsible for creating and destroying contextual instances by calling operations of Contextual. In particular, the context object is responsible for destroying any @@ -152,159 +102,81 @@

      Interface AlterableContext< CreationalContext to Contextual.destroy() that it passed to Contextual.create() when it created the instance.

      - +

      A custom context object may be registered with the container using AfterBeanDiscovery.addContext(Context).

      -
      -
      Since:
      +
      +
      Since:
      1.1
      -
      Author:
      +
      Author:
      Pete Muir
      -
    • -
    -
    -
    -
    +
    +
    +
    +
    +

    Methods inherited from interface jakarta.enterprise.context.spi.Context

    +get, get, getScope, isActive
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            destroy

            -
            void destroy​(Contextual<?> contextual)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              destroy

              +
              void destroy(Contextual<?> contextual)

              Destroy the existing contextual instance. If there is no existing instance, no action is taken.

              -
              -
              Parameters:
              +
              +
              Parameters:
              contextual - the contextual type
              -
              Throws:
              +
              Throws:
              ContextNotActiveException - if the context is not active
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/Context.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/Context.html index be06ff216f..8f001cead5 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/Context.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/Context.html @@ -1,147 +1,97 @@ - - + Context (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Context

    +
    Module jakarta.cdi
    + +

    Interface Context

    -
    -
    -
      -
    • -
      +
      +
      All Known Subinterfaces:
      AlterableContext

      -
      public interface Context
      +
      public interface Context

      Provides an operation for obtaining contextual instances with a particular scope of any contextual type. Any instance of Context is called a context object.

      - +

      AlterableContext was introduced in CDI 1.1 to allow bean instances to be destroyed by the application. Extensions should implement AlterableContext instead of Context.

      - +

      The context object is responsible for creating and destroying contextual instances by calling operations of Contextual. In particular, the context object is responsible for destroying any @@ -151,225 +101,136 @@

      Interface Context

      CreationalContext to Contextual.destroy() that it passed to Contextual.create() when it created the instance.

      - +

      A custom context object may be registered with the container using AfterBeanDiscovery.addContext(Context).

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir
      -
    • -
    -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getScope

            -
            java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getScope

              +
              Class<? extends Annotation> getScope()
              Get the scope type of the context object.
              -
              -
              Returns:
              +
              +
              Returns:
              the scope
              +
            • -
            - - - -
              -
            • -

              get

              -
              <T> T get​(Contextual<T> contextual,
              -          CreationalContext<T> creationalContext)
              +
            • +
              +

              get

              +
              <T> T get(Contextual<T> contextual, + CreationalContext<T> creationalContext)
              Return an existing instance of certain contextual type or create a new instance by calling Contextual.create(CreationalContext) and return the new instance.
              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - the type of contextual type
              -
              Parameters:
              +
              Parameters:
              contextual - the contextual type
              creationalContext - the context in which the new instance will be created
              -
              Returns:
              +
              Returns:
              the contextual instance
              -
              Throws:
              +
              Throws:
              ContextNotActiveException - if the context is not active
              +
            • -
            - - - -
              -
            • -

              get

              -
              <T> T get​(Contextual<T> contextual)
              +
            • +
              +

              get

              +
              <T> T get(Contextual<T> contextual)
              Return an existing instance of a certain contextual type or a null value.
              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - the type of the contextual type
              -
              Parameters:
              +
              Parameters:
              contextual - the contextual type
              -
              Returns:
              +
              Returns:
              the contextual instance, or a null value
              -
              Throws:
              +
              Throws:
              ContextNotActiveException - if the context is not active
              +
            • -
            - - - -
              -
            • -

              isActive

              -
              boolean isActive()
              +
            • +
              +

              isActive

              +
              boolean isActive()
              Determines if the context object is active.
              -
              -
              Returns:
              +
              +
              Returns:
              true if the context is active, or false otherwise.
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/Contextual.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/Contextual.html index 9fce412935..a8ae18d9d5 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/Contextual.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/Contextual.html @@ -1,317 +1,190 @@ - - + Contextual (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Contextual<T>

    +
    Module jakarta.cdi
    + +

    Interface Contextual<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - type of the instance
      -
      +
      All Known Subinterfaces:
      Bean<T>, Decorator<T>, Interceptor<T>

      -
      public interface Contextual<T>
      +
      public interface Contextual<T>

      Defines operations to create and destroy contextual instances of a certain type. Any implementation of Contextual is called a contextual type. In particular, all beans are contextual types.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Nicklas Karlsson, Pete Muir
      -
      See Also:
      -
      Bean
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            create

            -
            T create​(CreationalContext<T> creationalContext)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              create

              +
              T create(CreationalContext<T> creationalContext)
              Create a new instance of the contextual type. Instances should use the given CreationalContext when obtaining contextual references to inject, in order to ensure that any dependent objects are associated with the contextual instance that is being created. An implementation may call CreationalContext.push(Object) between instantiation and injection to help the container minimize the use of client proxy objects.
              -
              -
              Parameters:
              +
              +
              Parameters:
              creationalContext - the context in which this instance is being created
              -
              Returns:
              +
              Returns:
              the contextual instance
              -
              Throws:
              +
              Throws:
              CreationException - if a checked exception occurs while creating the instance
              +
            • -
            - - - - - -
              -
            • -

              destroy

              -
              void destroy​(T instance,
              -             CreationalContext<T> creationalContext)
              +
            • +
              +

              destroy

              +
              void destroy(T instance, + CreationalContext<T> creationalContext)
              Destroy an instance of the contextual type. Implementations should call CreationalContext.release() to allow the container to destroy dependent objects of the contextual instance.
              -
              -
              Parameters:
              +
              +
              Parameters:
              instance - the contextual instance to destroy
              creationalContext - the context in which this instance was created
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/CreationalContext.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/CreationalContext.html index 91da700872..3f9b8ce57c 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/CreationalContext.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/CreationalContext.html @@ -1,298 +1,167 @@ - - + CreationalContext (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface CreationalContext<T>

    +
    Module jakarta.cdi
    + +

    Interface CreationalContext<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - type of the instances on which this CreationalContext operates

      -
      public interface CreationalContext<T>
      +
      public interface CreationalContext<T>

      Provides operations that are used by the Contextual implementation during instance creation and destruction.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethodDescription
          voidpush​(T incompleteInstance) +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          +
          void
          +
          push(T incompleteInstance)
          +
          Registers an incompletely initialized contextual instance the with the container.
          -
        • voidrelease() + +
          void
          + +
          Destroys all dependent objects of the instance which is being destroyed, by passing each dependent object to Contextual.destroy(Object, CreationalContext) .
          -
          -
        • -
        +
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - - - -
            -
          • -

            push

            -
            void push​(T incompleteInstance)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              push

              +
              void push(T incompleteInstance)
              Registers an incompletely initialized contextual instance the with the container. A contextual instance is considered incompletely initialized until it is returned by Contextual.create(CreationalContext) .
              -
              -
              Parameters:
              +
              +
              Parameters:
              incompleteInstance - the incompletely initialized instance
              +
            • -
            - - - - +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/AlterableContext.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/AlterableContext.html index 7e6258e74c..e846dfaff7 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/AlterableContext.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/AlterableContext.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.context.spi.AlterableContext (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.context.spi.AlterableContext

    +

    Uses of Interface
    jakarta.enterprise.context.spi.AlterableContext

    -
    No usage of jakarta.enterprise.context.spi.AlterableContext
    -
    +No usage of jakarta.enterprise.context.spi.AlterableContext
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/Context.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/Context.html index 7bf3962e10..6dc4b1ed29 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/Context.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/Context.html @@ -1,268 +1,140 @@ - - + Uses of Interface jakarta.enterprise.context.spi.Context (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.context.spi.Context

    +

    Uses of Interface
    jakarta.enterprise.context.spi.Context

    -
    -
    +
    -
  • -
    - - -

    Uses of Context in jakarta.enterprise.inject.spi

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi that return Context 
    Modifier and TypeMethodDescription
    ContextBeanContainer.getContext​(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType) +
  • +
    +

    Uses of Context in jakarta.enterprise.inject.spi

    +
    Methods in jakarta.enterprise.inject.spi that return Context
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    BeanContainer.getContext(Class<? extends Annotation> scopeType)
    +
    Obtains an active context object for the given scope .
    -
  • - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi that return types with arguments of type Context 
    Modifier and TypeMethodDescription
    java.util.Collection<Context>BeanContainer.getContexts​(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType) + + +
    Methods in jakarta.enterprise.inject.spi that return types with arguments of type Context
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    BeanContainer.getContexts(Class<? extends Annotation> scopeType)
    +
    Obtains all context objects, active and inactive, for the given scope.
    -
    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi with parameters of type Context 
    Modifier and TypeMethodDescription
    voidAfterBeanDiscovery.addContext​(Context context) + + +
    Methods in jakarta.enterprise.inject.spi with parameters of type Context
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    void
    +
    AfterBeanDiscovery.addContext(Context context)
    +
    Registers a custom Context object with the container.
    -
    +
  • +
    - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/Contextual.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/Contextual.html index 3639e74485..1ae63cca08 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/Contextual.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/Contextual.html @@ -1,283 +1,153 @@ - - + Uses of Interface jakarta.enterprise.context.spi.Contextual (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.context.spi.Contextual

    +

    Uses of Interface
    jakarta.enterprise.context.spi.Contextual

    -
    -
    +
    -
  • -
    - - -

    Uses of Contextual in jakarta.enterprise.inject.spi

    - - - - - - - - - - - - - - - - - - - - - - - - -
    Subinterfaces of Contextual in jakarta.enterprise.inject.spi 
    Modifier and TypeInterfaceDescription
    interface Bean<T> +
  • +
    +

    Uses of Contextual in jakarta.enterprise.inject.spi

    + +
    +
    Modifier and Type
    +
    Interface
    +
    Description
    +
    interface 
    +
    Bean<T>
    +
    Represents an enabled bean.
    -
  • interface Decorator<T> + +
    interface 
    + +
    Represents an enabled decorator.
    -
    interface Interceptor<T> + +
    interface 
    + +
    Represents an enabled interceptor.
    -
    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi with parameters of type Contextual 
    Modifier and TypeMethodDescription
    <T> CreationalContext<T>BeanContainer.createCreationalContext​(Contextual<T> contextual) + + +
    Methods in jakarta.enterprise.inject.spi with parameters of type Contextual
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    BeanContainer.createCreationalContext(Contextual<T> contextual)
    +
    Obtain an instance of a CreationalContext for the given contextual type, or for a non-contextual object.
    -
    +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/CreationalContext.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/CreationalContext.html index 81ea570c0b..70d082f16d 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/CreationalContext.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/class-use/CreationalContext.html @@ -1,345 +1,197 @@ - - + Uses of Interface jakarta.enterprise.context.spi.CreationalContext (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.context.spi.CreationalContext

    +

    Uses of Interface
    jakarta.enterprise.context.spi.CreationalContext

    -
    -
    +
    -
  • -
    - - -

    Uses of CreationalContext in jakarta.enterprise.inject.spi

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi that return CreationalContext 
    Modifier and TypeMethodDescription
    <T> CreationalContext<T>BeanContainer.createCreationalContext​(Contextual<T> contextual) +
  • +
    +

    Uses of CreationalContext in jakarta.enterprise.inject.spi

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    BeanContainer.createCreationalContext(Contextual<T> contextual)
    +
    Obtain an instance of a CreationalContext for the given contextual type, or for a non-contextual object.
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi with parameters of type CreationalContext 
    Modifier and TypeMethodDescription
    <T> InterceptionFactory<T>BeanManager.createInterceptionFactory​(CreationalContext<T> ctx, - java.lang.Class<T> clazz) + + +
    Methods in jakarta.enterprise.inject.spi with parameters of type CreationalContext
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    BeanManager.createInterceptionFactory(CreationalContext<T> ctx, + Class<T> clazz)
    +
    Create an InterceptionFactory for the given CreationalContext and type.
    -
    java.lang.ObjectBeanManager.getInjectableReference​(InjectionPoint ij, - CreationalContext<?> ctx) + + + +
    Obtains an injectable reference for a certain injection point.
    -
    java.lang.ObjectBeanContainer.getReference​(Bean<?> bean, - java.lang.reflect.Type beanType, - CreationalContext<?> ctx) + + +
    BeanContainer.getReference(Bean<?> bean, + Type beanType, + CreationalContext<?> ctx)
    +
    Obtains a contextual reference for a certain bean and a certain bean type of the bean.
    -
    voidInjectionTarget.inject​(T instance, - CreationalContext<T> ctx) + +
    void
    +
    InjectionTarget.inject(T instance, + CreationalContext<T> ctx)
    +
    Performs dependency injection upon the given object.
    -
    TProducer.produce​(CreationalContext<T> ctx) + + +
    Producer.produce(CreationalContext<T> ctx)
    +
    Causes an instance to be produced via the Producer.
    -
    +
  • + -
  • -
    - - -

    Uses of CreationalContext in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - - - - - - - - - - - -
    Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type CreationalContext 
    Modifier and TypeMethodDescription
    <U extends T>
    BeanConfigurator<U>
    BeanConfigurator.createWith​(java.util.function.Function<CreationalContext<U>,​U> callback) +
  • +
    +

    Uses of CreationalContext in jakarta.enterprise.inject.spi.configurator

    +
    Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type CreationalContext
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    <U extends T>
    BeanConfigurator<U>
    +
    BeanConfigurator.createWith(Function<CreationalContext<U>,U> callback)
    +
    Set a callback to create a bean instance.
    -
  • BeanConfigurator<T>BeanConfigurator.destroyWith​(java.util.function.BiConsumer<T,​CreationalContext<T>> callback) + + +
    BeanConfigurator.destroyWith(BiConsumer<T,CreationalContext<T>> callback)
    +
    Set a callback to destroy a bean instance.
    -
    <U extends T>
    ProducerConfigurator<T>
    ProducerConfigurator.produceWith​(java.util.function.Function<CreationalContext<U>,​U> callback) + + +
    ProducerConfigurator.produceWith(Function<CreationalContext<U>,U> callback)
    +
    Set a callback to produce a new instance.
    -
    + +
  • - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/package-summary.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/package-summary.html index b8621f1cdf..7c95aa7bba 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/package-summary.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/package-summary.html @@ -1,217 +1,153 @@ - - + jakarta.enterprise.context.spi (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -
    Module jakarta.cdi
    -

    Package jakarta.enterprise.context.spi

    -
    -
    -
    - - -

    The custom context SPI.

    - -

    Associated with every - scope type is a +

    Module jakarta.cdi
    +

    Package jakarta.enterprise.context.spi

    +
    +
    +
    package jakarta.enterprise.context.spi
    +
    +

    + The custom context SPI. +

    + +

    + Associated with every + scope type is a context object. - The context object implements the semantics of the scope type.

    - -

    The context implementation collaborates with the container via - the Context and - Contextual - interfaces to create and destroy contextual instances.

    -
    -
    See Also:
    -
    jakarta.enterprise.context, -jakarta.enterprise.inject.spi
    + The context object implements the semantics of the scope type. +

    + +

    + The context implementation collaborates with the container via + the Context and + Contextual + interfaces to create and destroy contextual instances. +

    +
    +
    See Also:
    +
    + +
    -
      -
    • - - - - - - - - - - - - - - - - - - - - - - - - -
      Interface Summary 
      InterfaceDescription
      AlterableContext +
      +
      Context + + +
      Provides an operation for obtaining contextual instances with a particular scope of any contextual type.
      -
      Contextual<T> + + +
      Defines operations to create and destroy contextual instances of a certain type.
      -
      CreationalContext<T> + + +
      Provides operations that are used by the Contextual implementation during instance creation and destruction.
      -
      +
    +
    + - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/package-tree.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/package-tree.html index c38c90d3c9..2aed1b6ead 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/package-tree.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/package-tree.html @@ -1,170 +1,80 @@ - - + jakarta.enterprise.context.spi Class Hierarchy (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Hierarchy For Package jakarta.enterprise.context.spi

    -Package Hierarchies: +Package Hierarchies:
    -
    -
    +

    Interface Hierarchy

    -
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/package-use.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/package-use.html index eae7867242..c487a49b03 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/package-use.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/context/spi/package-use.html @@ -1,274 +1,150 @@ - - + Uses of Package jakarta.enterprise.context.spi (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Uses of Package
    jakarta.enterprise.context.spi

    -
    -
    +
    + -
  • - - - - - - - - - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.context.spi used by jakarta.enterprise.inject.spi 
    ClassDescription
    Context +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Provides an operation for obtaining contextual instances with a particular scope of any contextual type.
    -
  • Contextual + + +
    Defines operations to create and destroy contextual instances of a certain type.
    -
    CreationalContext + + +
    Provides operations that are used by the Contextual implementation during instance creation and destruction.
    -
    +
  • +
    + -
  • - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.context.spi used by jakarta.enterprise.inject.spi.configurator 
    ClassDescription
    CreationalContext +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Provides operations that are used by the Contextual implementation during instance creation and destruction.
    -
  • + + +
  • - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Event.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Event.html index cc258d18ea..75a4132062 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Event.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Event.html @@ -1,517 +1,370 @@ - - + Event (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Event<T>

    +
    Module jakarta.cdi
    + +

    Interface Event<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the type of the event object

      -
      public interface Event<T>
      +
      public interface Event<T>

      Allows the application to fire events of a particular type.

      - +

      Beans fire events via an instance of the Event interface, which may be injected:

      - +
        @Inject
        @Any
        Event<LoggedInEvent> loggedInEvent;
        
      - +

      The fire() method accepts an event object:

      - +
      - public void login() { 
      + public void login() {
           ...
           loggedInEvent.fire( new LoggedInEvent(user) );
        }
        
      - +

      Any combination of qualifiers may be specified at the injection point:

      - +
        @Inject
        @Admin
        Event<LoggedInEvent> adminLoggedInEvent;
        
      - +

      Or, the @Any qualifier may be used, allowing the application to specify qualifiers dynamically:

      - +
        @Inject
        @Any
        Event<LoggedInEvent> loggedInEvent;
        
      - +

      For an injected Event:

      - +
      • the specified type is the type parameter specified at the injection point, and
      • the specified qualifiers are the qualifiers specified at the injection point.
      - +

      - Events may also be fired asynchronously with fireAsync(Object) and fireAsync(Object, NotificationOptions) methods + Events may also be fired asynchronously with fireAsync(Object) and fireAsync(Object, NotificationOptions) + methods

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir, David Allen, Antoine Sabot-Durand
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethodDescription
          voidfire​(T event) +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          +
          void
          +
          fire(T event)
          +
          Fires an event with the specified qualifiers and notifies observers.
          -
        • <U extends T>
          java.util.concurrent.CompletionStage<U>
          fireAsync​(U event) + +
          <U extends T>
          CompletionStage<U>
          +
          fireAsync(U event)
          +
          Fires an event asynchronously with the specified qualifiers and notifies asynchronous observers.
          -
          <U extends T>
          java.util.concurrent.CompletionStage<U>
          fireAsync​(U event, - NotificationOptions options) + +
          <U extends T>
          CompletionStage<U>
          +
          fireAsync(U event, + NotificationOptions options)
          +
          Fires an event asynchronously with the specified qualifiers and notifies asynchronous observers.
          -
          <U extends T>
          Event<U>
          select​(TypeLiteral<U> subtype, - java.lang.annotation.Annotation... qualifiers) + +
          <U extends T>
          Event<U>
          +
          select(TypeLiteral<U> subtype, + Annotation... qualifiers)
          +
          Obtains a child Event for the given required type and additional required qualifiers.
          -
          Event<T>select​(java.lang.annotation.Annotation... qualifiers) + + +
          select(Annotation... qualifiers)
          +
          Obtains a child Event for the given additional required qualifiers.
          -
          <U extends T>
          Event<U>
          select​(java.lang.Class<U> subtype, - java.lang.annotation.Annotation... qualifiers) + +
          <U extends T>
          Event<U>
          +
          select(Class<U> subtype, + Annotation... qualifiers)
          +
          Obtains a child Event for the given required type and additional required qualifiers.
          -
          -
        • -
        +
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - - - -
            -
          • -

            fire

            -
            void fire​(T event)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              fire

              +
              void fire(T event)

              Fires an event with the specified qualifiers and notifies observers.

              -
              -
              Parameters:
              +
              +
              Parameters:
              event - the event object
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if the runtime type of the event object contains a type variable
              +
              Throws:
              +
              IllegalArgumentException - if the runtime type of the event object contains a type variable
              ObserverException - if a notified observer throws a checked exception, it will be wrapped and rethrown as an (unchecked) ObserverException
              +
            • -
            - - - - - -
              -
            • -

              fireAsync

              -
              <U extends T> java.util.concurrent.CompletionStage<U> fireAsync​(U event)
              +
            • +
              +

              fireAsync

              +
              <U extends T> CompletionStage<U> fireAsync(U event)

              Fires an event asynchronously with the specified qualifiers and notifies asynchronous observers.

              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              U - event type
              -
              Parameters:
              +
              Parameters:
              event - the event object
              -
              Returns:
              -
              a CompletionStage allowing further pipeline composition on the asynchronous operation. +
              Returns:
              +
              a CompletionStage allowing further pipeline composition on the asynchronous operation. Default asynchronous execution facility is container specific. If any observer notified by this event throws an exception - then the resulting CompletionStage is completed exceptionally with CompletionException + then the resulting CompletionStage is completed exceptionally with + CompletionException that wraps all the exceptions raised by observers as suppressed exception. - If no exception is thrown by observers then the resulting CompletionStage is completed normally with the event payload.
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if the runtime type of the event object contains a type variable
              -
              Since:
              + If no exception is thrown by observers then the resulting CompletionStage is completed normally with the event + payload. +
              Throws:
              +
              IllegalArgumentException - if the runtime type of the event object contains a type variable
              +
              Since:
              2.0
              +
            • -
            - - - - - -
              -
            • -

              fireAsync

              -
              <U extends T> java.util.concurrent.CompletionStage<U> fireAsync​(U event,
              -                                                                NotificationOptions options)
              +
            • +
              +

              fireAsync

              +
              <U extends T> CompletionStage<U> fireAsync(U event, + NotificationOptions options)

              Fires an event asynchronously with the specified qualifiers and notifies asynchronous observers. - A custom Executor will be used to make asynchronous calls + A custom Executor will be used to make asynchronous calls

              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              U - event type
              -
              Parameters:
              +
              Parameters:
              event - the event object
              options - the notification options
              -
              Returns:
              -
              a CompletionStage allowing further pipeline composition on the asynchronous operation. +
              Returns:
              +
              a CompletionStage allowing further pipeline composition on the asynchronous operation. Default asynchronous execution facility is container specific. If any observer notified by this event throws an exception - then the resulting CompletionStage is completed exceptionally with CompletionException + then the resulting CompletionStage is completed exceptionally with + CompletionException that wraps all the exceptions raised by observers as suppressed exception. - If no exception is thrown by observers then the resulting CompletionStage is completed normally with the event payload.
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if the runtime type of the event object contains a type variable
              -
              Since:
              + If no exception is thrown by observers then the resulting CompletionStage is completed normally with the event + payload. +
              Throws:
              +
              IllegalArgumentException - if the runtime type of the event object contains a type variable
              +
              Since:
              2.0
              +
            • -
            - - - -
              -
            • -

              select

              -
              Event<T> select​(java.lang.annotation.Annotation... qualifiers)
              +
            • +
              +

              select

              +
              Event<T> select(Annotation... qualifiers)

              Obtains a child Event for the given additional required qualifiers.

              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifiers - the additional specified qualifiers
              -
              Returns:
              +
              Returns:
              the child Event
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if passed two instances of the same non repeating qualifier type, or an instance of an annotation that +
              Throws:
              +
              IllegalArgumentException - if passed two instances of the same non repeating qualifier type, or an instance of an + annotation that is not a qualifier type
              +
            • -
            - - - -
              -
            • -

              select

              -
              <U extends TEvent<U> select​(java.lang.Class<U> subtype,
              -                              java.lang.annotation.Annotation... qualifiers)
              +
            • +
              +

              select

              +
              <U extends T> Event<U> select(Class<U> subtype, + Annotation... qualifiers)

              Obtains a child Event for the given required type and additional required qualifiers.

              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              U - the specified type
              -
              Parameters:
              -
              subtype - a Class representing the specified type
              +
              Parameters:
              +
              subtype - a Class representing the specified type
              qualifiers - the additional specified qualifiers
              -
              Returns:
              +
              Returns:
              the child Event
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if passed two instances of the same non repeating qualifier type, or an instance of an annotation that +
              Throws:
              +
              IllegalArgumentException - if passed two instances of the same non repeating qualifier type, or an instance of an + annotation that is not a qualifier type
              +
            • -
            - - - -
              -
            • -

              select

              -
              <U extends TEvent<U> select​(TypeLiteral<U> subtype,
              -                              java.lang.annotation.Annotation... qualifiers)
              +
            • +
              +

              select

              +
              <U extends T> Event<U> select(TypeLiteral<U> subtype, + Annotation... qualifiers)

              Obtains a child Event for the given required type and additional required qualifiers.

              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              U - the specified type
              -
              Parameters:
              +
              Parameters:
              subtype - a TypeLiteral representing the specified type
              qualifiers - the additional specified qualifiers
              -
              Returns:
              +
              Returns:
              the child Event
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if passed two instances of the same non repeating qualifier type, or an instance of an annotation that +
              Throws:
              +
              IllegalArgumentException - if passed two instances of the same non repeating qualifier type, or an instance of an + annotation that is not a qualifier type
              -
            • -
            +
      -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/NotificationOptions.Builder.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/NotificationOptions.Builder.html index 0176788d7b..1122bc0440 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/NotificationOptions.Builder.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/NotificationOptions.Builder.html @@ -1,297 +1,189 @@ - - + NotificationOptions.Builder (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface NotificationOptions.Builder

    +
    Module jakarta.cdi
    + +

    Interface NotificationOptions.Builder

    -
    -
    -
      -
    • -
      +
      +
      Enclosing interface:
      NotificationOptions

      -
      public static interface NotificationOptions.Builder
      +
      public static interface NotificationOptions.Builder
      Notification options builder.
      -
      -
      Since:
      +
      +
      Since:
      2.0
      -
      Author:
      +
      Author:
      Martin Kouba
      -
    • -
    -
    -
    -
    -
    -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/NotificationOptions.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/NotificationOptions.html index a0a72e3250..79dcc72b65 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/NotificationOptions.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/NotificationOptions.html @@ -1,375 +1,227 @@ - - + NotificationOptions (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface NotificationOptions

    +
    Module jakarta.cdi
    + +

    Interface NotificationOptions

    -
    -
    -
    -
    -
      -
    • + + + +
      +
        -
        -
          -
        • - - -

          Nested Class Summary

          - - - - - - - - - - - - -
          Nested Classes 
          Modifier and TypeInterfaceDescription
          static interface NotificationOptions.Builder +
        • +
          +

          Nested Class Summary

          +
          Nested Classes
          +
          +
          Modifier and Type
          +
          Interface
          +
          Description
          +
          static interface 
          + +
          Notification options builder.
          -
        • -
        • -
        +
    +
    - -
    - + +
  • +
    +

    Method Summary

    +
    +
    +
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + + +
     
    + +
    get(String optionName)
    +
     
    + + +
     
    + +
    of(String optionName, + Object optionValue)
    +
     
    + +
    ofExecutor(Executor executor)
    +
     
    +
    +
    +
  • -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getExecutor

            -
            java.util.concurrent.Executor getExecutor()
            -
            -
            Returns:
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getExecutor

              +
              Executor getExecutor()
              +
              +
              Returns:
              the executor used to execute an asynchronous event
              +
            • -
            - - - -
              -
            • -

              get

              -
              java.lang.Object get​(java.lang.String optionName)
              -
              -
              Parameters:
              +
            • +
              +

              get

              +
              Object get(String optionName)
              +
              +
              Parameters:
              optionName - name of the option to get value of
              -
              Returns:
              +
              Returns:
              the value of an option or null if no option for the given name exists
              +
            • -
            - - - -
              -
            • -

              ofExecutor

              -
              static NotificationOptions ofExecutor​(java.util.concurrent.Executor executor)
              -
              -
              Parameters:
              -
              executor - a specific Executor to handle observer notification
              -
              Returns:
              +
            • +
              +

              ofExecutor

              +
              static NotificationOptions ofExecutor(Executor executor)
              +
              +
              Parameters:
              +
              executor - a specific Executor to handle observer notification
              +
              Returns:
              an immutable holder of an executor
              +
            • -
            - - - -
              -
            • -

              of

              -
              static NotificationOptions of​(java.lang.String optionName,
              -                              java.lang.Object optionValue)
              -
              -
              Parameters:
              +
            • +
              +

              of

              +
              static NotificationOptions of(String optionName, + Object optionValue)
              +
              +
              Parameters:
              optionName - name of the option to set
              optionValue - value for the option
              -
              Returns:
              +
              Returns:
              an immutable holder of a single option
              +
            • -
            - - - - +
      -
    -
    - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/ObserverException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/ObserverException.html index 11ac20db0e..1c52e3adfd 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/ObserverException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/ObserverException.html @@ -1,350 +1,212 @@ - - + ObserverException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Class ObserverException

    +
    Module jakarta.cdi
    + +

    Class ObserverException

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • java.lang.Throwable
      • -
      • -
          -
        • java.lang.Exception
        • -
        • -
            -
          • java.lang.RuntimeException
          • -
          • -
              -
            • jakarta.enterprise.event.ObserverException
            • -
            -
          • -
          -
        • -
        -
      • -
      -
    • -
    -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            ObserverException

            -
            public ObserverException()
            -
          • -
          - - - -
            -
          • -

            ObserverException

            -
            public ObserverException​(java.lang.String message)
            +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              ObserverException

              +
              public ObserverException()
              +
              Creates the exception with no detail message or cause.
              +
            • -
            - - - -
              -
            • -

              ObserverException

              -
              public ObserverException​(java.lang.Throwable cause)
              +
            • +
              +

              ObserverException

              +
              public ObserverException(String message)
              +
              Creates the exception with given detail message.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              +
            • -
            - - - -
              -
            • -

              ObserverException

              -
              public ObserverException​(java.lang.String message,
              -                         java.lang.Throwable cause)
              +
            • +
              +

              ObserverException

              +
              public ObserverException(Throwable cause)
              +
              Creates the exception with given cause.
              +
              +
              Parameters:
              +
              cause - the cause
              +
              +
            • -
            +
          • +
            +

            ObserverException

            +
            public ObserverException(String message, + Throwable cause)
            +
            Creates the exception with given detail message and cause.
            +
            +
            Parameters:
            +
            message - the detail message
            +
            cause - the cause
            +
            +
      -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Observes.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Observes.html index e41b767c4e..926f071a8a 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Observes.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Observes.html @@ -1,358 +1,224 @@ - - + Observes (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Observes

    +
    Module jakarta.cdi
    + +

    Annotation Type Observes

    -
    -
    -
      -
    • +

      -
      @Target(PARAMETER)
      -@Retention(RUNTIME)
      -@Documented
      -public @interface Observes
      +
      @Target(PARAMETER) +@Retention(RUNTIME) +@Documented +public @interface Observes

      Identifies the event parameter of an observer method. May be applied to a parameter of a method of a bean class or extension.

      - +
        public void afterLogin(@Observes LoggedInEvent event) { ... }
        
      - +

      An observer method is a non-abstract method of a managed bean class or session bean class (or of an extension). An observer method may be either static or non-static. If the bean is a session bean, the observer method must be either a business method of the EJB or a static method of the bean class.

      - +

      Each observer method must have exactly one event parameter, of the same type as the event type it observes. Event qualifiers may be declared by annotating the event parameter. When searching for observer methods for an event, the container considers the type and qualifiers of the event parameter.

      - +

      If the event parameter does not explicitly declare any qualifier, the observer method observes events with no qualifier.

      - +

      The event parameter type may contain a type variable or wildcard.

      - +

      In addition to the event parameter, observer methods may declare additional parameters, which may declare qualifiers. These additional parameters are injection points.

      - +
        public void afterLogin(@Observes LoggedInEvent event, @Manager User user, Logger log) { ... }
        
      - +

      A bean (or extension) may declare multiple observer methods.

      - +

      Observer methods are inherited by bean subclasses.

      - +

      Interceptors and decorators may not declare observer methods.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir, David Allen
      -
    • -
    -
    -
    -
    +
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Element Detail

          - - - -
            -
          • -

            notifyObserver

            -
            Reception notifyObserver
            +
          • +
            +

            Element Details

            +
              +
            • +
              +

              notifyObserver

              +
              Reception notifyObserver

              Specifies under what conditions the observer method is notified.

              - +

              By default, the observer method is notified even if no instance of the bean that defines the observer method already exists in the current context.

              -
              -
              Returns:
              +
              +
              Returns:
              conditional observer type
              -
              +
              Default:
              -
              jakarta.enterprise.event.Reception.ALWAYS
              +
              ALWAYS
              -
            • -
            -
          • -
        -
        -
    -
    -
    - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/ObservesAsync.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/ObservesAsync.html index ad9b31a2bb..9560119d6d 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/ObservesAsync.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/ObservesAsync.html @@ -1,320 +1,196 @@ - - + ObservesAsync (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type ObservesAsync

    +
    Module jakarta.cdi
    + +

    Annotation Type ObservesAsync

    -
    -
    -
      -
    • +

      -
      @Target(PARAMETER)
      -@Retention(RUNTIME)
      -@Documented
      -public @interface ObservesAsync
      +
      @Target(PARAMETER) +@Retention(RUNTIME) +@Documented +public @interface ObservesAsync

      - Identifies the event parameter of an asynchronous observer method. May be applied to a parameter of a method of a bean class + Identifies the event parameter of an asynchronous observer method. May be applied to a parameter of a method of a bean class

      - +
        public void afterLogin(@ObservesAsync LoggedInEvent event) { ... }
        
      - +

      An observer method is a non-abstract method of a managed bean class or session bean class (or of an extension). An observer method may be either static or non-static. If the bean is a session bean, the observer method must be either a business method of the EJB or a static method of the bean class.

      - +

      Each observer method must have exactly one event parameter, of the same type as the event type it observes. Event qualifiers may be declared by annotating the event parameter. When searching for observer methods for an event, the container considers the type and qualifiers of the event parameter.

      - +

      If the event parameter does not explicitly declare any qualifier, the observer method observes events with no qualifier.

      - +

      The event parameter type may contain a type variable or wildcard.

      - +

      In addition to the event parameter, observer methods may declare additional parameters, which may declare qualifiers. These additional parameters are injection points.

      - +
        public void afterLogin(@ObservesAsync LoggedInEvent event, @Manager User user, Logger log) { ... }
        
      - +

      A bean (or extension) may declare multiple observer methods.

      - +

      Observer methods are inherited by bean subclasses.

      - +

      Interceptors and decorators may not declare observer methods.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir, David Allen
      -
    • -
    -
    -
    -
    +
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Element Detail

          - - - -
            -
          • -

            notifyObserver

            -
            Reception notifyObserver
            +
          • +
            +

            Element Details

            +
              +
            • +
              +

              notifyObserver

              +
              Reception notifyObserver

              Specifies under what conditions the observer method is notified.

              - +

              By default, the observer method is notified even if no instance of the bean that defines the observer method already exists in the current context.

              -
              -
              Returns:
              +
              +
              Returns:
              conditional observer type
              -
              +
              Default:
              -
              jakarta.enterprise.event.Reception.ALWAYS
              +
              ALWAYS
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Reception.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Reception.html index cad38904d2..4e7ce8d539 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Reception.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Reception.html @@ -1,272 +1,180 @@ - - + Reception (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Enum Reception

    +
    Module jakarta.cdi
    + +

    Enum Reception

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • java.lang.Enum<Reception>
      • -
      • -
          -
        • jakarta.enterprise.event.Reception
        • -
        -
      • -
      -
    • -
    -
    -
      -
    • -
      +
      java.lang.Object +
      java.lang.Enum<Reception> +
      jakarta.enterprise.event.Reception
      +
      +
      +
      +
      All Implemented Interfaces:
      -
      java.io.Serializable, java.lang.Comparable<Reception>
      +
      Serializable, Comparable<Reception>

      -
      public enum Reception
      -extends java.lang.Enum<Reception>
      +
      public enum Reception +extends Enum<Reception>

      Distinguishes conditional observer methods from observer methods which are always notified.

      - +

      A conditional observer method is an observer method which is notified of an event only if an instance of the bean that defines the observer method already exists in the current context.

      - +

      Beans with scope @Dependent may not have conditional observer methods.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Dan Allen, David Allen
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Enum Constant Summary

          - - - - - - - - - - - - - - -
          Enum Constants 
          Enum ConstantDescription
          ALWAYS +
        • +
          +

          Enum Constant Summary

          +
          Enum Constants
          +
          +
          Enum Constant
          +
          Description
          + +
          Specifies that an observer method always receives event notifications.
          -
        • IF_EXISTS + + +
          Specifies that an observer method is only called if the current instance of the bean declaring the observer method already exists.
          -
          -
        • -
        +
    +
    + -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static ReceptionvalueOf​(java.lang.String name) +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      +
      static Reception
      + +
      Returns the enum constant of this type with the specified name.
      -
    • static Reception[]values() + +
      static Reception[]
      + +
      Returns an array containing the constants of this enum type, in the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    +
    + + + +
    +

    Methods inherited from class java.lang.Enum

    +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
    +
    +

    Methods inherited from class java.lang.Object

    +getClass, notify, notifyAll, wait, wait, wait
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Enum Constant Detail

          - - - -
            -
          • -

            IF_EXISTS

            -
            public static final Reception IF_EXISTS
            +
          • +
            +

            Enum Constant Details

            +
              +
            • +
              +

              IF_EXISTS

              +
              public static final Reception IF_EXISTS

              Specifies that an observer method is only called if the current instance of the bean declaring the observer method already exists. @@ -275,142 +183,66 @@

              IF_EXISTS

              If there is no active context for the scope to which the bean declaring this observer method belongs, then the observer method is not called.

              +
            • -
            - - - -
              -
            • -

              ALWAYS

              -
              public static final Reception ALWAYS
              +
            • +
              +

              ALWAYS

              +
              public static final Reception ALWAYS
              Specifies that an observer method always receives event notifications.
              -
            • -
            +
        + -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            values

            -
            public static Reception[] values()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              values

              +
              public static Reception[] values()
              Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
              -for (Reception c : Reception.values())
              -    System.out.println(c);
              -
              -
              -
              Returns:
              +the order they are declared.
    +
    +
    Returns:
    an array containing the constants of this enum type, in the order they are declared
    + - - - - -
      -
    • -

      valueOf

      -
      public static Reception valueOf​(java.lang.String name)
      +
    • +
      +

      valueOf

      +
      public static Reception valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      -
      -
      Parameters:
      +
      +
      Parameters:
      name - the name of the enum constant to be returned.
      -
      Returns:
      +
      Returns:
      the enum constant with the specified name
      -
      Throws:
      -
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      -
      java.lang.NullPointerException - if the argument is null
      +
      Throws:
      +
      IllegalArgumentException - if this enum type has no constant with the specified name
      +
      NullPointerException - if the argument is null
      -
    • -
    + - - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Shutdown.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Shutdown.html index d376e60075..1a29545803 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Shutdown.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Shutdown.html @@ -1,136 +1,83 @@ - - + Shutdown (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class Shutdown

    +
    Module jakarta.cdi
    + +

    Class Shutdown

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • jakarta.enterprise.event.Shutdown
      • -
      -
    • -
    -
    -
      -
    • +
      java.lang.Object +
      jakarta.enterprise.event.Shutdown
      +
      +

      -
      public class Shutdown
      -extends java.lang.Object
      +
      public class Shutdown +extends Object

      A CDI event with payload of type Shutdown and qualifier Any is synchronously fired by CDI container during application shutdown. @@ -152,144 +99,58 @@

      Class Shutdown

      recommended for user applications and higher numbers for platform/framework/library integration.

      See also Interceptor.Priority
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Summary

          - - - - - - - - - - -
          Constructors 
          ConstructorDescription
          Shutdown() 
          -
        • -
        +
      • +
        +

        Constructor Summary

        +
        Constructors
        +
        +
        Constructor
        +
        Description
        + +
         
        +
        - -
        -
          -
        • - - -

          Method Summary

          -
            -
          • - - -

            Methods inherited from class java.lang.Object

            -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
          • -
        • -
        + +
      • +
        +

        Method Summary

        +
        +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            Shutdown

            -
            public Shutdown()
            -
          • -
          +
        • +
          +

          Constructor Details

          +
            +
          • +
            +

            Shutdown

            +
            public Shutdown()
            +
        -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Startup.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Startup.html index f69fdcf295..b1dbcc9e78 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Startup.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/Startup.html @@ -1,136 +1,83 @@ - - + Startup (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class Startup

    +
    Module jakarta.cdi
    + +

    Class Startup

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • jakarta.enterprise.event.Startup
      • -
      -
    • -
    -
    -
      -
    • +
      java.lang.Object +
      jakarta.enterprise.event.Startup
      +
      +

      -
      public class Startup
      -extends java.lang.Object
      +
      public class Startup +extends Object

      A CDI event with payload of type Startup and qualifier Any is synchronously fired by CDI container during application initialization. @@ -152,144 +99,58 @@

      Class Startup

      recommended for platform/framework/library integration and higher numbers for user applications.

      See also Interceptor.Priority
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Summary

          - - - - - - - - - - -
          Constructors 
          ConstructorDescription
          Startup() 
          -
        • -
        +
      • +
        +

        Constructor Summary

        +
        Constructors
        +
        +
        Constructor
        +
        Description
        + +
         
        +
        - -
        -
          -
        • - - -

          Method Summary

          -
            -
          • - - -

            Methods inherited from class java.lang.Object

            -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
          • -
        • -
        + +
      • +
        +

        Method Summary

        +
        +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            Startup

            -
            public Startup()
            -
          • -
          +
        • +
          +

          Constructor Details

          +
            +
          • +
            +

            Startup

            +
            public Startup()
            +
        -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/TransactionPhase.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/TransactionPhase.html index b9eaa9b59b..6d7199d18f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/TransactionPhase.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/TransactionPhase.html @@ -1,151 +1,93 @@ - - + TransactionPhase (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Enum TransactionPhase

    +
    Module jakarta.cdi
    + +

    Enum TransactionPhase

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • java.lang.Enum<TransactionPhase>
      • -
      • -
          -
        • jakarta.enterprise.event.TransactionPhase
        • -
        -
      • -
      -
    • -
    -
    -
      -
    • -
      +
      java.lang.Object +
      java.lang.Enum<TransactionPhase> +
      jakarta.enterprise.event.TransactionPhase
      +
      +
      +
      +
      All Implemented Interfaces:
      -
      java.io.Serializable, java.lang.Comparable<TransactionPhase>
      +
      Serializable, Comparable<TransactionPhase>

      -
      public enum TransactionPhase
      -extends java.lang.Enum<TransactionPhase>
      +
      public enum TransactionPhase +extends Enum<TransactionPhase>

      Distinguishes the various kinds of transactional observer methods from regular observer methods which are notified immediately. @@ -154,154 +96,113 @@

      Enum TransactionPhase

      Transactional observer methods are observer methods which receive event notifications during the before or after completion phase of the transaction in which the event was fired. If no transaction is in progress when the event is fired, they are notified at the same time as other observers. - If the transaction is in progress, but jakarta.transaction.Synchronization callback cannot be registered due to the transaction being already - marked for rollback or in state where jakarta.transaction.Synchronization callbacks cannot be registered, the BEFORE_COMPLETION, + If the transaction is in progress, but jakarta.transaction.Synchronization callback cannot be registered due to the + transaction being already + marked for rollback or in state where jakarta.transaction.Synchronization callbacks cannot be registered, the + BEFORE_COMPLETION, AFTER_COMPLETION and AFTER_FAILURE observer methods are notified at the same time as other observers, but AFTER_SUCCESS observer methods get skipped.

      -
      -
      Author:
      +
      +
      Author:
      Pete Muir, Gavin King
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Enum Constant Summary

          - - - - - - - - - - - - - - - - - - - - - - - - - - -
          Enum Constants 
          Enum ConstantDescription
          AFTER_COMPLETION +
        • +
          +

          Enum Constant Summary

          +
          Enum Constants
          +
          +
          Enum Constant
          +
          Description
          + +
          Identifies an after completion observer method, called during the after completion phase of the transaction.
          -
        • AFTER_FAILURE + + +
          Identifies an after failure observer method, called during the after completion phase of the transaction, only when the transaction fails.
          -
          AFTER_SUCCESS + + +
          Identifies an after success observer method, called during the after completion phase of the transaction, only when the transaction completes successfully.
          -
          BEFORE_COMPLETION + + +
          Identifies a before completion observer method, called during the before completion phase of the transaction.
          -
          IN_PROGRESS + + +
          Identifies a regular observer method, called when the event is fired.
          -
          -
        • -
        +
    +
    + -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static TransactionPhasevalueOf​(java.lang.String name) +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      + + +
      Returns the enum constant of this type with the specified name.
      -
    • static TransactionPhase[]values() + + + +
      Returns an array containing the constants of this enum type, in the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    +
    + + + +
    +

    Methods inherited from class java.lang.Enum

    +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
    +
    +

    Methods inherited from class java.lang.Object

    +getClass, notify, notifyAll, wait, wait, wait
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Enum Constant Detail

          - - - -
            -
          • -

            IN_PROGRESS

            -
            public static final TransactionPhase IN_PROGRESS
            +
          • +
            +

            Enum Constant Details

            +
              +
            • +
              +

              IN_PROGRESS

              +
              public static final TransactionPhase IN_PROGRESS

              Identifies a regular observer method, called when the event is fired.

              +
            • -
            - - - -
              -
            • -

              BEFORE_COMPLETION

              -
              public static final TransactionPhase BEFORE_COMPLETION
              +
            • +
              +

              BEFORE_COMPLETION

              +
              public static final TransactionPhase BEFORE_COMPLETION

              Identifies a before completion observer method, called during the before completion phase of the transaction.

              @@ -310,15 +211,12 @@

              BEFORE_COMPLETION

              but jakarta.transaction.Synchronization callback cannot be registered due to the transaction being already marked for rollback or in state where jakarta.transaction.Synchronization callbacks cannot be registered.

              +
            • -
            - - - -
              -
            • -

              AFTER_COMPLETION

              -
              public static final TransactionPhase AFTER_COMPLETION
              +
            • +
              +

              AFTER_COMPLETION

              +
              public static final TransactionPhase AFTER_COMPLETION

              Identifies an after completion observer method, called during the after completion phase of the transaction.

              @@ -327,163 +225,85 @@

              AFTER_COMPLETION

              but jakarta.transaction.Synchronization callback cannot be registered due to the transaction being already marked for rollback or in state where jakarta.transaction.Synchronization callbacks cannot be registered.

              +
            • -
            - - - -
              -
            • -

              AFTER_FAILURE

              -
              public static final TransactionPhase AFTER_FAILURE
              +
            • +
              +

              AFTER_FAILURE

              +
              public static final TransactionPhase AFTER_FAILURE

              Identifies an after failure observer method, called during the after completion phase of the transaction, only when the transaction fails.

              - Transactional observer will be notified will also get invoked if there is no transaction in progress, or the transaction is in progress, - but jakarta.transaction.Synchronization callback cannot be registered due to the transaction being already - marked for rollback or in state where jakarta.transaction.Synchronization callbacks cannot be registered. + Transactional observer will be notified will also get invoked if there is no transaction in progress, or the transaction + is in progress, but jakarta.transaction.Synchronization callback cannot be registered due to the transaction + being already marked for rollback or in state where jakarta.transaction.Synchronization callbacks cannot be + registered.

              +
            • -
            - - - -
              -
            • -

              AFTER_SUCCESS

              -
              public static final TransactionPhase AFTER_SUCCESS
              +
            • +
              +

              AFTER_SUCCESS

              +
              public static final TransactionPhase AFTER_SUCCESS

              Identifies an after success observer method, called during the after completion phase of the transaction, only when the transaction completes successfully.

              -
            • -
            +
        + -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            values

            -
            public static TransactionPhase[] values()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              values

              +
              public static TransactionPhase[] values()
              Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
              -for (TransactionPhase c : TransactionPhase.values())
              -    System.out.println(c);
              -
              -
              -
              Returns:
              +the order they are declared.
    +
    +
    Returns:
    an array containing the constants of this enum type, in the order they are declared
    + - - - - -
      -
    • -

      valueOf

      -
      public static TransactionPhase valueOf​(java.lang.String name)
      +
    • +
      +

      valueOf

      +
      public static TransactionPhase valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      -
      -
      Parameters:
      +
      +
      Parameters:
      name - the name of the enum constant to be returned.
      -
      Returns:
      +
      Returns:
      the enum constant with the specified name
      -
      Throws:
      -
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      -
      java.lang.NullPointerException - if the argument is null
      +
      Throws:
      +
      IllegalArgumentException - if this enum type has no constant with the specified name
      +
      NullPointerException - if the argument is null
      -
    • -
    + - - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Event.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Event.html index 7a9dab2a7f..402d0dc1c5 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Event.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Event.html @@ -1,251 +1,132 @@ - - + Uses of Interface jakarta.enterprise.event.Event (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.event.Event

    +

    Uses of Interface
    jakarta.enterprise.event.Event

    -
    -
    +
    -
  • -
    - - -

    Uses of Event in jakarta.enterprise.inject.spi

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi that return Event 
    Modifier and TypeMethodDescription
    Event<java.lang.Object>BeanContainer.getEvent() -
    Returns an instance of Event with specified type java.lang.Object and specified qualifier @Default +
  • +
    +

    Uses of Event in jakarta.enterprise.inject.spi

    +
    Methods in jakarta.enterprise.inject.spi that return Event
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    BeanContainer.getEvent()
    +
    +
    Returns an instance of Event with specified type java.lang.Object and specified qualifier + @Default It allows typesafe synchronous or asynchronous event firing without injection of Event built-in bean requirement.
    -
  • +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/NotificationOptions.Builder.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/NotificationOptions.Builder.html index bd7680531f..d5ddfee68a 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/NotificationOptions.Builder.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/NotificationOptions.Builder.html @@ -1,210 +1,103 @@ - - + Uses of Interface jakarta.enterprise.event.NotificationOptions.Builder (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.event.NotificationOptions.Builder

    +

    Uses of Interface
    jakarta.enterprise.event.NotificationOptions.Builder

    +
    +
    Packages that use NotificationOptions.Builder
    +
    +
    Package
    +
    Description
    + +
    +
    + Annotations and interfaces relating to events.
    +
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/NotificationOptions.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/NotificationOptions.html index e452b739f9..66f6f6f3b9 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/NotificationOptions.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/NotificationOptions.html @@ -1,229 +1,114 @@ - - + Uses of Interface jakarta.enterprise.event.NotificationOptions (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.event.NotificationOptions

    +

    Uses of Interface
    jakarta.enterprise.event.NotificationOptions

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/ObserverException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/ObserverException.html index 6f73b895fd..c8c36dc5bb 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/ObserverException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/ObserverException.html @@ -1,153 +1,64 @@ - - + Uses of Class jakarta.enterprise.event.ObserverException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.event.ObserverException

    +

    Uses of Class
    jakarta.enterprise.event.ObserverException

    -
    No usage of jakarta.enterprise.event.ObserverException
    -
    +No usage of jakarta.enterprise.event.ObserverException
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Observes.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Observes.html index 4defe8ecd0..434792d179 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Observes.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Observes.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.event.Observes (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.event.Observes (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.event.Observes

    +

    Uses of Annotation Type
    jakarta.enterprise.event.Observes

    -
    No usage of jakarta.enterprise.event.Observes
    -
    +No usage of jakarta.enterprise.event.Observes
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/ObservesAsync.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/ObservesAsync.html index b1b69e14c8..1bd28750d1 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/ObservesAsync.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/ObservesAsync.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.event.ObservesAsync (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.event.ObservesAsync (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.event.ObservesAsync

    +

    Uses of Annotation Type
    jakarta.enterprise.event.ObservesAsync

    -
    No usage of jakarta.enterprise.event.ObservesAsync
    -
    +No usage of jakarta.enterprise.event.ObservesAsync
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Reception.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Reception.html index 931b3262d8..35d270a455 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Reception.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Reception.html @@ -1,313 +1,160 @@ - - -Uses of Class jakarta.enterprise.event.Reception (Jakarta Contexts and Dependency Injection API) + +Uses of Enum jakarta.enterprise.event.Reception (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.event.Reception

    +

    Uses of Enum
    jakarta.enterprise.event.Reception

    -
    -
    +
    -
  • -
    - - -

    Uses of Reception in jakarta.enterprise.inject.build.compatible.spi

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.build.compatible.spi that return Reception 
    Modifier and TypeMethodDescription
    ReceptionObserverInfo.reception() +
  • +
    +

    Uses of Reception in jakarta.enterprise.inject.build.compatible.spi

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    ObserverInfo.reception()
    +
    Returns the reception type of this observer.
    -
  • +
  • +
    -
  • -
    - - -

    Uses of Reception in jakarta.enterprise.inject.spi

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi that return Reception 
    Modifier and TypeMethodDescription
    ReceptionObserverMethod.getReception() +
  • +
    +

    Uses of Reception in jakarta.enterprise.inject.spi

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    ObserverMethod.getReception()
    +
    Obtains the specified Reception for the observer method.
    -
  • +
  • +
    -
  • -
    - - -

    Uses of Reception in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator with parameters of type Reception 
    Modifier and TypeMethodDescription
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.reception​(Reception reception) +
  • +
    +

    Uses of Reception in jakarta.enterprise.inject.spi.configurator

    +
    Methods in jakarta.enterprise.inject.spi.configurator with parameters of type Reception
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    ObserverMethodConfigurator.reception(Reception reception)
    +
    Set the Reception mode for the observer to build
    -
  • + +
  • - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Shutdown.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Shutdown.html index bcea2e8c31..0b710b04d0 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Shutdown.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Shutdown.html @@ -1,153 +1,64 @@ - - + Uses of Class jakarta.enterprise.event.Shutdown (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.event.Shutdown

    +

    Uses of Class
    jakarta.enterprise.event.Shutdown

    -
    No usage of jakarta.enterprise.event.Shutdown
    -
    +No usage of jakarta.enterprise.event.Shutdown
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Startup.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Startup.html index 815abf9dc1..1fd5bdf8c4 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Startup.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/Startup.html @@ -1,153 +1,64 @@ - - + Uses of Class jakarta.enterprise.event.Startup (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.event.Startup

    +

    Uses of Class
    jakarta.enterprise.event.Startup

    -
    No usage of jakarta.enterprise.event.Startup
    -
    +No usage of jakarta.enterprise.event.Startup
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/TransactionPhase.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/TransactionPhase.html index fe62b7daee..f2218c3cc9 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/TransactionPhase.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/class-use/TransactionPhase.html @@ -1,322 +1,171 @@ - - -Uses of Class jakarta.enterprise.event.TransactionPhase (Jakarta Contexts and Dependency Injection API) + +Uses of Enum jakarta.enterprise.event.TransactionPhase (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.event.TransactionPhase

    +

    Uses of Enum
    jakarta.enterprise.event.TransactionPhase

    -
    -
    +
    -
  • -
    - - -

    Uses of TransactionPhase in jakarta.enterprise.inject.build.compatible.spi

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.build.compatible.spi that return TransactionPhase 
    Modifier and TypeMethodDescription
    TransactionPhaseObserverInfo.transactionPhase() +
  • +
    +

    Uses of TransactionPhase in jakarta.enterprise.inject.build.compatible.spi

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    ObserverInfo.transactionPhase()
    +
    Returns the transaction phase of this transactional observer.
    -
  • - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.build.compatible.spi with parameters of type TransactionPhase 
    Modifier and TypeMethodDescription
    SyntheticObserverBuilder<T>SyntheticObserverBuilder.transactionPhase​(TransactionPhase transactionPhase) + + + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    SyntheticObserverBuilder.transactionPhase(TransactionPhase transactionPhase)
    +
    Sets the TransactionPhase during which this synthetic observer should be notified.
    -
    +
  • +
    -
  • -
    - - -

    Uses of TransactionPhase in jakarta.enterprise.inject.spi

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi that return TransactionPhase 
    Modifier and TypeMethodDescription
    TransactionPhaseObserverMethod.getTransactionPhase() +
  • +
    +

    Uses of TransactionPhase in jakarta.enterprise.inject.spi

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    ObserverMethod.getTransactionPhase()
    +
    Obtains the specified TransactionPhase for the observer method.
    -
  • +
  • + -
  • -
    - - -

    Uses of TransactionPhase in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator with parameters of type TransactionPhase 
    Modifier and TypeMethodDescription
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.transactionPhase​(TransactionPhase transactionPhase) +
  • +
    +

    Uses of TransactionPhase in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    ObserverMethodConfigurator.transactionPhase(TransactionPhase transactionPhase)
    +
    Set the TransactionPhase for the observer to build
    -
  • + +
  • - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/package-summary.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/package-summary.html index 9b6551773c..7ba2ea2d2a 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/package-summary.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/package-summary.html @@ -1,387 +1,283 @@ - - + jakarta.enterprise.event (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    +
    -
    Module jakarta.cdi
    -

    Package jakarta.enterprise.event

    +
    Module jakarta.cdi
    +

    Package jakarta.enterprise.event

    -
    -
    - - -

    Annotations and interfaces relating to events.

    - -

    Beans may produce and - consume events. Events allows beans to interact in a completely - decoupled fashion, with no compile-time dependency between the - interacting beans. Most importantly, it allows stateful beans - in one architectural tier of the application to synchronize - their internal state with state changes that occur in a - different tier.

    - -

    Events may be fired synchronously or asynchronously.

    - -

    An event comprises:

    - +
    +
    package jakarta.enterprise.event
    +
    +

    + Annotations and interfaces relating to events. +

    + +

    + Beans may produce and + consume events. Events allows beans to interact in a completely + decoupled fashion, with no compile-time dependency between the + interacting beans. Most importantly, it allows stateful beans + in one architectural tier of the application to synchronize + their internal state with state changes that occur in a + different tier. +

    + +

    + Events may be fired synchronously or asynchronously. +

    + +

    + An event comprises: +

    +
    • A Java object, called the event object
    • -
    • A (possibly empty) set of instances of qualifier types, called +
    • A (possibly empty) set of instances of qualifier types, called the event qualifiers
    - -

    The Event interface is used to - fire events.

    - + +

    + The Event interface is used to + fire events. +

    +

    Event objects and event types

    - -

    The event object acts as a payload, to propagate state from - producer to consumer. An event object is an instance of a concrete - Java class with no type variables.

    - -

    The event types of the event include all superclasses and - interfaces of the runtime class of the event object. An event type - may not contain a type variable.

    - + +

    + The event object acts as a payload, to propagate state from + producer to consumer. An event object is an instance of a concrete + Java class with no type variables. +

    + +

    + The event types of the event include all superclasses and + interfaces of the runtime class of the event object. An event type + may not contain a type variable. +

    +

    Event qualifiers

    - -

    The event qualifiers act as topic selectors, allowing the consumer + +

    + The event qualifiers act as topic selectors, allowing the consumer to narrow the set of events it observes. An event qualifier may be an - instance of any qualifier type.

    - + instance of any qualifier type. +

    +

    Observer methods

    - -

    An observer method + +

    + An observer method allows the application to receive and respond synchronously to event notifications. - And an async observer method + And an async observer method allows the application to receive and respond asynchronously to event notifications. they both act as event consumers, observing events of a specific type, with a - specific set of qualifiers. Any Java type may be observed by an - observer method.

    - -

    An observer method is a method of a bean class or - extension with a + specific set of qualifiers. Any Java type may be observed by an + observer method. +

    + +

    + An observer method is a method of a bean class or + extension with a parameter annotated @Observes - or @ObservesAsync.

    - -

    An observer method will be notified of an event if:

    - + or @ObservesAsync. +

    + +

    + An observer method will be notified of an event if: +

    +
      -
    • the event object is assignable to the type observed by the observer +
    • the event object is assignable to the type observed by the observer method,
    • the observer method has all the event qualifiers of the event, and
    • -
    • either the event is not a - container lifecycle event, or - the observer method belongs to an +
    • either the event is not a + container lifecycle event, or + the observer method belongs to an extension.
    - -

    If a synchronous observer method is a - transactional + +

    + If a synchronous observer method is a + transactional observer method and there is a JTA transaction in progress when the - event is fired, the observer method is notified during the appropriate - transaction completion phase. Otherwise, the observer is notified when - the event is fired.

    - -

    The order in which observer methods are called depends on the value of - the @Priority applied to the observer.

    -

    If no priority is defined on a observer, its priority is jakarta.interceptor.Interceptor.Priority.APPLICATION+500.

    -

    If two observer have the same priority their relative order is undefined.

    - -

    Observer methods may throw exceptions:

    - + event is fired, the observer method is notified during the appropriate + transaction completion phase. Otherwise, the observer is notified when + the event is fired. +

    + +

    + The order in which observer methods are called depends on the value of + the @Priority applied to the observer. +

    +

    + If no priority is defined on a observer, its priority is jakarta.interceptor.Interceptor.Priority.APPLICATION+500. +

    +

    + If two observer have the same priority their relative order is undefined. +

    + +

    + Observer methods may throw exceptions: +

    +
      -
    • If the observer method is a - transactional +
    • If the observer method is a + transactional observer method, any exception is caught and logged by the container.
    • If the observer method is asynchronous, any exception is caught by the container and added as a suppressed exception - to a CompletionException that could be handle by the application
    • + to a CompletionException that could be handle by the application
    • Otherwise, the exception aborts processing of the event. - No other observer methods of that event will be called. The - exception is rethrown. If the exception is a checked exception, - it is wrapped and rethrown as an (unchecked) + No other observer methods of that event will be called. The + exception is rethrown. If the exception is a checked exception, + it is wrapped and rethrown as an (unchecked) ObserverException.
    -
    -
    See Also:
    -
    jakarta.enterprise.inject, -Observes, -Event, -Qualifier
    +
    +
    See Also:
    +
    + +
    -
      -
    • - - - - - - - - - - - - - - - - - - - - -
      Interface Summary 
      InterfaceDescription
      Event<T> +
      +
        +
      • +
        +
        +
        +
        +
        Class
        +
        Description
        + +
        Allows the application to fire events of a particular type.
        -
      NotificationOptions + + +
      Notification options are used to configure observer notification.
      -
      NotificationOptions.Builder + + +
      Notification options builder.
      -
      -
    • -
    • - - - - - - - - - - - - - - - - -
      Class Summary 
      ClassDescription
      Shutdown + + +
      +
      + Indicates that a checked exception was thrown by an observer method during event notification.
      +
      + +
      +
      + Identifies the event parameter of an observer method.
      +
      + +
      +
      + Identifies the event parameter of an asynchronous observer method.
      +
      + +
      +
      + Distinguishes conditional observer methods from observer methods which are + always notified.
      +
      + +
      A CDI event with payload of type Shutdown and qualifier Any is synchronously fired by CDI container during application shutdown.
      -
      Startup + + +
      A CDI event with payload of type Startup and qualifier Any is synchronously fired by CDI container during application initialization.
      -
      -
    • -
    • - - - - - - - - - - - - - - - - -
      Enum Summary 
      EnumDescription
      Reception -
      - Distinguishes conditional observer methods from observer methods which are - always notified.
      -
      TransactionPhase + + +
      Distinguishes the various kinds of transactional observer methods from regular observer methods which are notified immediately.
      -
      -
    • -
    • - - - - - - - - - - - - -
      Exception Summary 
      ExceptionDescription
      ObserverException -
      - Indicates that a checked exception was thrown by an observer method during event notification.
      -
      -
    • -
    • - - - - - - - - - - - - - - - - -
      Annotation Types Summary 
      Annotation TypeDescription
      Observes -
      - Identifies the event parameter of an observer method.
      -
      ObservesAsync -
      - Identifies the event parameter of an asynchronous observer method.
      -
      +
    +
    +
    + - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/package-tree.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/package-tree.html index 91fb8b4e65..a42b9e9625 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/package-tree.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/package-tree.html @@ -1,122 +1,76 @@ - - + jakarta.enterprise.event Class Hierarchy (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Hierarchy For Package jakarta.enterprise.event

    -Package Hierarchies: +Package Hierarchies:
    -
    -
    +

    Class Hierarchy

    -
    +

    Interface Hierarchy

    -
    +

    Annotation Type Hierarchy

      -
    • jakarta.enterprise.event.Observes (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.event.ObservesAsync (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.event.Observes (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.event.ObservesAsync (implements java.lang.annotation.Annotation)
    -
    +

    Enum Hierarchy

    -
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/package-use.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/package-use.html index 9e2b3ff061..6e769f787c 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/package-use.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/event/package-use.html @@ -1,331 +1,192 @@ - - + Uses of Package jakarta.enterprise.event (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Uses of Package
    jakarta.enterprise.event

    -
    -
    +
    + -
  • - - - - - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.event used by jakarta.enterprise.inject.build.compatible.spi 
    ClassDescription
    Reception +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Distinguishes conditional observer methods from observer methods which are always notified.
    -
  • TransactionPhase + + +
    Distinguishes the various kinds of transactional observer methods from regular observer methods which are notified immediately.
    -
    +
  • +
    + -
  • - - - - - - - - - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.event used by jakarta.enterprise.inject.spi 
    ClassDescription
    Event +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Allows the application to fire events of a particular type.
    -
  • Reception + + +
    Distinguishes conditional observer methods from observer methods which are always notified.
    -
    TransactionPhase + + +
    Distinguishes the various kinds of transactional observer methods from regular observer methods which are notified immediately.
    -
    + + +
  • -
  • - - - - - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.event used by jakarta.enterprise.inject.spi.configurator 
    ClassDescription
    Reception +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Distinguishes conditional observer methods from observer methods which are always notified.
    -
  • TransactionPhase + + +
    Distinguishes the various kinds of transactional observer methods from regular observer methods which are notified immediately.
    -
    + + +
  • - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Alternative.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Alternative.Literal.html index bf07e65275..2aa1333278 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Alternative.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Alternative.Literal.html @@ -1,370 +1,203 @@ - - + Alternative.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class Alternative.Literal

    +
    Module jakarta.cdi
    + +

    Class Alternative.Literal

    -
    - -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - - +
        • +
          +

          Field Details

          +
            +
          • +
            +

            INSTANCE

            +
            public static final Alternative.Literal INSTANCE
            +
            Default Alternative literal
            +
          - -
          -
            -
          • - - -

            Constructor Detail

            - - - -
              -
            • -

              Literal

              -
              public Literal()
            • -
            + +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              Literal

              +
              public Literal()
              +
          -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Alternative.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Alternative.html index db18d255a0..a3a02b60a9 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Alternative.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Alternative.html @@ -1,128 +1,80 @@ - - + Alternative (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Alternative

    +
    Module jakarta.cdi
    + +

    Annotation Type Alternative

    -
    -
    -
      -
    • +

      -
      @Target({TYPE,METHOD,FIELD})
      -@Retention(RUNTIME)
      -@Documented
      -public @interface Alternative
      +
      @Target({TYPE,METHOD,FIELD}) +@Retention(RUNTIME) +@Documented +public @interface Alternative

      Specifies that a bean is an alternative. May be applied to a bean class, producer method or field or stereotype. @@ -141,8 +93,9 @@

      Annotation Type Alternativ

      By default, a bean archive has no selected alternatives. An alternative must be explicitly declared using the - <alternatives> element of the beans.xml file of the bean archive. The <alternatives> - element contains a list of bean classes and stereotypes. An alternative is selected for the bean archive if either: + <alternatives> element of the beans.xml file of the bean archive. The + <alternatives> element contains a list of bean classes and stereotypes. An alternative is selected for the + bean archive if either:

        @@ -151,77 +104,39 @@

        Annotation Type Alternativ or
      • any @Alternative stereotype of the alternative is listed.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir
      -
    • -
    + +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      Nested Classes
      +
      +
      Modifier and Type
      +
      Class
      +
      Description
      +
      static final class 
      + +
      +
      Supports inline instantiation of the Alternative annotation.
      -
    + + + + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/AmbiguousResolutionException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/AmbiguousResolutionException.html index bad957354c..bc810d7d08 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/AmbiguousResolutionException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/AmbiguousResolutionException.html @@ -1,361 +1,217 @@ - - + AmbiguousResolutionException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class AmbiguousResolutionException

    +
    Module jakarta.cdi
    + +

    Class AmbiguousResolutionException

    -
    - -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            AmbiguousResolutionException

            -
            public AmbiguousResolutionException()
            -
          • -
          - - - -
            -
          • -

            AmbiguousResolutionException

            -
            public AmbiguousResolutionException​(java.lang.String message,
            -                                    java.lang.Throwable throwable)
            +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              AmbiguousResolutionException

              +
              public AmbiguousResolutionException()
              +
              Creates the exception with no detail message or cause.
              +
            • -
            - - - -
              -
            • -

              AmbiguousResolutionException

              -
              public AmbiguousResolutionException​(java.lang.String message)
              +
            • +
              +

              AmbiguousResolutionException

              +
              public AmbiguousResolutionException(String message, + Throwable cause)
              +
              Creates the exception with given detail message and cause.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              cause - the cause
              +
              +
            • -
            - - - -
              -
            • -

              AmbiguousResolutionException

              -
              public AmbiguousResolutionException​(java.lang.Throwable throwable)
              +
            • +
              +

              AmbiguousResolutionException

              +
              public AmbiguousResolutionException(String message)
              +
              Creates the exception with given detail message.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              +
            • -
            +
          • +
            +

            AmbiguousResolutionException

            +
            public AmbiguousResolutionException(Throwable cause)
            +
            Creates the exception with given cause.
            +
            +
            Parameters:
            +
            cause - the cause
            +
            +
      -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Any.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Any.Literal.html index 34b608a6f1..6ccb94f2ac 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Any.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Any.Literal.html @@ -1,372 +1,205 @@ - - + Any.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class Any.Literal

    +
    Module jakarta.cdi
    + +

    Class Any.Literal

    -
    - -
    - -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Nested Class Summary

          -
            -
          • - - -

            Nested classes/interfaces inherited from class jakarta.enterprise.inject.Any

            -Any.Literal
          • -
          -
        • -
        +
      • +
        +

        Nested Class Summary

        +
        +

        Nested classes/interfaces inherited from class jakarta.enterprise.inject.Any

        +Any.Literal
        - -
        -
          -
        • - - -

          Field Summary

          - - - - - - - - - - - - -
          Fields 
          Modifier and TypeFieldDescription
          static Any.LiteralINSTANCE 
        • -
        + +
      • +
        +

        Field Summary

        +
        Fields
        +
        +
        Modifier and Type
        +
        Field
        +
        Description
        +
        static final Any.Literal
        + +
        +
        Default Any literal
        +
        +
        - -
        -
          -
        • - - -

          Constructor Summary

          - - - - - - - - - - -
          Constructors 
          ConstructorDescription
          Literal() 
        • -
        + +
      • +
        +

        Constructor Summary

        +
        Constructors
        +
        +
        Constructor
        +
        Description
        + +
         
        +
        - -
        -
          -
        • - - -

          Method Summary

          - -
            -
          • - - -

            Methods inherited from class java.lang.Object

            -clone, finalize, getClass, notify, notifyAll, wait, wait, wait
          • -
          -
            -
          • - - -

            Methods inherited from interface java.lang.annotation.Annotation

            -annotationType, equals, hashCode, toString
          • -
        • -
        + +
      • +
        +

        Method Summary

        +
        +

        Methods inherited from class jakarta.enterprise.util.AnnotationLiteral

        +annotationType, equals, hashCode, toString
        +
        +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - -
            -
          • -

            INSTANCE

            -
            public static final Any.Literal INSTANCE
            -
          • -
          +
        • +
          +

          Field Details

          +
            +
          • +
            +

            INSTANCE

            +
            public static final Any.Literal INSTANCE
            +
            Default Any literal
            +
          - -
          -
            -
          • - - -

            Constructor Detail

            - - - -
              -
            • -

              Literal

              -
              public Literal()
            • -
            + +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              Literal

              +
              public Literal()
              +
          -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Any.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Any.html index 65868e8d78..b9098b7c6c 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Any.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Any.html @@ -1,129 +1,81 @@ - - + Any (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Any

    +
    Module jakarta.cdi
    + +

    Annotation Type Any

    -
    -
    -
      -
    • +

      -
      @Qualifier
      -@Retention(RUNTIME)
      -@Target({TYPE,METHOD,FIELD,PARAMETER})
      -@Documented
      -public @interface Any
      +
      @Qualifier +@Retention(RUNTIME) +@Target({TYPE,METHOD,FIELD,PARAMETER}) +@Documented +public @interface Any

      The built-in qualifier type.

      @@ -158,77 +110,39 @@

      Annotation Type Any

      @Any Logger logger;
      -
      -
      Author:
      +
      +
      Author:
      Gavin King, David Allen
      -
    • -
    + +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      Nested Classes
      +
      +
      Modifier and Type
      +
      Class
      +
      Description
      +
      static final class 
      + +
      +
      Supports inline instantiation of the Any qualifier.
      -
    + + + + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/CreationException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/CreationException.html index 098c91e456..58cf4f70fb 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/CreationException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/CreationException.html @@ -1,355 +1,214 @@ - - + CreationException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Class CreationException

    +
    Module jakarta.cdi
    + +

    Class CreationException

    -
    -
      -
    • java.lang.Object
    • -
    • - -
    • -
    -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            CreationException

            -
            public CreationException()
            -
          • -
          - - - -
            -
          • -

            CreationException

            -
            public CreationException​(java.lang.String message)
            +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              CreationException

              +
              public CreationException()
              +
              Creates the exception with no detail message or cause.
              +
            • -
            - - - -
              -
            • -

              CreationException

              -
              public CreationException​(java.lang.Throwable cause)
              +
            • +
              +

              CreationException

              +
              public CreationException(String message)
              +
              Creates the exception with given detail message.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              +
            • -
            - - - -
              -
            • -

              CreationException

              -
              public CreationException​(java.lang.String message,
              -                         java.lang.Throwable cause)
              +
            • +
              +

              CreationException

              +
              public CreationException(Throwable cause)
              +
              Creates the exception with given cause.
              +
              +
              Parameters:
              +
              cause - the cause
              +
              +
            • -
            +
          • +
            +

            CreationException

            +
            public CreationException(String message, + Throwable cause)
            +
            Creates the exception with given detail message and cause.
            +
            +
            Parameters:
            +
            message - the detail message
            +
            cause - the cause
            +
            +
      -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Decorated.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Decorated.html index ac972a18c6..ed73bda527 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Decorated.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Decorated.html @@ -1,133 +1,85 @@ - - + Decorated (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Decorated

    +
    Module jakarta.cdi
    + +

    Annotation Type Decorated

    -
    -
    -

    A decorator may inject metadata about the bean it is decorating

    - +
      @Decorator
      class TimestampLogger implements Logger {
    @@ -135,91 +87,34 @@ 

    Annotation Type Decorated -

    CDI Lite implementations are not required to provide support for decorators.

    -
    -
    Since:
    +

    + CDI Lite implementations are not required to provide support for decorators. +

    +
    +
    Since:
    1.1
    -
    Author:
    +
    Author:
    Pete Muir
    - - -
    -
    - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Default.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Default.Literal.html index 121892dc30..acc5dedd37 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Default.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Default.Literal.html @@ -1,372 +1,205 @@ - - + Default.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class Default.Literal

    +
    Module jakarta.cdi
    + +

    Class Default.Literal

    -
    - -
    - -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - - +
        • +
          +

          Field Details

          +
            +
          • +
            +

            INSTANCE

            +
            public static final Default.Literal INSTANCE
            +
            The default Default literal
            +
          - -
          -
            -
          • - - -

            Constructor Detail

            - - - -
              -
            • -

              Literal

              -
              public Literal()
            • -
            + +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              Literal

              +
              public Literal()
              +
          -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Default.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Default.html index 6a2fa05e16..2512114a6b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Default.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Default.html @@ -1,129 +1,81 @@ - - + Default (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Default

    +
    Module jakarta.cdi
    + +

    Annotation Type Default

    -
    -
    -

    The default qualifier type.

    @@ -174,77 +126,39 @@

    Annotation Type Default

    }
    -
    -
    Author:
    +
    +
    Author:
    Pete Muir, Gavin King
    - - + +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      Nested Classes
      +
      +
      Modifier and Type
      +
      Class
      +
      Description
      +
      static final class 
      + +
      +
      Supports inline instantiation of the Default qualifier.
      -
    + + + + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Disposes.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Disposes.html index 586e2b709b..517e38f537 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Disposes.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Disposes.html @@ -1,179 +1,131 @@ - - + Disposes (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Disposes

    +
    Module jakarta.cdi
    + +

    Annotation Type Disposes

    -
    -
    -
      -
    • +

      -
      @Target(PARAMETER)
      -@Retention(RUNTIME)
      -@Documented
      -public @interface Disposes
      +
      @Target(PARAMETER) +@Retention(RUNTIME) +@Documented +public @interface Disposes

      Identifies the disposed parameter of a disposer method. May be applied to a parameter of a method of a bean class.

      - +
        public class UserDatabaseEntityManager {
      - 
      +
            @Produces
            @ConversationScoped
            @UserDatabase
            public EntityManager create(EntityManagerFactory emf) {
                return emf.createEntityManager();
            }
      - 
      +
            public void close(@Disposes @UserDatabase EntityManager em) {
                em.close();
            }
      - 
      +
        }
        
      - +
        public class Resources {
      - 
      +
            @PersistenceContext
            @Produces
            @UserDatabase
            private EntityManager em;
      - 
      +
            public void close(@Disposes @UserDatabase EntityManager em) {
                em.close();
            }
      - 
      +
        }
        
      - +

      A disposer method allows the application to perform customized cleanup of an object returned by a producer method or producer field.

      - +

      A disposer method must be a non-abstract method of a managed bean class or session bean class. A disposer method may be either static or non-static. If the bean is a session bean, the disposer method must be a business method of the EJB or a static method of the bean class.

      - +

      A bean may declare multiple disposer methods.

      - +

      Each disposer method must have exactly one disposed parameter, of the same type as the corresponding producer method or producer field return type. When searching for disposer methods for a producer method or producer field, the container @@ -181,101 +133,46 @@

      Annotation Type Disposes

      producer field declared by the same bean class, the container must call this method when destroying any instance returned by that producer method or producer field.

      - +

      In addition to the disposed parameter, a disposer method may declare additional parameters, which may also specify qualifiers. These additional parameters are injection points.

      - +
        public void close(@Disposes @UserDatabase EntityManager em, Logger log) { ... }
        
      - +

      A disposer method may resolve to multiple producer methods or producer fields declared by the bean class, in which case the container must call it when destroying any instance returned by any of these producer methods or producer fields.

      - +

      Disposer methods are not inherited by bean subclasses.

      - +

      Interceptors and decorators may not declare disposer methods.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir
      -
      See Also:
      -
      Produces
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    + + + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/IllegalProductException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/IllegalProductException.html index 106d17e1bb..1dc9ebecb9 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/IllegalProductException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/IllegalProductException.html @@ -1,354 +1,213 @@ - - + IllegalProductException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Class IllegalProductException

    +
    Module jakarta.cdi
    + +

    Class IllegalProductException

    -
    -
      -
    • java.lang.Object
    • -
    • - -
    • -
    -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            IllegalProductException

            -
            public IllegalProductException()
            -
          • -
          - - - -
            -
          • -

            IllegalProductException

            -
            public IllegalProductException​(java.lang.String message,
            -                               java.lang.Throwable cause)
            +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              IllegalProductException

              +
              public IllegalProductException()
              +
              Creates the exception with no detail message or cause.
              +
            • -
            - - - -
              -
            • -

              IllegalProductException

              -
              public IllegalProductException​(java.lang.String message)
              +
            • +
              +

              IllegalProductException

              +
              public IllegalProductException(String message, + Throwable cause)
              +
              Creates the exception with given detail message and cause.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              cause - the cause
              +
              +
            • -
            - - - -
              -
            • -

              IllegalProductException

              -
              public IllegalProductException​(java.lang.Throwable cause)
              +
            • +
              +

              IllegalProductException

              +
              public IllegalProductException(String message)
              +
              Creates the exception with given detail message.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              +
            • -
            +
          • +
            +

            IllegalProductException

            +
            public IllegalProductException(Throwable cause)
            +
            Creates the exception with given cause.
            +
            +
            Parameters:
            +
            cause - the cause
            +
            +
      -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/InjectionException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/InjectionException.html index 50c8bee0e6..25deb2a2c6 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/InjectionException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/InjectionException.html @@ -1,352 +1,214 @@ - - + InjectionException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Class InjectionException

    +
    Module jakarta.cdi
    + +

    Class InjectionException

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • java.lang.Throwable
      • -
      • -
          -
        • java.lang.Exception
        • -
        • -
            -
          • java.lang.RuntimeException
          • -
          • -
              -
            • jakarta.enterprise.inject.InjectionException
            • -
            -
          • -
          -
        • -
        -
      • -
      -
    • -
    -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            InjectionException

            -
            public InjectionException()
            -
          • -
          - - - -
            -
          • -

            InjectionException

            -
            public InjectionException​(java.lang.String message,
            -                          java.lang.Throwable throwable)
            +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              InjectionException

              +
              public InjectionException()
              +
              Creates the exception with no detail message or cause.
              +
            • -
            - - - -
              -
            • -

              InjectionException

              -
              public InjectionException​(java.lang.String message)
              +
            • +
              +

              InjectionException

              +
              public InjectionException(String message, + Throwable cause)
              +
              Creates the exception with given detail message and cause.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              cause - the cause
              +
              +
            • -
            - - - -
              -
            • -

              InjectionException

              -
              public InjectionException​(java.lang.Throwable throwable)
              +
            • +
              +

              InjectionException

              +
              public InjectionException(String message)
              +
              Creates the exception with given detail message.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              +
            • -
            +
          • +
            +

            InjectionException

            +
            public InjectionException(Throwable cause)
            +
            Creates the exception with given cause.
            +
            +
            Parameters:
            +
            cause - the cause
            +
            +
      -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Instance.Handle.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Instance.Handle.html index 5cc7ed0c0f..3a7578e18b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Instance.Handle.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Instance.Handle.html @@ -1,258 +1,186 @@ - - + Instance.Handle (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Instance.Handle<T>

    +
    Module jakarta.cdi
    + +

    Interface Instance.Handle<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the required bean type
      -
      +
      All Superinterfaces:
      -
      java.lang.AutoCloseable
      +
      AutoCloseable
      -
      +
      Enclosing interface:
      Instance<T>

      -
      public static interface Instance.Handle<T>
      -extends java.lang.AutoCloseable
      +
      public static interface Instance.Handle<T> +extends AutoCloseable
      This interface represents a contextual reference handle.

      - Allows to inspect the metadata of the relevant bean before resolving its contextual reference and also to destroy - the underlying contextual instance. + Allows to inspect the metadata of the relevant bean before resolving its contextual reference and also to destroy the + underlying contextual instance.

      -
      -
      Author:
      +
      +
      Author:
      Matej Novotny
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethodDescription
          voidclose() +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          +
          void
          + +
          Delegates to destroy().
          -
        • voiddestroy() + +
          void
          + +
          Destroy the contextual instance.
          -
          Tget() + + +
          get()
          +
          The contextual reference is obtained lazily, i.e.
          -
          Bean<T>getBean() 
          -
        • -
        +
    + + +
     
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            get

            -
            T get()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              get

              +
              T get()
              The contextual reference is obtained lazily, i.e. when first needed.
              -
              -
              Returns:
              +
              +
              Returns:
              the contextual reference
              -
              Throws:
              -
              java.lang.IllegalStateException - If the producing Instance does not exist
              -
              java.lang.IllegalStateException - If invoked on Instance.Handle that previously successfully destroyed its - underlying contextual reference
              -
              See Also:
              -
              Provider.get()
              +
              Throws:
              +
              IllegalStateException - If the producing Instance does not exist
              +
              IllegalStateException - If invoked on Instance.Handle that previously successfully destroyed its underlying + contextual reference
              +
              See Also:
              +
              +
                +
              • Provider.get()
              • +
              +
              +
            • -
            - - - -
              -
            • -

              getBean

              -
              Bean<T> getBean()
              -
              -
              Returns:
              +
            • +
              +

              getBean

              +
              Bean<T> getBean()
              +
              +
              Returns:
              the bean metadata
              +
            • -
            - - - -
              -
            • -

              destroy

              -
              void destroy()
              +
            • +
              +

              destroy

              +
              void destroy()
              Destroy the contextual instance. It's a no-op if: @@ -261,98 +189,39 @@

              destroy

            • if the producing Instance does not exist
            • if the handle does not hold a contextual reference, i.e. get() was never called
    -
    -
    See Also:
    -
    Instance.destroy(Object)
    +
    +
    See Also:
    +
    + +
    + - - - - -
      -
    • -

      close

      -
      void close()
      +
    • +
      +

      close

      +
      void close()
      Delegates to destroy().
      -
      -
      Specified by:
      -
      close in interface java.lang.AutoCloseable
      +
      +
      Specified by:
      +
      close in interface AutoCloseable
      -
    • -
    + - - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Instance.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Instance.html index 3e89110113..f0c509729b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Instance.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Instance.html @@ -1,708 +1,522 @@ - - + Instance (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Instance<T>

    +
    Module jakarta.cdi
    + +

    Interface Instance<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the required bean type
      -
      +
      All Superinterfaces:
      -
      java.lang.Iterable<T>, jakarta.inject.Provider<T>
      +
      Iterable<T>, jakarta.inject.Provider<T>
      -
      +
      All Known Subinterfaces:
      SeContainer
      -
      +
      All Known Implementing Classes:
      CDI

      -
      public interface Instance<T>
      -extends java.lang.Iterable<T>, jakarta.inject.Provider<T>
      +
      public interface Instance<T> +extends Iterable<T>, jakarta.inject.Provider<T>

      Allows the application to dynamically obtain instances of beans with a specified combination of required type and qualifiers.

      - +

      In certain situations, injection is not the most convenient way to obtain a contextual reference. For example, it may not be used when:

      - +
      • the bean type or qualifiers vary dynamically at runtime, or
      • depending upon the deployment, there may be no bean which satisfies the type and qualifiers, or
      • we would like to iterate over all beans of a certain type.
      - +

      In these situations, an instance of the Instance may be injected:

      - +
        @Inject
        Instance<PaymentProcessor> paymentProcessor;
        
      - +

      Any combination of qualifiers may be specified at the injection point:

      - +
        @Inject
        @PayBy(CHEQUE)
        Instance<PaymentProcessor> chequePaymentProcessor;
        
      - +

      - Or, the @Any qualifier may be used, allowing the application to specify qualifiers - dynamically: + Or, the @Any qualifier may be used, allowing the application to specify qualifiers dynamically:

      - +
        @Inject
        @Any
        Instance<PaymentProcessor> anyPaymentProcessor;
        
      - +

      For an injected Instance:

      - +
      • the required type is the type parameter specified at the injection point, and
      • the required qualifiers are the qualifiers specified at the injection point.
      - +

      - The inherited Provider.get() method returns a contextual references for the unique bean that matches the - required type and required qualifiers and is eligible for injection into the class into which the parent Instance - was injected, or throws an UnsatisfiedResolutionException or + The inherited Provider.get() method returns a contextual references for the unique bean that matches + the required type and required qualifiers and is eligible for injection into the class into which the parent + Instance was injected, or throws an UnsatisfiedResolutionException or AmbiguousResolutionException.

      - +
        PaymentProcessor pp = chequePaymentProcessor.get();
        
      - +

      - The inherited Iterable.iterator() method returns an iterator over contextual references for beans that + The inherited Iterable.iterator() method returns an iterator over contextual references for beans that match the required type and required qualifiers and are eligible for injection into the class into which the parent Instance was injected.

      - +
        for (PaymentProcessor pp : anyPaymentProcessor)
            pp.test();
        
      -
      -
      Author:
      +
      +
      Author:
      Gavin King, John Ament, Martin Kouba
      -
      See Also:
      -
      Provider.get(), -Iterable.iterator(), -AnnotationLiteral, -TypeLiteral
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
      -
    • + +
    + +
    +
      -
      -
        -
      • - - -

        Nested Class Summary

        - - - - - - - - - - - - -
        Nested Classes 
        Modifier and TypeInterfaceDescription
        static interface Instance.Handle<T> +
      • +
        +

        Nested Class Summary

        +
        Nested Classes
        +
        +
        Modifier and Type
        +
        Interface
        +
        Description
        +
        static interface 
        + +
        This interface represents a contextual reference handle.
        -
      • -
      • -
      + +
      + -
      -
        -
      • - - -

        Method Summary

        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        All Methods Instance Methods Abstract Methods Default Methods 
        Modifier and TypeMethodDescription
        voiddestroy​(T instance) +
      • +
        +

        Method Summary

        +
        +
        +
        +
        +
        Modifier and Type
        +
        Method
        +
        Description
        +
        void
        +
        destroy(T instance)
        +
        When called, the container destroys the instance if the active context object for the scope type of the bean supports destroying bean instances.
        -
      • Instance.Handle<T>getHandle() -
        Obtains an initialized contextual reference handle for a bean that has the required type and qualifiers and is - eligible for injection.
        -
        java.lang.Iterable<? extends Instance.Handle<T>>handles() -
        Allows iterating over contextual reference handles for all beans that have the required type and required qualifiers and are eligible +
        + + +
        +
        Obtains an initialized contextual reference handle for a bean that has the required type and qualifiers and is eligible for injection.
        -
        default java.util.stream.Stream<? extends Instance.Handle<T>>handlesStream() + + + +
        +
        Allows iterating over contextual reference handles for all beans that have the required type and required qualifiers and + are eligible for injection.
        +
        +
        default Stream<? extends Instance.Handle<T>>
        + +
        Returns stream of Instance.Handle objects.
        -
        booleanisAmbiguous() + +
        boolean
        + +
        Determines if there is more than one bean that matches the required type and qualifiers and is eligible for injection into the class into which the parent Instance was injected.
        -
        default booleanisResolvable() + +
        default boolean
        + +
        - Determines if there is exactly one bean that matches the required type and qualifiers and is eligible for injection - into the class into which the parent Instance was injected.
        -
        booleanisUnsatisfied() + Determines if there is exactly one bean that matches the required type and qualifiers and is eligible for injection into + the class into which the parent Instance was injected. + +
        boolean
        + +
        Determines if there is no bean that matches the required type and qualifiers and is eligible for injection into the class into which the parent Instance was injected.
        -
        <U extends T>
        Instance<U>
        select​(TypeLiteral<U> subtype, - java.lang.annotation.Annotation... qualifiers) + +
        <U extends T>
        Instance<U>
        +
        select(TypeLiteral<U> subtype, + Annotation... qualifiers)
        +
        Obtains a child Instance for the given required type and additional required qualifiers.
        -
        Instance<T>select​(java.lang.annotation.Annotation... qualifiers) + + +
        select(Annotation... qualifiers)
        +
        Obtains a child Instance for the given additional required qualifiers.
        -
        <U extends T>
        Instance<U>
        select​(java.lang.Class<U> subtype, - java.lang.annotation.Annotation... qualifiers) + +
        <U extends T>
        Instance<U>
        +
        select(Class<U> subtype, + Annotation... qualifiers)
        +
        Obtains a child Instance for the given required type and additional required qualifiers.
        -
        default java.util.stream.Stream<T>stream() + +
        default Stream<T>
        + +
        When called, provides back a Stream of the beans available in this Instance.
        -
        -
          -
        • - - -

          Methods inherited from interface java.lang.Iterable

          -forEach, iterator, spliterator
        • -
        -
          -
        • - - -

          Methods inherited from interface jakarta.inject.Provider

          -get
        • -
        -
      • -
      + + + + +
      +

      Methods inherited from interface java.lang.Iterable

      +forEach, iterator, spliterator
      +
      +

      Methods inherited from interface jakarta.inject.Provider

      +get
    - -
    -
      -
    • +
    +
    +
      -
      -
        -
      • - - -

        Method Detail

        - - - -
          -
        • -

          select

          -
          Instance<T> select​(java.lang.annotation.Annotation... qualifiers)
          +
        • +
          +

          Method Details

          +
            +
          • +
            +

            select

            +
            Instance<T> select(Annotation... qualifiers)

            Obtains a child Instance for the given additional required qualifiers.

            -
            -
            Parameters:
            +
            +
            Parameters:
            qualifiers - the additional required qualifiers
            -
            Returns:
            +
            Returns:
            the child Instance
            -
            Throws:
            -
            java.lang.IllegalArgumentException - if passed two instances of the same non repeating qualifier type, or an instance of an annotation that - is not a qualifier type
            -
            java.lang.IllegalStateException - if the container is already shutdown
            +
            Throws:
            +
            IllegalArgumentException - if passed two instances of the same non repeating qualifier type, or an instance of an + annotation that is not a qualifier type
            +
            IllegalStateException - if the container is already shutdown
            +
          • -
          - - - -
            -
          • -

            select

            -
            <U extends TInstance<U> select​(java.lang.Class<U> subtype,
            -                                 java.lang.annotation.Annotation... qualifiers)
            +
          • +
            +

            select

            +
            <U extends T> Instance<U> select(Class<U> subtype, + Annotation... qualifiers)

            Obtains a child Instance for the given required type and additional required qualifiers.

            -
            -
            Type Parameters:
            +
            +
            Type Parameters:
            U - the required type
            -
            Parameters:
            -
            subtype - a Class representing the required type
            +
            Parameters:
            +
            subtype - a Class representing the required type
            qualifiers - the additional required qualifiers
            -
            Returns:
            +
            Returns:
            the child Instance
            -
            Throws:
            -
            java.lang.IllegalArgumentException - if passed two instances of the same non repeating qualifier type, or an instance of an annotation that - is not a qualifier type
            -
            java.lang.IllegalStateException - if the container is already shutdown
            +
            Throws:
            +
            IllegalArgumentException - if passed two instances of the same non repeating qualifier type, or an instance of an + annotation that is not a qualifier type
            +
            IllegalStateException - if the container is already shutdown
            +
          • -
          - - - -
            -
          • -

            select

            -
            <U extends TInstance<U> select​(TypeLiteral<U> subtype,
            -                                 java.lang.annotation.Annotation... qualifiers)
            +
          • +
            +

            select

            +
            <U extends T> Instance<U> select(TypeLiteral<U> subtype, + Annotation... qualifiers)

            Obtains a child Instance for the given required type and additional required qualifiers.

            -
            -
            Type Parameters:
            +
            +
            Type Parameters:
            U - the required type
            -
            Parameters:
            +
            Parameters:
            subtype - a TypeLiteral representing the required type
            qualifiers - the additional required qualifiers
            -
            Returns:
            +
            Returns:
            the child Instance
            -
            Throws:
            -
            java.lang.IllegalArgumentException - if passed two instances of the same non repeating qualifier type, or an instance of an annotation that - is not a qualifier type
            -
            java.lang.IllegalStateException - if the container is already shutdown
            +
            Throws:
            +
            IllegalArgumentException - if passed two instances of the same non repeating qualifier type, or an instance of an + annotation that is not a qualifier type
            +
            IllegalStateException - if the container is already shutdown
            +
          • -
          - - - -
            -
          • -

            stream

            -
            default java.util.stream.Stream<T> stream()
            +
          • +
            +

            stream

            +
            default Stream<T> stream()

            When called, provides back a Stream of the beans available in this Instance. If no beans are found, it returns an empty stream.

            -
            -
            Returns:
            +
            +
            Returns:
            a Stream representing the beans associated with this Instance object
            -
            Since:
            +
            Since:
            2.0
            +
          • -
          - - - -
            -
          • -

            isUnsatisfied

            -
            boolean isUnsatisfied()
            +
          • +
            +

            isUnsatisfied

            +
            boolean isUnsatisfied()

            Determines if there is no bean that matches the required type and qualifiers and is eligible for injection into the class into which the parent Instance was injected.

            -
            -
            Returns:
            +
            +
            Returns:
            true if there is no bean that matches the required type and qualifiers and is eligible for injection into the class into which the parent Instance was injected, or false otherwise.
            +
          • -
          - - - -
            -
          • -

            isAmbiguous

            -
            boolean isAmbiguous()
            +
          • +
            +

            isAmbiguous

            +
            boolean isAmbiguous()

            Determines if there is more than one bean that matches the required type and qualifiers and is eligible for injection into the class into which the parent Instance was injected.

            -
            -
            Returns:
            -
            true if there is more than one bean that matches the required type and qualifiers and is eligible for - injection into the class into which the parent Instance was injected, or false otherwise.
            +
            +
            Returns:
            +
            true if there is more than one bean that matches the required type and qualifiers and is eligible + for injection into the class into which the parent Instance was injected, or false + otherwise.
            +
          • -
          - - - -
            -
          • -

            isResolvable

            -
            default boolean isResolvable()
            +
          • +
            +

            isResolvable

            +
            default boolean isResolvable()

            - Determines if there is exactly one bean that matches the required type and qualifiers and is eligible for injection - into the class into which the parent Instance was injected. + Determines if there is exactly one bean that matches the required type and qualifiers and is eligible for injection into + the class into which the parent Instance was injected.

            -
            -
            Returns:
            +
            +
            Returns:
            true if there is exactly one bean that matches the required type and qualifiers and is eligible for - injection into the class into which the parent Instance was injected, or false otherwise.
            -
            Since:
            + injection into the class into which the parent Instance was injected, or false + otherwise. +
            Since:
            2.0
            +
          • -
          - - - - - -
            -
          • -

            destroy

            -
            void destroy​(T instance)
            +
          • +
            +

            destroy

            +
            void destroy(T instance)

            When called, the container destroys the instance if the active context object for the scope type of the bean supports destroying bean instances. All normal scoped built-in contexts support destroying bean instances.

            - +

            The instance passed should either be a dependent scoped bean instance obtained from the same Instance object, or the client proxy for a normal scoped bean instance.

            -
            -
            Parameters:
            +
            +
            Parameters:
            instance - the instance to destroy
            -
            Throws:
            -
            java.lang.UnsupportedOperationException - if the active context object for the scope type of the bean does not support +
            Throws:
            +
            UnsupportedOperationException - if the active context object for the scope type of the bean does not support destroying bean instances
            -
            Since:
            +
            Since:
            1.1
            +
          • -
          - - - -
            -
          • -

            getHandle

            -
            Instance.Handle<T> getHandle()
            -
            Obtains an initialized contextual reference handle for a bean that has the required type and qualifiers and is - eligible for injection. Throws exceptions if there is no such bean or more than one. +
          • +
            +

            getHandle

            +
            Instance.Handle<T> getHandle()
            +
            Obtains an initialized contextual reference handle for a bean that has the required type and qualifiers and is eligible + for injection. Throws exceptions if there is no such bean or more than one.

            The contextual reference is obtained lazily, i.e. when first needed.

            -
            -
            Returns:
            +
            +
            Returns:
            a new Instance.Handle instnace
            -
            Throws:
            +
            Throws:
            UnsatisfiedResolutionException - if there is no bean with given type and qualifiers
            AmbiguousResolutionException - if there is more than one bean given type and qualifiers
            +
          • -
          - - - -
            -
          • -

            handles

            -
            java.lang.Iterable<? extends Instance.Handle<T>> handles()
            -
            Allows iterating over contextual reference handles for all beans that have the required type and required qualifiers and are eligible - for injection. +
          • +
            +

            handles

            +
            Iterable<? extends Instance.Handle<T>> handles()
            +
            Allows iterating over contextual reference handles for all beans that have the required type and required qualifiers and + are eligible for injection.

            - Note that the returned Iterable is stateless. Therefore, each Iterable.iterator() produces a new set of handles. + Note that the returned Iterable is stateless. Therefore, each Iterable.iterator() produces a new set of + handles.

            -
            -
            Returns:
            +
            +
            Returns:
            a new iterable
            +
          • -
          - - - -
            -
          • -

            handlesStream

            -
            default java.util.stream.Stream<? extends Instance.Handle<T>> handlesStream()
            +
          • +
            +

            handlesStream

            +
            default Stream<? extends Instance.Handle<T>> handlesStream()
            Returns stream of Instance.Handle objects.
            -
            -
            Returns:
            +
            +
            Returns:
            a new stream of contextual reference handles
            -
          • -
          +
    - - - +
    + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Intercepted.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Intercepted.html index 1dadc24603..50f12ac7d7 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Intercepted.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Intercepted.html @@ -1,217 +1,110 @@ - - + Intercepted (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Intercepted

    +
    Module jakarta.cdi
    + +

    Annotation Type Intercepted

    -
    -
    -

    An interceptor may inject metadata about the bean it is intercepting.

    - +
      @Transactional @Interceptor
      public class TransactionInterceptor {
    - 
    +
         @Inject @Intercepted Bean<?> bean;
    - 
    -    @AroundInvoke 
    +
    +    @AroundInvoke
         public Object manageTransaction(InvocationContext ctx) throws Exception { ... }
    - 
    +
      }
      
    -
    -
    Since:
    +
    +
    Since:
    1.1
    -
    Author:
    +
    Author:
    Pete Muir
    - - -
    -
    - + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Model.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Model.html index f0650224cb..9faca05de7 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Model.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Model.html @@ -1,208 +1,105 @@ - - + Model (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Model

    +
    Module jakarta.cdi
    + +

    Annotation Type Model

    -
    -
    -

    The built-in stereotype intended for use with beans that define the model layer of an MVC web application architecture such as JSF.

    -
    -
    Author:
    +
    +
    Author:
    Gavin King
    -
    See Also:
    -
    Stereotype
    -
    - +
    See Also:
    +
    + -
    -
    - + + + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Produces.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Produces.html index accb793332..33db717bf8 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Produces.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Produces.html @@ -1,281 +1,178 @@ - - + Produces (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Produces

    +
    Module jakarta.cdi
    + +

    Annotation Type Produces

    -
    -
    -
      -
    • +

      -
      @Target({METHOD,FIELD})
      -@Retention(RUNTIME)
      -@Documented
      -public @interface Produces
      +
      @Target({METHOD,FIELD}) +@Retention(RUNTIME) +@Documented +public @interface Produces

      Identifies a producer method or field. May be applied to a method or field of a bean class.

      - +

      A producer method must be a non-abstract method of a managed bean class or session bean class. A producer method may be either static or non-static. If the bean is a session bean, the producer method must be either a business method of the EJB or a static method of the bean class.

      - +
        public class Shop {
      -    @Produces @ApplicationScoped 
      -    @Catalog @Named("catalog") 
      +    @Produces @ApplicationScoped
      +    @Catalog @Named("catalog")
           List<Product> getProducts() { ... }
           ...
        }
        
      - +

      A producer field must be a field of a managed bean class or session bean class. A producer field may be either static or non-static. If the bean is a session bean, the producer field must be a static field of the bean class.

      - +
      - public class Shop { 
      -    @Produces @ApplicationScoped 
      -    @Catalog @Named("catalog") 
      + public class Shop {
      +    @Produces @ApplicationScoped
      +    @Catalog @Named("catalog")
           List<Product> products = ...;
           ...
        }
        
      - +

      If a producer method sometimes returns a null value, or if a producer field sometimes contains a null value when accessed, then the producer method or field must have scope @Dependent.

      - +

      A producer method return type or producer field type may not be a type variable.

      - +

      If the producer method return type or producer field type is a parameterized type, it must specify an actual type parameter or type variable for each type parameter.

      - +

      If the producer method return type or producer field type is a parameterized type with a type variable, it must have scope @Dependent.

      - +

      A producer method may have any number of parameters. All producer method parameters are injection points.

      - +
        public class OrderFactory {
      - 
      +
            @Produces
            @ConversationScoped
            public Order createCurrentOrder(Shop shop, @Selected Product product) {
                Order order = new Order(product, shop);
                return order;
            }
      - 
      +
        }
        
      - +

      A bean may declare multiple producer methods or fields.

      - +

      Producer methods and fields are not inherited by bean subclasses.

      - +

      Interceptors and decorators may not declare producer methods or fields.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir
      -
      See Also:
      -
      Disposes
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    + + + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/ResolutionException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/ResolutionException.html index fc613878ea..878dffd642 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/ResolutionException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/ResolutionException.html @@ -1,357 +1,216 @@ - - + ResolutionException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Class ResolutionException

    +
    Module jakarta.cdi
    + +

    Class ResolutionException

    -
    -
      -
    • java.lang.Object
    • -
    • - -
    • -
    -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            ResolutionException

            -
            public ResolutionException()
            -
          • -
          - - - -
            -
          • -

            ResolutionException

            -
            public ResolutionException​(java.lang.String message,
            -                           java.lang.Throwable cause)
            +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              ResolutionException

              +
              public ResolutionException()
              +
              Creates the exception with no detail message or cause.
              +
            • -
            - - - -
              -
            • -

              ResolutionException

              -
              public ResolutionException​(java.lang.String message)
              +
            • +
              +

              ResolutionException

              +
              public ResolutionException(String message, + Throwable cause)
              +
              Creates the exception with given detail message and cause.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              cause - the cause
              +
              +
            • -
            - - - -
              -
            • -

              ResolutionException

              -
              public ResolutionException​(java.lang.Throwable cause)
              +
            • +
              +

              ResolutionException

              +
              public ResolutionException(String message)
              +
              Creates the exception with given detail message.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              +
            • -
            +
          • +
            +

            ResolutionException

            +
            public ResolutionException(Throwable cause)
            +
            Creates the exception with given cause.
            +
            +
            Parameters:
            +
            cause - the cause
            +
            +
      -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Specializes.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Specializes.Literal.html index de55d5803e..5f849d62e9 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Specializes.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Specializes.Literal.html @@ -1,372 +1,205 @@ - - + Specializes.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class Specializes.Literal

    +
    Module jakarta.cdi
    + +

    Class Specializes.Literal

    -
    - -
    - -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - - +
        • +
          +

          Field Details

          +
            +
          • +
            +

            INSTANCE

            +
            public static final Specializes.Literal INSTANCE
            +
            Default Specializes literal
            +
          - -
          -
            -
          • - - -

            Constructor Detail

            - - - -
              -
            • -

              Literal

              -
              public Literal()
            • -
            + +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              Literal

              +
              public Literal()
              +
          -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Specializes.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Specializes.html index fe4d3187a3..9ea5d86ba4 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Specializes.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Specializes.html @@ -1,233 +1,149 @@ - - + Specializes (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Specializes

    +
    Module jakarta.cdi
    + +

    Annotation Type Specializes

    -
    -
    -
      -
    • +

      -
      @Target({TYPE,METHOD})
      -@Retention(RUNTIME)
      -@Documented
      -public @interface Specializes
      +
      @Target({TYPE,METHOD}) +@Retention(RUNTIME) +@Documented +public @interface Specializes

      Indicates that a bean directly specializes another bean. May be applied to a bean class or producer method.

      - +

      If a bean directly specializes a second bean, it inherits:

      - +
      • all qualifiers of the second bean, and
      • the name, if any, of the second bean.
      - +

      - If the second bean has a name, the bean may not declare a name using @Named. Furthermore, the - bean must have all the bean types of the second bean. + If the second bean has a name, the bean may not declare a name using @Named. Furthermore, + the bean must have all the bean types of the second bean.

      - +
        -
      • If a bean class of a managed bean is annotated @Specializes , then the bean class must directly extend the - bean class of a second managed bean. Then the first managed bean directly specializes the second managed bean.
      • - -
      • If a bean class of a session bean is annotated @Specializes , then the bean class must directly extend the - bean class of a second session bean. Then the first session bean directly specializes the second session bean.
      • - -
      • If a producer method is annotated @Specializes, then it must be non-static and directly override another - producer method. Then the first producer method directly specializes the second producer method.
      • +
      • If a bean class of a managed bean is annotated @Specializes , then the bean class must directly extend + the bean class of a second managed bean. Then the first managed bean directly specializes the second managed bean.
      • + +
      • If a bean class of a session bean is annotated @Specializes , then the bean class must directly extend + the bean class of a second session bean. Then the first session bean directly specializes the second session bean.
      • + +
      • If a producer method is annotated @Specializes, then it must be non-static and directly override + another producer method. Then the first producer method directly specializes the second producer method.
      - +

      If a bean is specialized by any enabled bean, the first bean is disabled.

      -

      CDI Lite implementations are not required to provide support for specialization.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for specialization. +

    +
    +
    Author:
    Gavin King, Pete Muir
    - - + +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      Nested Classes
      +
      +
      Modifier and Type
      +
      Class
      +
      Description
      +
      static final class 
      + +
      +
      Supports inline instantiation of the Specializes annotation.
      -
    + + + + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Stereotype.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Stereotype.html index b5fba13298..704f6207ca 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Stereotype.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Stereotype.html @@ -1,156 +1,108 @@ - - + Stereotype (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Stereotype

    +
    Module jakarta.cdi
    + +

    Annotation Type Stereotype

    -
    -
    -
      -
    • +

      -
      @Retention(RUNTIME)
      -@Target(ANNOTATION_TYPE)
      -@Documented
      -public @interface Stereotype
      +
      @Retention(RUNTIME) +@Target(ANNOTATION_TYPE) +@Documented +public @interface Stereotype

      Specifies that an annotation type is a stereotype.

      - +

      In many systems, use of architectural patterns produces a set of recurring bean roles. A stereotype allows a framework developer to identify such a role and declare some common metadata for beans with that role in a central place.

      - +

      A bean may declare zero, one or multiple stereotypes, by applying the stereotype annotation to the bean class or producer method or field.

      - +

      A stereotype encapsulates any combination of:

      - +
      • a default scope, and
      • a set of interceptor bindings.
      - +

      The default scope of a stereotype is defined by annotating the stereotype with a scope type. A stereotype may declare at most one scope. If a bean explicitly declares a scope, any default scopes declared by its stereotypes are ignored.

      - +
        @RequestScoped
        @Stereotype
      @@ -159,13 +111,13 @@ 

      Annotation Type Stereotype< public @interface Action { }

      - +

      The interceptor bindings of a stereotype are defined by annotating the stereotype with the interceptor binding types. A stereotype may declare zero, one or multiple interceptor bindings. An interceptor binding declared by a stereotype is inherited by any bean that declares that stereotype.

      - +
        @RequestScoped
        @Secure
      @@ -176,22 +128,22 @@ 

      Annotation Type Stereotype< public @interface Action { }

      - +

      A stereotype may also specify that:

      - +
      • all beans with the stereotype have defaulted bean EL names, or that
      • all beans with the stereotype are alternatives, or that
      • all beans with the stereotype have predefined @Priority.
      - +

      - A stereotype may declare an empty @Named annotation, which specifies that every bean with the - stereotype has a defaulted name when a name is not explicitly specified by the bean. + A stereotype may declare an empty @Named annotation, which specifies that every bean with + the stereotype has a defaulted name when a name is not explicitly specified by the bean.

      - +
        @RequestScoped
        @Named
      @@ -203,12 +155,12 @@ 

      Annotation Type Stereotype< public @interface Action { }

      - +

      - A stereotype may declare an @Alternative annotation, which specifies that - every bean with the stereotype is an alternative. + A stereotype may declare an @Alternative annotation, which specifies that every bean with the + stereotype is an alternative.

      - +
        @Alternative
        @Stereotype
      @@ -217,10 +169,10 @@ 

      Annotation Type Stereotype< public @interface Mock { }

      - +

      - A stereotype may declare a @Priority annotation, which specifies that - every bean with the stereotype is enabled and has given priority. + A stereotype may declare a @Priority annotation, which specifies that every bean + with the stereotype is enabled and has given priority.

      @@ -237,79 +189,24 @@ 

      Annotation Type Stereotype< A stereotype may declare other stereotypes. Stereotype declarations are transitive. A stereotype declared by a second stereotype is inherited by all beans and other stereotypes that declare the second stereotype.

      -
      -
      Author:
      +
      +
      Author:
      Pete Muir, Gavin King
      -
      See Also:
      -
      the built-in stereotype Model
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    + + + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/TransientReference.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/TransientReference.Literal.html index a3a3beb87c..f186c8e349 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/TransientReference.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/TransientReference.Literal.html @@ -1,372 +1,205 @@ - - + TransientReference.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class TransientReference.Literal

    +
    Module jakarta.cdi
    + +

    Class TransientReference.Literal

    -
    - -
    - -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - - +
        • +
          +

          Field Details

          +
          - -
          -
            -
          • - - -

            Constructor Detail

            - - - -
              -
            • -

              Literal

              -
              public Literal()
            • -
            + +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              Literal

              +
              public Literal()
              +
          -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/TransientReference.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/TransientReference.html index bc27b8cbd0..a27279fdc7 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/TransientReference.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/TransientReference.html @@ -1,216 +1,131 @@ - - + TransientReference (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type TransientReference

    +
    Module jakarta.cdi
    + +

    Annotation Type TransientReference

    -
    -
    -
      -
    • +

      -
      @Target(PARAMETER)
      -@Retention(RUNTIME)
      -@Documented
      -public @interface TransientReference
      +
      @Target(PARAMETER) +@Retention(RUNTIME) +@Documented +public @interface TransientReference

      - If a parameter annotated with @TransientReference resolves to a dependent scoped bean, then the bean will be + If a parameter annotated with @TransientReference resolves to a dependent scoped bean, then the bean will + be destroyed after the invocation completes.

      - +
        public class OrderManager {
      - 
      -     @Inject 
      +
      +     @Inject
            public OrderManager(@TransientReference Order order) {
               ...
      -    
      +
            }
        }
        
      -
      -
      Since:
      +
      +
      Since:
      1.1
      -
      Author:
      +
      Author:
      Pete Muir
      -
    • -
    + +
    +
    + + + + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Typed.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Typed.Literal.html index 7ad2340c68..2bb44d6111 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Typed.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Typed.Literal.html @@ -1,382 +1,229 @@ - - + Typed.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class Typed.Literal

    +
    Module jakarta.cdi
    + +

    Class Typed.Literal

    -
    - -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - - +
        • +
          +

          Field Details

          +
            +
          • +
            +

            INSTANCE

            +
            public static final Typed.Literal INSTANCE
            +
            Default Typed literal
            +
          - -
          -
            -
          • - - -

            Method Detail

            - - - -
              -
            • -

              of

              -
              public static Typed.Literal of​(java.lang.Class<?>[] value)
            • -
            - - - -
              -
            • -

              value

              -
              public java.lang.Class<?>[] value()
              + +
            • +
              +

              Method Details

              +
                +
              • +
                +

                of

                +
                public static Typed.Literal of(Class<?>[] value)
                +
                Obtain the Typed literal for the provided bean types
                +
                +
                Parameters:
                +
                value - the classes corresponding to the bean types of the bean
                +
                Returns:
                +
                a new Literal value for the provided classes
                +
                +
              • -
              +
            • +
              +

              value

              +
              public Class<?>[] value()
              +
              +
              Returns:
              +
              the classes corresponding to the bean types of the bean
              +
              +
        -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Typed.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Typed.html index 7502e8c140..b1ca13ec2b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Typed.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Typed.html @@ -1,128 +1,80 @@ - - + Typed (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Typed

    +
    Module jakarta.cdi
    + +

    Annotation Type Typed

    -
    -
    -
      -
    • +

      -
      @Target({FIELD,METHOD,TYPE})
      -@Retention(RUNTIME)
      -@Documented
      -public @interface Typed
      +
      @Target({FIELD,METHOD,TYPE}) +@Retention(RUNTIME) +@Documented +public @interface Typed

      Restricts the bean types of a bean. May be applied to a bean class or producer method or field.

      @@ -138,148 +90,89 @@

      Annotation Type Typed

      When a @Typed annotation is specified, only the types whose classes are explicitly listed using the - value member, along with Object, are bean types of the bean. + value member, along with Object, are bean types of the bean.

      -
      -
      Author:
      +
      +
      Author:
      Pete Muir, Gavin King
      -
    • -
    + +
    +
      + +
    • +
      +

      Nested Class Summary

      +
      Nested Classes
      +
      +
      Modifier and Type
      +
      Class
      +
      Description
      +
      static final class 
      + +
      +
      Supports inline instantiation of the Typed annotation.
      +
      -
      -
        -
      • +
      +
    • -
      -
        -
      • - - -

        Optional Element Summary

        - - - - - - - - - - - - -
        Optional Elements 
        Modifier and TypeOptional ElementDescription
        java.lang.Class<?>[]value +
      • +
        +

        Optional Element Summary

        +
        Optional Elements
        +
        +
        Modifier and Type
        +
        Optional Element
        +
        Description
        +
        Class<?>[]
        + +
        Selects the bean types of the bean.
        -
      • -
      • -
      +
    +
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Element Detail

          - - - -
            -
          • -

            value

            -
            java.lang.Class<?>[] value
            +
          • +
            +

            Element Details

            +
              +
            • +
              +

              value

              +
              Class<?>[] value

              - Selects the bean types of the bean. Every class must correspond to a type in the unrestricted set of bean types of a - bean. + Selects the bean types of the bean. Every class must correspond to a type in the unrestricted set of bean types + of a bean.

              -
              -
              Returns:
              +
              +
              Returns:
              the classes corresponding to the bean types of the bean
              -
              +
              Default:
              {}
              -
            • -
            +
      -
    -
    - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/UnproxyableResolutionException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/UnproxyableResolutionException.html index dcfa35162f..215d4f6c7d 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/UnproxyableResolutionException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/UnproxyableResolutionException.html @@ -1,361 +1,217 @@ - - + UnproxyableResolutionException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class UnproxyableResolutionException

    +
    Module jakarta.cdi
    + +

    Class UnproxyableResolutionException

    -
    - -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            UnproxyableResolutionException

            -
            public UnproxyableResolutionException()
            -
          • -
          - - - -
            -
          • -

            UnproxyableResolutionException

            -
            public UnproxyableResolutionException​(java.lang.String message,
            -                                      java.lang.Throwable throwable)
            +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              UnproxyableResolutionException

              +
              public UnproxyableResolutionException()
              +
              Creates the exception with no detail message or cause.
              +
            • -
            - - - -
              -
            • -

              UnproxyableResolutionException

              -
              public UnproxyableResolutionException​(java.lang.String message)
              +
            • +
              +

              UnproxyableResolutionException

              +
              public UnproxyableResolutionException(String message, + Throwable cause)
              +
              Creates the exception with given detail message and cause.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              cause - the cause
              +
              +
            • -
            - - - -
              -
            • -

              UnproxyableResolutionException

              -
              public UnproxyableResolutionException​(java.lang.Throwable throwable)
              +
            • +
              +

              UnproxyableResolutionException

              +
              public UnproxyableResolutionException(String message)
              +
              Creates the exception with given detail message.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              +
            • -
            +
          • +
            +

            UnproxyableResolutionException

            +
            public UnproxyableResolutionException(Throwable cause)
            +
            Creates the exception with given cause.
            +
            +
            Parameters:
            +
            cause - the cause
            +
            +
      -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/UnsatisfiedResolutionException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/UnsatisfiedResolutionException.html index c334cc0fa9..5d0845f043 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/UnsatisfiedResolutionException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/UnsatisfiedResolutionException.html @@ -1,361 +1,217 @@ - - + UnsatisfiedResolutionException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class UnsatisfiedResolutionException

    +
    Module jakarta.cdi
    + +

    Class UnsatisfiedResolutionException

    -
    - -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            UnsatisfiedResolutionException

            -
            public UnsatisfiedResolutionException()
            -
          • -
          - - - -
            -
          • -

            UnsatisfiedResolutionException

            -
            public UnsatisfiedResolutionException​(java.lang.String message,
            -                                      java.lang.Throwable throwable)
            +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              UnsatisfiedResolutionException

              +
              public UnsatisfiedResolutionException()
              +
              Creates the exception with no detail message or cause.
              +
            • -
            - - - -
              -
            • -

              UnsatisfiedResolutionException

              -
              public UnsatisfiedResolutionException​(java.lang.String message)
              +
            • +
              +

              UnsatisfiedResolutionException

              +
              public UnsatisfiedResolutionException(String message, + Throwable cause)
              +
              Creates the exception with given detail message and cause.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              cause - the cause
              +
              +
            • -
            - - - -
              -
            • -

              UnsatisfiedResolutionException

              -
              public UnsatisfiedResolutionException​(java.lang.Throwable throwable)
              +
            • +
              +

              UnsatisfiedResolutionException

              +
              public UnsatisfiedResolutionException(String message)
              +
              Creates the exception with given detail message.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              +
            • -
            +
          • +
            +

            UnsatisfiedResolutionException

            +
            public UnsatisfiedResolutionException(Throwable cause)
            +
            Creates the exception with given cause.
            +
            +
            Parameters:
            +
            cause - the cause
            +
            +
      -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Vetoed.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Vetoed.Literal.html index d65a10cf7d..4afc9321f4 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Vetoed.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Vetoed.Literal.html @@ -1,372 +1,205 @@ - - + Vetoed.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class Vetoed.Literal

    +
    Module jakarta.cdi
    + +

    Class Vetoed.Literal

    -
    - -
    - -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - - +
        • +
          +

          Field Details

          +
            +
          • +
            +

            INSTANCE

            +
            public static final Vetoed.Literal INSTANCE
            +
            Default Vetoed literal
            +
          - -
          -
            -
          • - - -

            Constructor Detail

            - - - -
              -
            • -

              Literal

              -
              public Literal()
            • -
            + +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              Literal

              +
              public Literal()
              +
          -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Vetoed.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Vetoed.html index f1c4e1ba73..0412a91e5b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Vetoed.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/Vetoed.html @@ -1,215 +1,133 @@ - - + Vetoed (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Vetoed

    +
    Module jakarta.cdi
    + +

    Annotation Type Vetoed

    -
    -
    -
      -
    • +

      -
      @Target({TYPE,PACKAGE})
      -@Retention(RUNTIME)
      -@Documented
      -public @interface Vetoed
      +
      @Target({TYPE,PACKAGE}) +@Retention(RUNTIME) +@Documented +public @interface Vetoed

      Veto the processing of the class. Any beans or observer methods defined by this class will not be installed.

      - +

      When placed on package, all beans in the package are prevented from being installed. If packages are split across jars, non-portable behavior results. An application can prevent packages being split across jars by sealing the package.

      - +

      No container lifecycle events are fired for classes annotated Vetoed.

      -
      -
      Since:
      +
      +
      Since:
      1.1
      -
      Author:
      +
      Author:
      Stuart Douglas
      -
      See Also:
      -
      JAR File Specification
      -
      -
    • +
      See Also:
      +
      + +
      + + +
      +
        + +
      • +
        +

        Nested Class Summary

        +
        Nested Classes
        +
        +
        Modifier and Type
        +
        Class
        +
        Description
        +
        static final class 
        + +
        +
        Supports inline instantiation of the Vetoed annotation.
        -
    + + + + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/AnnotationBuilder.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/AnnotationBuilder.html index dba79a1e80..2983b742f7 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/AnnotationBuilder.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/AnnotationBuilder.html @@ -1,139 +1,89 @@ - - + AnnotationBuilder (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AnnotationBuilder

    -
    -
    -
    -
    +

    -
    public interface AnnotationBuilder
    +
    public interface AnnotationBuilder
    Builder for annotations of given type. Expected usage is:
    1. create the builder using of(Class) or of(ClassInfo);
    2. use the value() and member() methods to define annotation members;
    3. -
    4. call build() to create an AnnotationInfo.
    5. +
    6. call build() to create an AnnotationInfo.
    One builder instance should not be used to create multiple annotations.

    @@ -146,1975 +96,1541 @@

    Interface AnnotationBuilde and such members will be retained in the resulting AnnotationInfo. However, if that AnnotationInfo is later transformed to an instance of the annotation type, the non-existing members will disappear.

    -
    -
    Since:
    +
    +
    Since:
    4.0
    - - -
    -
    -
    +
    + + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            of

            -
            static AnnotationBuilder of​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              of

              +
              static AnnotationBuilder of(Class<? extends Annotation> annotationType)
              Returns a new AnnotationBuilder that builds an annotation of given type.
              -
              -
              Parameters:
              +
              +
              Parameters:
              annotationType - the annotation type, must not be null
              -
              Returns:
              +
              Returns:
              a new AnnotationBuilder, never null
              +
            • -
            - - - - - - - - - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(boolean value)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(boolean value)
              Adds a boolean-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - the boolean value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(boolean[] values)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(boolean[] values)
              Adds a boolean array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              values - the boolean array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(byte value)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(byte value)
              Adds a byte-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - the byte value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(byte[] values)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(byte[] values)
              Adds a byte array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              values - the byte array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(short value)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(short value)
              Adds a short-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - the short value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(short[] values)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(short[] values)
              Adds a short array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              values - the short array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(int value)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(int value)
              Adds an int-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - the int value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(int[] values)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(int[] values)
              Adds an int array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              values - the int array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(long value)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(long value)
              Adds a long-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - the long value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(long[] values)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(long[] values)
              Adds a long array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              values - the long array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(float value)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(float value)
              Adds a float-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - the float value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(float[] values)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(float[] values)
              Adds a float array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              values - the float array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(double value)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(double value)
              Adds a double-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - the double value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(double[] values)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(double[] values)
              Adds a double array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              values - the double array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(char value)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(char value)
              Adds a char-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - the char value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(char[] values)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(char[] values)
              Adds a char array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              values - the char array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(java.lang.String value)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(String value)
              Adds a String-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - the String value, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(java.lang.String[] values)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(String[] values)
              Adds a String array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              values - the String array, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(java.lang.Enum<?> value)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(Enum<?> value)
              Adds an enum-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - the enum value, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(java.lang.Enum<?>[] values)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(Enum<?>[] values)
              Adds an enum array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              values - the enum array, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(java.lang.Class<? extends java.lang.Enum<?>> enumType,
              -                                java.lang.String enumValue)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(Class<? extends Enum<?>> enumType, + String enumValue)
              Adds an enum-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              enumType - the enum type, must not be null
              enumValue - name of the enum constant, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(java.lang.Class<? extends java.lang.Enum<?>> enumType,
              -                                java.lang.String[] enumValues)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(Class<? extends Enum<?>> enumType, + String[] enumValues)
              Adds an enum array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              enumType - the enum type, must not be null
              enumValues - names of the enum constants, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(ClassInfo enumType,
              -                                java.lang.String enumValue)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(ClassInfo enumType, + String enumValue)
              Adds an enum-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              enumType - the enum type, must not be null
              enumValue - name of the enum constant, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(ClassInfo enumType,
              -                                java.lang.String[] enumValues)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(ClassInfo enumType, + String[] enumValues)
              Adds an enum array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              enumType - the enum type, must not be null
              enumValues - names of the enum constants, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(java.lang.Class<?> value)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(Class<?> value)
              Adds a class-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - the class value, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(java.lang.Class<?>[] values)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(Class<?>[] values)
              Adds a class array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              values - the class array, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(ClassInfo value)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(ClassInfo value)
              Adds a class-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - the class value, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(ClassInfo[] values)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(ClassInfo[] values)
              Adds a class array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              values - the class array, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - - - - - - - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(AnnotationInfo value)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(AnnotationInfo value)
              Adds an annotation-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - the annotation value, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(AnnotationInfo[] values)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(AnnotationInfo[] values)
              Adds an annotation array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              values - the annotation array, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(java.lang.annotation.Annotation value)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(Annotation value)
              Adds an annotation-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - the annotation value, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              value

              -
              default AnnotationBuilder value​(java.lang.annotation.Annotation[] values)
              +
            • +
              +

              value

              +
              default AnnotationBuilder value(Annotation[] values)
              Adds an annotation array-valued annotation member called value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              values - the annotation array, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         AnnotationMember value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + AnnotationMember value)
              Adds an annotation member with given name, whose value is given value.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - name of the annotation member, must not be null
              value - value of the annotation member, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         boolean value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + boolean value)
              Adds a boolean-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              value - the boolean value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         boolean[] values)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + boolean[] values)
              Adds a boolean array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              values - the boolean array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         byte value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + byte value)
              Adds a byte-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              value - the byte value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         byte[] values)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + byte[] values)
              Adds a byte array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              values - the byte array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         short value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + short value)
              Adds a short-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              value - the short value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         short[] values)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + short[] values)
              Adds a short array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              values - the short array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         int value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + int value)
              Adds an int-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              value - the int value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         int[] values)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + int[] values)
              Adds an int array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              values - the int array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         long value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + long value)
              Adds a long-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              value - the long value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         long[] values)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + long[] values)
              Adds a long array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              values - the long array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         float value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + float value)
              Adds a float-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              value - the float value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         float[] values)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + float[] values)
              Adds a float array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              values - the float array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         double value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + double value)
              Adds a double-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              value - the double value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         double[] values)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + double[] values)
              Adds a double array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              values - the double array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         char value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + char value)
              Adds a char-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              value - the char value
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         char[] values)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + char[] values)
              Adds a char array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              values - the char array, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         java.lang.String value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + String value)
              Adds a String-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              value - the String value, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         java.lang.String[] values)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + String[] values)
              Adds a String array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              values - the String array, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         java.lang.Enum<?> value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + Enum<?> value)
              Adds an enum-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              value - the enum value, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         java.lang.Enum<?>[] values)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + Enum<?>[] values)
              Adds an enum array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              values - the enum array, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         java.lang.Class<? extends java.lang.Enum<?>> enumType,
              -                         java.lang.String enumValue)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + Class<? extends Enum<?>> enumType, + String enumValue)
              Adds an enum-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              enumType - the enum type, must not be null
              enumValue - name of the enum constant, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         java.lang.Class<? extends java.lang.Enum<?>> enumType,
              -                         java.lang.String[] enumValues)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + Class<? extends Enum<?>> enumType, + String[] enumValues)
              Adds an enum array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              enumType - the enum type, must not be null
              enumValues - names of the enum constants, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         ClassInfo enumType,
              -                         java.lang.String enumValue)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + ClassInfo enumType, + String enumValue)
              Adds an enum-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              enumType - the enum type, must not be null
              enumValue - name of the enum constant, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         ClassInfo enumType,
              -                         java.lang.String[] enumValues)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + ClassInfo enumType, + String[] enumValues)
              Adds an enum array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              enumType - the enum type, must not be null
              enumValues - names of the enum constants, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         java.lang.Class<?> value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + Class<?> value)
              Adds a class-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              value - the class value, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         java.lang.Class<?>[] values)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + Class<?>[] values)
              Adds a class array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              values - the class array, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         ClassInfo value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + ClassInfo value)
              Adds a class-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              value - the class value, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         ClassInfo[] values)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + ClassInfo[] values)
              Adds a class array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              values - the class array, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - - - - - - - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         AnnotationInfo value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + AnnotationInfo value)
              Adds an annotation-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              value - the annotation value, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         AnnotationInfo[] values)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + AnnotationInfo[] values)
              Adds an annotation array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              values - the annotation array, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         java.lang.annotation.Annotation value)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + Annotation value)
              Adds an annotation-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              value - the annotation value, must not be null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              member

              -
              AnnotationBuilder member​(java.lang.String name,
              -                         java.lang.annotation.Annotation[] values)
              +
            • +
              +

              member

              +
              AnnotationBuilder member(String name, + Annotation[] values)
              Adds an annotation array-valued annotation member with given name.
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the member name, must not be null
              values - the annotation array, must not be null or contain null
              -
              Returns:
              +
              Returns:
              this AnnotationBuilder
              +
            • -
            - - - -
              -
            • -

              build

              -
              AnnotationInfo build()
              -
              Returns an AnnotationInfo that includes all annotation members defined by previous method calls +
            • +
              +

              build

              + +
              Returns an AnnotationInfo that includes all annotation members defined by previous method calls on this builder. After build() is called, this builder instance should be discarded.
              -
              -
              Returns:
              -
              the built AnnotationInfo, never null
              -
              Throws:
              -
              java.lang.IllegalStateException - if a value of some annotation member was not set, and that member - does not declare a default value
              +
              +
              Returns:
              +
              the built AnnotationInfo, never null
              +
              Throws:
              +
              IllegalStateException - if a value of some annotation member was not set, and that member + does not declare a default value
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/AnnotationBuilderFactory.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/AnnotationBuilderFactory.html index 844d37f6b6..1bbcb87eba 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/AnnotationBuilderFactory.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/AnnotationBuilderFactory.html @@ -1,294 +1,165 @@ - - + AnnotationBuilderFactory (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AnnotationBuilderFactory

    +
    Module jakarta.cdi
    + +

    Interface AnnotationBuilderFactory

    -
    -
    -
      -
    • +

      -
      public interface AnnotationBuilderFactory
      +
      public interface AnnotationBuilderFactory
      Supports instantiating AnnotationBuilder. Should not be called directly by users; the static methods on AnnotationBuilder are preferred.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    +
    +
    +
    - -
    -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BeanInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BeanInfo.html index 2f8c8c57c7..170e48bbda 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BeanInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BeanInfo.html @@ -1,137 +1,87 @@ - - + BeanInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface BeanInfo

    +
    Module jakarta.cdi
    + +

    Interface BeanInfo

    -
    -
    -
      -
    • -
      +
      +
      All Known Subinterfaces:
      InterceptorInfo

      -
      public interface BeanInfo
      +
      public interface BeanInfo
      Beans are:
        @@ -147,547 +97,354 @@

        Interface BeanInfo

        Class-based and producer-based beans directly correspond to a declaration in program source code. Synthetic beans don't and are instead defined through other mechanisms, such as extensions.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    + + +
    +
    Returns a collection of all types of this bean.
    +
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            scope

            -
            ScopeInfo scope()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              scope

              +
              ScopeInfo scope()
              Returns the scope of this bean.
              -
              -
              Returns:
              +
              +
              Returns:
              the scope of this bean, never null
              +
            • -
            - - - -
              -
            • -

              types

              -
              java.util.Collection<Type> types()
              -
              Returns a collection of all types of this bean.
              -
              -
              Returns:
              +
            • +
              +

              types

              +
              Collection<Type> types()
              +
              Returns a collection of all types of this bean.
              +
              +
              Returns:
              immutable collection of bean types, never null
              +
            • -
            - - - -
              -
            • -

              qualifiers

              -
              java.util.Collection<AnnotationInfo> qualifiers()
              -
              Returns a collection of this bean's qualifiers, represented as AnnotationInfo.
              -
              -
              Returns:
              +
            • +
              +

              qualifiers

              +
              Collection<AnnotationInfo> qualifiers()
              +
              Returns a collection of this bean's qualifiers, represented as AnnotationInfo.
              +
              +
              Returns:
              immutable collection of qualifiers, never null
              +
            • -
            - - - -
              -
            • -

              declaringClass

              -
              ClassInfo declaringClass()
              +
            • +
              +

              declaringClass

              +
              ClassInfo declaringClass()
              Returns the class that declares this bean. In case of a managed bean, also known as class-based bean, that is the bean class directly. In case of a producer method or field, that is the class that declares the producer method or field. Returns null if this bean is synthetic.
              -
              -
              Returns:
              -
              ClassInfo for the class that declares this bean, or null if this bean is synthetic
              +
              +
              Returns:
              +
              ClassInfo for the class that declares this bean, or null if this bean is synthetic
              +
            • -
            - - - -
              -
            • -

              isClassBean

              -
              boolean isClassBean()
              +
            • +
              +

              isClassBean

              +
              boolean isClassBean()
              Returns whether this bean is a managed bean, also known as class-based bean.
              -
              -
              Returns:
              +
              +
              Returns:
              whether this bean is a managed bean
              +
            • -
            - - - -
              -
            • -

              isProducerMethod

              -
              boolean isProducerMethod()
              +
            • +
              +

              isProducerMethod

              +
              boolean isProducerMethod()
              Returns whether this bean is defined by a producer method.
              -
              -
              Returns:
              +
              +
              Returns:
              whether this bean is defined by a producer method
              +
            • -
            - - - -
              -
            • -

              isProducerField

              -
              boolean isProducerField()
              +
            • +
              +

              isProducerField

              +
              boolean isProducerField()
              Returns whether this bean is defined by a producer field.
              -
              -
              Returns:
              +
              +
              Returns:
              whether this bean is defined by a producer field
              +
            • -
            - - - -
              -
            • -

              isSynthetic

              -
              boolean isSynthetic()
              +
            • +
              +

              isSynthetic

              +
              boolean isSynthetic()
              Returns whether this bean is synthetic. In other words, whether this bean does not correspond to a declaration in program source code and was created through other means (e.g. using an extension).
              -
              -
              Returns:
              +
              +
              Returns:
              whether this bean is synthetic
              +
            • -
            - - - -
              -
            • -

              producerMethod

              -
              MethodInfo producerMethod()
              -
              Returns the producer method that defines this bean. +
            • +
              +

              producerMethod

              +
              MethodInfo producerMethod()
              +
              Returns the producer method that defines this bean. Returns null if this bean is not defined by a producer method.
              -
              -
              Returns:
              +
              +
              Returns:
              producer method that defines this bean, or null if this bean is not defined by a producer method
              +
            • -
            - - - -
              -
            • -

              producerField

              -
              FieldInfo producerField()
              -
              Returns the producer field that defines this bean. +
            • +
              +

              producerField

              +
              FieldInfo producerField()
              +
              Returns the producer field that defines this bean. Returns null if this bean is not defined by a producer field.
              -
              -
              Returns:
              +
              +
              Returns:
              producer field that defines this bean, or null if this bean is not defined by a producer field
              +
            • -
            - - - -
              -
            • -

              isAlternative

              -
              boolean isAlternative()
              +
            • +
              +

              isAlternative

              +
              boolean isAlternative()
              Returns whether this bean is an alternative.
              -
              -
              Returns:
              +
              +
              Returns:
              whether this bean is an alternative
              +
            • -
            - - - -
              -
            • -

              priority

              -
              java.lang.Integer priority()
              +
            • +
              +

              priority

              +
              Integer priority()
              Returns the priority declared on this bean, or null if this bean does not declare a priority. Declaring a priority on an alternative bean makes it an enabled alternative. Similarly, declaring a priority on an interceptor makes it an enabled interceptor.
              -
              -
              Returns:
              +
              +
              Returns:
              the priority of this bean, or null if this bean does not declare a priority
              +
            • -
            - - - -
              -
            • -

              name

              -
              java.lang.String name()
              +
            • +
              +

              name

              +
              String name()
              Returns the bean name of this bean. A bean name is usually defined using the @Named annotation. Returns null if the bean does not have a name.
              -
              -
              Returns:
              +
              +
              Returns:
              the bean name, or null if the bean does not have a name
              +
            • -
            - - - -
              -
            • -

              disposer

              -
              DisposerInfo disposer()
              +
            • +
              +

              disposer

              +
              DisposerInfo disposer()
              Returns the disposer method of this producer-based bean. Returns null if this bean is not a defined by a producer method or a producer field, or if this producer-based bean does not have a corresponding disposer method.
              -
              -
              Returns:
              +
              +
              Returns:
              the disposer, or null if this bean does not have a disposer
              +
            • -
            - - - -
              -
            • -

              stereotypes

              -
              java.util.Collection<StereotypeInfo> stereotypes()
              +
            • +
              +

              stereotypes

              +
              Collection<StereotypeInfo> stereotypes()
              Returns a collection of this bean's stereotypes.
              -
              -
              Returns:
              +
              +
              Returns:
              immutable collection of stereotypes, never null
              +
            • -
            - - - - - - - -
              -
            • -

              createInvoker

              -
              InvokerBuilder<InvokerInfo> createInvoker​(MethodInfo method)
              -
              Returns a new InvokerBuilder for given method. The builder eventually produces - an opaque representation of the invoker for the given method. -

              - The method must be declared on the bean class or inherited from a supertype - of the bean class of this bean, otherwise an exception is thrown. -

              - If an invoker may not be obtained for given method as described - in Invoker, an exception is thrown. -

              - If this method is called outside the @Registration phase, an exception is thrown.

              -
              -
              Parameters:
              -
              method - method of this bean, must not be null
              -
              Returns:
              -
              the invoker builder, never null
              -
              Since:
              -
              4.1
              -
              -
            • -
            - - - -
              -
            • -

              isInterceptor

              -
              default boolean isInterceptor()
              +
            • +
              +

              isInterceptor

              +
              default boolean isInterceptor()
              Returns whether this bean is an interceptor.
              -
              -
              Returns:
              +
              +
              Returns:
              whether this bean is an interceptor
              +
            • -
            - - - - +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BuildCompatibleExtension.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BuildCompatibleExtension.html index 6889ec996f..336f9eed0d 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BuildCompatibleExtension.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BuildCompatibleExtension.html @@ -1,128 +1,80 @@ - - + BuildCompatibleExtension (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface BuildCompatibleExtension

    +
    Module jakarta.cdi
    + +

    Interface BuildCompatibleExtension

    -
    -
    -
      -
    • +

      -
      public interface BuildCompatibleExtension
      -
      Build compatible extensions are service providers for this interface, as defined in ServiceLoader. +
      public interface BuildCompatibleExtension
      +
      Build compatible extensions are service providers for this interface, as defined in ServiceLoader. This means: they are classes that implement this interface, provide a META-INF/services file, and satisfy all other service provider constraints. Additionally, build compatible extensions must not be beans and must not be referred to by application code. @@ -165,81 +117,20 @@

      Interface BuildComp on the API boundary of build compatible extensions. In other words, users may only use instances of these interfaces that they previously obtained from the corresponding API. If not, non-portable behavior results.

      - In build compatible extensions, implementations of AnnotationTarget - only return annotations with the runtime retention policy.

      -
      -
      Since:
      + In build compatible extensions, implementations of AnnotationTarget + only return annotations with the runtime retention policy.
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    + +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BuildServices.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BuildServices.html index c3516368a5..c16fe337c1 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BuildServices.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BuildServices.html @@ -1,277 +1,149 @@ - - + BuildServices (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface BuildServices

    +
    Module jakarta.cdi
    + +

    Interface BuildServices

    -
    -
    - -
    -
    -
    -
    -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BuildServicesResolver.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BuildServicesResolver.html index 972761c064..125f6a32fa 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BuildServicesResolver.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/BuildServicesResolver.html @@ -1,330 +1,184 @@ - - + BuildServicesResolver (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Class BuildServicesResolver

    +
    Module jakarta.cdi
    + +

    Class BuildServicesResolver

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • jakarta.enterprise.inject.build.compatible.spi.BuildServicesResolver
      • -
      -
    • -
    -
    -
      -
    • +
      java.lang.Object +
      jakarta.enterprise.inject.build.compatible.spi.BuildServicesResolver
      +
      +

      -
      public final class BuildServicesResolver
      -extends java.lang.Object
      +
      public final class BuildServicesResolver +extends Object
      An internal helper to resolve BuildServices implementations. This class is public only for integrators and should not be used by applications.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        - +
      • +
        +

        Constructor Summary

        +
        Constructors
        +
        +
        Constructor
        +
        Description
        + +
         
        +
        +
      • -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - -
          All Methods Static Methods Concrete Methods 
          Modifier and TypeMethodDescription
          static voidsetBuildServices​(BuildServices instance) +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          +
          static void
          + +
          This method should not be used by applications.
          -
        • -
            -
          • - - -

            Methods inherited from class java.lang.Object

            -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
          • -
          -
        • -
        +
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            BuildServicesResolver

            -
            public BuildServicesResolver()
            -
          • -
          +
        • +
          +

          Constructor Details

          +
            +
          • +
            +

            BuildServicesResolver

            +
            public BuildServicesResolver()
            +
          +
        • -
          -
            -
          • - - -

            Method Detail

            - - - -
              -
            • -

              setBuildServices

              -
              public static void setBuildServices​(BuildServices instance)
              +
            • +
              +

              Method Details

              +
                +
              • +
                +

                setBuildServices

                +
                public static void setBuildServices(BuildServices instance)
                This method should not be used by applications. It is only exposed for integrators with complex classloading architectures, where service loader lookup doesn't work out of the box. With this method, an integrator may manually provide an instance of BuildServices and this class will no longer attempt to look it up using service loader.
                -
                -
                Parameters:
                +
                +
                Parameters:
                instance - a BuildServices instance that should be used, must not be null
                -
                Throws:
                -
                java.lang.IllegalArgumentException - if the provided argument is null
                +
                Throws:
                +
                IllegalArgumentException - if the provided argument is null
                -
              • -
              +
        -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ClassConfig.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ClassConfig.html index 5c6868d038..a6498e4ace 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ClassConfig.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ClassConfig.html @@ -1,474 +1,314 @@ - - + ClassConfig (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ClassConfig

    +
    Module jakarta.cdi
    + +

    Interface ClassConfig

    -
    -
    -
      -
    • -
      +
      +
      All Superinterfaces:
      DeclarationConfig

      -
      public interface ClassConfig
      -extends DeclarationConfig
      +
      public interface ClassConfig +extends DeclarationConfig
      Allows adding annotations to and removing annotations from a class. Note that the class is not physically altered, the modifications are only seen by the CDI container.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
      See Also:
      -
      Enhancement
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            info

            -
            ClassInfo info()
            -
            Returns the ClassInfo corresponding to this transformed class.
            -
            -
            Specified by:
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              info

              +
              ClassInfo info()
              +
              Returns the ClassInfo corresponding to this transformed class.
              +
              +
              Specified by:
              info in interface DeclarationConfig
              -
              Returns:
              -
              the ClassInfo corresponding to this transformed class, never null
              +
              Returns:
              +
              the ClassInfo corresponding to this transformed class, never null
              +
            • -
            - - - -
              -
            • -

              addAnnotation

              -
              ClassConfig addAnnotation​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
              +
            • +
              +

              addAnnotation

              +
              ClassConfig addAnnotation(Class<? extends Annotation> annotationType)
              Adds a marker annotation of given type to this class. Does not allow configuring annotation members.
              -
              -
              Specified by:
              +
              +
              Specified by:
              addAnnotation in interface DeclarationConfig
              -
              Parameters:
              +
              Parameters:
              annotationType - the annotation type, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - - - - - -
              -
            • -

              addAnnotation

              -
              ClassConfig addAnnotation​(java.lang.annotation.Annotation annotation)
              +
            • +
              +

              addAnnotation

              +
              ClassConfig addAnnotation(Annotation annotation)
              Adds given annotation to this class. The annotation instance is typically a subclass of AnnotationLiteral.
              -
              -
              Specified by:
              +
              +
              Specified by:
              addAnnotation in interface DeclarationConfig
              -
              Parameters:
              +
              Parameters:
              annotation - the annotation to add to this class, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - -
              -
            • -

              removeAnnotation

              -
              ClassConfig removeAnnotation​(java.util.function.Predicate<AnnotationInfo> predicate)
              +
            • +
              +

              removeAnnotation

              +
              ClassConfig removeAnnotation(Predicate<AnnotationInfo> predicate)
              Removes all annotations matching given predicate from this class.
              -
              -
              Specified by:
              +
              +
              Specified by:
              removeAnnotation in interface DeclarationConfig
              -
              Parameters:
              +
              Parameters:
              predicate - an annotation predicate, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - -
              -
            • -

              removeAllAnnotations

              -
              ClassConfig removeAllAnnotations()
              +
            • +
              +

              removeAllAnnotations

              +
              ClassConfig removeAllAnnotations()
              Removes all annotations from this class.
              -
              -
              Specified by:
              +
              +
              Specified by:
              removeAllAnnotations in interface DeclarationConfig
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - -
    +
    +
    Returns:
    immutable collection of MethodConfig objects, never null
    + - - - - - - - - - + - - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/DeclarationConfig.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/DeclarationConfig.html index bb503b3f99..ecb16f99c3 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/DeclarationConfig.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/DeclarationConfig.html @@ -1,392 +1,247 @@ - - + DeclarationConfig (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface DeclarationConfig

    +
    Module jakarta.cdi
    + +

    Interface DeclarationConfig

    -
    -
    -
      -
    • -
      +
      +
      All Known Subinterfaces:
      ClassConfig, FieldConfig, MethodConfig, ParameterConfig

      -
      public interface DeclarationConfig
      +
      public interface DeclarationConfig
      Allows adding annotations to and removing annotations from a declaration. Note that the declaration is not physically altered, the modifications are only seen by the CDI container.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
      See Also:
      -
      Enhancement
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            info

            -
            DeclarationInfo info()
            -
            Returns the DeclarationInfo corresponding to this transformed declaration.
            -
            -
            Returns:
            -
            the DeclarationInfo corresponding to this transformed declaration, never null
            +
          • +
            +

            Method Details

            + - - - -
              -
            • -

              addAnnotation

              -
              DeclarationConfig addAnnotation​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
              +
            • +
              +

              addAnnotation

              +
              DeclarationConfig addAnnotation(Class<? extends Annotation> annotationType)
              Adds a marker annotation of given type to this declaration. Does not allow configuring annotation members.
              -
              -
              Parameters:
              +
              +
              Parameters:
              annotationType - the annotation type, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - -
              -
            • -

              addAnnotation

              -
              DeclarationConfig addAnnotation​(AnnotationInfo annotation)
              -
              Adds given annotation to this declaration. The AnnotationInfo can be obtained +
            • +
              +

              addAnnotation

              +
              DeclarationConfig addAnnotation(AnnotationInfo annotation)
              +
              Adds given annotation to this declaration. The AnnotationInfo can be obtained from an annotation target, or constructed from scratch using AnnotationBuilder.
              -
              -
              Parameters:
              +
              +
              Parameters:
              annotation - the annotation to add to this declaration, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - -
              -
            • -

              addAnnotation

              -
              DeclarationConfig addAnnotation​(java.lang.annotation.Annotation annotation)
              +
            • +
              +

              addAnnotation

              +
              DeclarationConfig addAnnotation(Annotation annotation)
              Adds given annotation to this declaration. The annotation instance is typically a subclass of AnnotationLiteral.
              -
              -
              Parameters:
              +
              +
              Parameters:
              annotation - the annotation to add to this declaration, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - -
              -
            • -

              removeAnnotation

              -
              DeclarationConfig removeAnnotation​(java.util.function.Predicate<AnnotationInfo> predicate)
              +
            • +
              +

              removeAnnotation

              +
              DeclarationConfig removeAnnotation(Predicate<AnnotationInfo> predicate)
              Removes all annotations matching given predicate from this declaration.
              -
              -
              Parameters:
              +
              +
              Parameters:
              predicate - an annotation predicate, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - -
              -
            • -

              removeAllAnnotations

              -
              DeclarationConfig removeAllAnnotations()
              +
            • +
              +

              removeAllAnnotations

              +
              DeclarationConfig removeAllAnnotations()
              Removes all annotations from this declaration.
              -
              -
              Returns:
              +
              +
              Returns:
              this configurator object, to allow fluent usage
              -
            • -
            +
      -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Discovery.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Discovery.html index 47f5ac90e9..15524abfbf 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Discovery.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Discovery.html @@ -1,127 +1,79 @@ - - + Discovery (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Discovery

    +
    Module jakarta.cdi
    + +

    Annotation Type Discovery

    -
    -
    -
      -
    • +

      -
      @Target(METHOD)
      -@Retention(RUNTIME)
      -public @interface Discovery
      +
      @Target(METHOD) +@Retention(RUNTIME) +public @interface Discovery
      1st phase of build compatible extension execution. Allow adding additional classes to the set of types discovered during type discovery. Also allows registering custom CDI meta-annotations. @@ -132,77 +84,18 @@

      Annotation Type DiscoveryMetaAnnotations

    • Messages
    -
    -
    Since:
    +
    +
    Since:
    4.0
    - - -
    -
    - + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/DisposerInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/DisposerInfo.html index d7ff694b98..15b695b040 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/DisposerInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/DisposerInfo.html @@ -1,290 +1,161 @@ - - + DisposerInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface DisposerInfo

    +
    Module jakarta.cdi
    + +

    Interface DisposerInfo

    -
    -
    -
      -
    • +

      -
      public interface DisposerInfo
      +
      public interface DisposerInfo
      Disposer methods may exist for producer-based beans. Each disposer method has a disposed parameter.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            disposerMethod

            -
            MethodInfo disposerMethod()
            -
            Returns the declaration of this disposer method.
            -
            -
            Returns:
            -
            the declaration of this disposer method, never null
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              disposerMethod

              +
              MethodInfo disposerMethod()
              +
              Returns the declaration of this disposer method.
              +
              +
              Returns:
              +
              the declaration of this disposer method, never null
              +
            • -
            - - - -
              -
            • -

              disposedParameter

              -
              ParameterInfo disposedParameter()
              -
              Returns the declaration of the disposed parameter of this disposer method.
              -
              -
              Returns:
              -
              the declaration of the disposed parameter of this disposer method, never null
              +
            • +
              +

              disposedParameter

              +
              ParameterInfo disposedParameter()
              +
              Returns the declaration of the disposed parameter of this disposer method.
              +
              +
              Returns:
              +
              the declaration of the disposed parameter of this disposer method, never null
              -
            • -
            +
      -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Enhancement.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Enhancement.html index 7cbc75a202..b050c88677 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Enhancement.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Enhancement.html @@ -1,127 +1,79 @@ - - + Enhancement (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Enhancement

    +
    Module jakarta.cdi
    + +

    Annotation Type Enhancement

    -
    -
    -

    Finally, AnnotationBuilder may be used to create instances - of AnnotationInfo.

    -
    -
    Since:
    + of AnnotationInfo.
    +
    +
    Since:
    4.0
    - - -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Required Element Summary

          - - - - - - - - - - - - -
          Required Elements 
          Modifier and TypeRequired ElementDescription
          java.lang.Class<?>[]types +
        • +
          +

          Required Element Summary

          +
          Required Elements
          +
          +
          Modifier and Type
          +
          Required Element
          +
          Description
          +
          Class<?>[]
          + +
          Defines the set of expected types.
          -
        • -
        • -
        +
    + + -
    -
      -
    • - - -

      Optional Element Summary

      - - - - - - - - - - - - - - - - - -
      Optional Elements 
      Modifier and TypeOptional ElementDescription
      java.lang.Class<? extends java.lang.annotation.Annotation>[]withAnnotations +
    • +
      +

      Optional Element Summary

      +
      Optional Elements
      +
      +
      Modifier and Type
      +
      Optional Element
      +
      Description
      +
      Class<? extends Annotation>[]
      + +
      Narrows down the set of expected types, defined by types and withSubtypes, to types that use any of given annotations.
      -
    • booleanwithSubtypes + +
      boolean
      + +
      If true, the set of expected types includes all direct and indirect subtypes of given types.
      -
      -
    • -
    + +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Element Detail

          - - - -
            -
          • -

            types

            -
            java.lang.Class<?>[] types
            +
          • +
            +

            Element Details

            +
              +
            • +
              +

              types

              +
              Class<?>[] types
              Defines the set of expected types. If withSubtypes is true, the set of expected types includes all direct and indirect subtypes of these types. If withAnnotations is defined, the set of expected types only includes types that use given annotations.
              -
              -
              Returns:
              +
              +
              Returns:
              the set of expected types
              -
            • -
            +
        + -
        -
          -
        • - - -
            -
          • -

            withSubtypes

            -
            boolean withSubtypes
            +
          • +
            +
              +
            • +
              +

              withSubtypes

              +
              boolean withSubtypes
              If true, the set of expected types includes all direct and indirect subtypes of given types.
              -
              -
              Returns:
              +
              +
              Returns:
              whether subtypes should be included in the set of expected types
              -
              +
              Default:
              false
              -
            • -
            -
          • -
        -
        -
          -
        • - - -
            -
          • -

            withAnnotations

            -
            java.lang.Class<? extends java.lang.annotation.Annotation>[] withAnnotations
            +
          • +
          • +
            +

            withAnnotations

            +
            Class<? extends Annotation>[] withAnnotations
            Narrows down the set of expected types, defined by types and withSubtypes, to types that use any of given annotations. The annotation can appear on the type, or on any member of the type, or on any @@ -307,86 +221,28 @@

            withAnnotations

            Defaults to an empty array, so that the set of expected types is not narrowed down in any way.

            -
            -
            Returns:
            +
            +
            Returns:
            types of annotations that must be present on the expected types
            -
            +
            Default:
            {}
            -
          • -
          +
    -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/FieldConfig.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/FieldConfig.html index 651b88adb4..5c4e0ee6ae 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/FieldConfig.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/FieldConfig.html @@ -1,405 +1,260 @@ - - + FieldConfig (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface FieldConfig

    +
    Module jakarta.cdi
    + +

    Interface FieldConfig

    -
    -
    -
      -
    • -
      +
      +
      All Superinterfaces:
      DeclarationConfig

      -
      public interface FieldConfig
      -extends DeclarationConfig
      +
      public interface FieldConfig +extends DeclarationConfig
      Allows adding annotations to and removing annotations from a field. Note that the field is not physically altered, the modifications are only seen by the CDI container.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
      See Also:
      -
      Enhancement
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            info

            -
            FieldInfo info()
            -
            Returns the FieldInfo corresponding to this transformed field.
            -
            -
            Specified by:
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              info

              +
              FieldInfo info()
              +
              Returns the FieldInfo corresponding to this transformed field.
              +
              +
              Specified by:
              info in interface DeclarationConfig
              -
              Returns:
              -
              the FieldInfo corresponding to this transformed field, never null
              +
              Returns:
              +
              the FieldInfo corresponding to this transformed field, never null
              +
            • -
            - - - -
              -
            • -

              addAnnotation

              -
              FieldConfig addAnnotation​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
              +
            • +
              +

              addAnnotation

              +
              FieldConfig addAnnotation(Class<? extends Annotation> annotationType)
              Adds a marker annotation of given type to this field. Does not allow configuring annotation members.
              -
              -
              Specified by:
              +
              +
              Specified by:
              addAnnotation in interface DeclarationConfig
              -
              Parameters:
              +
              Parameters:
              annotationType - the annotation type, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - - - - - -
              -
            • -

              addAnnotation

              -
              FieldConfig addAnnotation​(java.lang.annotation.Annotation annotation)
              +
            • +
              +

              addAnnotation

              +
              FieldConfig addAnnotation(Annotation annotation)
              Adds given annotation to this field. The annotation instance is typically a subclass of AnnotationLiteral.
              -
              -
              Specified by:
              +
              +
              Specified by:
              addAnnotation in interface DeclarationConfig
              -
              Parameters:
              +
              Parameters:
              annotation - the annotation to add to this field, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - -
              -
            • -

              removeAnnotation

              -
              FieldConfig removeAnnotation​(java.util.function.Predicate<AnnotationInfo> predicate)
              +
            • +
              +

              removeAnnotation

              +
              FieldConfig removeAnnotation(Predicate<AnnotationInfo> predicate)
              Removes all annotations matching given predicate from this field.
              -
              -
              Specified by:
              +
              +
              Specified by:
              removeAnnotation in interface DeclarationConfig
              -
              Parameters:
              +
              Parameters:
              predicate - an annotation predicate, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - -
              -
            • -

              removeAllAnnotations

              -
              FieldConfig removeAllAnnotations()
              +
            • +
              +

              removeAllAnnotations

              +
              FieldConfig removeAllAnnotations()
              Removes all annotations from this field.
              -
              -
              Specified by:
              +
              +
              Specified by:
              removeAllAnnotations in interface DeclarationConfig
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              -
            • -
            +
      -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InjectionPointInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InjectionPointInfo.html index 7d22e47ae4..910cb624b2 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InjectionPointInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InjectionPointInfo.html @@ -1,235 +1,161 @@ - - + InjectionPointInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface InjectionPointInfo

    +
    Module jakarta.cdi
    + +

    Interface InjectionPointInfo

    -
    -
    -
      -
    • +

      -
      public interface InjectionPointInfo
      +
      public interface InjectionPointInfo
      An injection point defined on some bean. Injection points may be fields or method parameters.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    + + +
    +
    Returns a collection of qualifiers declared on this injection point, represented as AnnotationInfo.
    +
    + + +
    +
    Returns the type of this injection point.
    +
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            type

            -
            Type type()
            -
            Returns the type of this injection point.
            -
            -
            Returns:
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              type

              +
              Type type()
              +
              Returns the type of this injection point.
              +
              +
              Returns:
              the type of this injection point, never null
              +
            • -
            - - - -
              -
            • -

              qualifiers

              -
              java.util.Collection<AnnotationInfo> qualifiers()
              -
              Returns a collection of qualifiers declared on this injection point, represented as AnnotationInfo.
              -
              -
              Returns:
              +
            • +
              +

              qualifiers

              +
              Collection<AnnotationInfo> qualifiers()
              +
              Returns a collection of qualifiers declared on this injection point, represented as AnnotationInfo.
              +
              +
              Returns:
              collection of qualifiers, never null
              +
            • -
            - - - -
              -
            • -

              declaration

              -
              DeclarationInfo declaration()
              +
            • +
              +

              declaration

              +
              DeclarationInfo declaration()
              Returns the declaration of this injection point. - That is a FieldInfo for field injection, - or ParameterInfo for: + That is a FieldInfo for field injection, + or ParameterInfo for:
              • constructor injection,
              • initializer method,
              • @@ -237,84 +163,24 @@

                declaration

              • producer method,
              • observer method.
              -
              -
              Returns:
              +
              +
              Returns:
              the declaration of this injection point, never null
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InterceptorInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InterceptorInfo.html index 2270c0008b..d04e5f497d 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InterceptorInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InterceptorInfo.html @@ -1,138 +1,88 @@ - - + InterceptorInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface InterceptorInfo

    +
    Module jakarta.cdi
    + +

    Interface InterceptorInfo

    -
    -
    -
      -
    • -
      +
      +
      All Superinterfaces:
      BeanInfo

      -
      public interface InterceptorInfo
      -extends BeanInfo
      +
      public interface InterceptorInfo +extends BeanInfo
      Interceptors are managed beans annotated @Interceptor. An interceptor declares a set of interceptor binding annotations, used to associate the interceptor with target beans. It also declares at most one interceptor method @@ -148,222 +98,129 @@

      Interface InterceptorInfo Note that this description applies to CDI Lite. There are more ways to declare an interceptor, but those are only present in CDI Full.

      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    +
    +
    + + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            interceptorBindings

            -
            java.util.Collection<AnnotationInfo> interceptorBindings()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              interceptorBindings

              +
              Collection<AnnotationInfo> interceptorBindings()
              Returns the set of interceptor binding annotations declared on this interceptor.
              -
              -
              Returns:
              +
              +
              Returns:
              immutable set of interceptor binding annotations, never null
              +
            • -
            - - - -
              -
            • -

              intercepts

              -
              boolean intercepts​(InterceptionType interceptionType)
              +
            • +
              +

              intercepts

              +
              boolean intercepts(InterceptionType interceptionType)
              Returns whether this interceptor declares an interceptor method for given interception type.
              -
              -
              Parameters:
              +
              +
              Parameters:
              interceptionType - the type of interception
              -
              Returns:
              +
              Returns:
              whether this interceptor declares an interceptor method for given interception type
              +
            • -
            - - - -
              -
            • -

              isInterceptor

              -
              default boolean isInterceptor()
              -
              Description copied from interface: BeanInfo
              +
            • +
              +

              isInterceptor

              +
              default boolean isInterceptor()
              +
              Description copied from interface: BeanInfo
              Returns whether this bean is an interceptor.
              -
              -
              Specified by:
              +
              +
              Specified by:
              isInterceptor in interface BeanInfo
              -
              Returns:
              +
              Returns:
              whether this bean is an interceptor
              +
            • -
            - - - - +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InvokerFactory.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InvokerFactory.html new file mode 100644 index 0000000000..7e1f34e8e7 --- /dev/null +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InvokerFactory.html @@ -0,0 +1,153 @@ + + + + +InvokerFactory (Jakarta Contexts and Dependency Injection API) + + + + + + + + + + + + + + +
    + +
    +
    + +
    +
    Module jakarta.cdi
    + +

    Interface InvokerFactory

    +
    +
    +
    +
    public interface InvokerFactory
    +
    Factory for InvokerBuilders.
    +
    +
    Since:
    +
    4.1
    +
    +
    +
    + +
    +
    +
      + +
    • +
      +

      Method Details

      +
        +
      • +
        +

        createInvoker

        +
        InvokerBuilder<InvokerInfo> createInvoker(BeanInfo bean, + MethodInfo method)
        +
        Returns a new InvokerBuilder for given method of given bean. The builder + eventually produces an opaque representation of the generated invoker. +

        + If an invoker may not be built for given bean or for given method, + an exception is thrown.

        +
        +
        Parameters:
        +
        bean - target bean of the invoker, must not be null
        +
        method - target method of the invoker, must not be null
        +
        Returns:
        +
        the invoker builder, never null
        +
        +
        +
      • +
      +
      +
    • +
    +
    + +
    + +
    +
    + + diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InvokerInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InvokerInfo.html index a258b63796..a2c6e31815 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InvokerInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/InvokerInfo.html @@ -1,204 +1,95 @@ - - + InvokerInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface InvokerInfo

    +
    Module jakarta.cdi
    + +

    Interface InvokerInfo

    -
    -
    - -
    -
    -
    + +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Messages.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Messages.html index 664680f9fe..c2d3927e4f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Messages.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Messages.html @@ -1,555 +1,371 @@ - - + Messages (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Messages

    +
    Module jakarta.cdi
    + +

    Interface Messages

    -
    -
    -
      -
    • +

      -
      public interface Messages
      +
      public interface Messages
      Allows logging and producing errors during build compatible extension execution. If an error is produced, using any of the error methods, the container treats it as a deployment problem.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    +
    void
    +
    warn(String message, + AnnotationTarget relatedTo)
    +
    +
    Add a warning which is related to given AnnotationTarget (which is most likely + a DeclarationInfo).
    +
    +
    +
    +
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            info

            -
            void info​(java.lang.String message)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              info

              +
              void info(String message)
              Add a generic information message that is not related to any particular element, or that information is not known.
              -
              -
              Parameters:
              +
              +
              Parameters:
              message - information message
              +
            • -
            - - - -
              -
            • -

              info

              -
              void info​(java.lang.String message,
              -          AnnotationTarget relatedTo)
              -
              Add an information message which is related to given AnnotationTarget (which is most likely - a DeclarationInfo).
              -
              -
              Parameters:
              +
            • +
              +

              info

              +
              void info(String message, + AnnotationTarget relatedTo)
              +
              Add an information message which is related to given AnnotationTarget (which is most likely + a DeclarationInfo).
              +
              +
              Parameters:
              message - information message
              relatedTo - annotation target to which the message is related
              +
            • -
            - - - -
              -
            • -

              info

              -
              void info​(java.lang.String message,
              -          BeanInfo relatedTo)
              +
            • +
              +

              info

              +
              void info(String message, + BeanInfo relatedTo)
              Add an information message which is related to given BeanInfo.
              -
              -
              Parameters:
              +
              +
              Parameters:
              message - information message
              relatedTo - bean to which the message is related
              +
            • -
            - - - -
              -
            • -

              info

              -
              void info​(java.lang.String message,
              -          ObserverInfo relatedTo)
              +
            • +
              +

              info

              +
              void info(String message, + ObserverInfo relatedTo)
              Add an information message which is related to given ObserverInfo.
              -
              -
              Parameters:
              +
              +
              Parameters:
              message - information message
              relatedTo - observer to which the message is related
              +
            • -
            - - - -
              -
            • -

              warn

              -
              void warn​(java.lang.String message)
              +
            • +
              +

              warn

              +
              void warn(String message)
              Add a generic warning that is not related to any particular element, or that information is not known.
              -
              -
              Parameters:
              +
              +
              Parameters:
              message - warning message
              +
            • -
            - - - - - - - -
              -
            • -

              warn

              -
              void warn​(java.lang.String message,
              -          BeanInfo relatedTo)
              +
            • +
              +

              warn

              +
              void warn(String message, + BeanInfo relatedTo)
              Add a warning which is related to given BeanInfo.
              -
              -
              Parameters:
              +
              +
              Parameters:
              message - warning message
              relatedTo - bean to which the message is related
              +
            • -
            - - - -
              -
            • -

              warn

              -
              void warn​(java.lang.String message,
              -          ObserverInfo relatedTo)
              +
            • +
              +

              warn

              +
              void warn(String message, + ObserverInfo relatedTo)
              Add a warning which is related to given ObserverInfo.
              -
              -
              Parameters:
              +
              +
              Parameters:
              message - warning message
              relatedTo - observer to which the message is related
              +
            • -
            - - - -
              -
            • -

              error

              -
              void error​(java.lang.String message)
              +
            • +
              +

              error

              +
              void error(String message)
              Add a generic error that is not related to any particular element, or that information is not known.
              -
              -
              Parameters:
              +
              +
              Parameters:
              message - error message
              +
            • -
            - - - - - - - -
              -
            • -

              error

              -
              void error​(java.lang.String message,
              -           BeanInfo relatedTo)
              +
            • +
              +

              error

              +
              void error(String message, + BeanInfo relatedTo)
              Add an error which is related to given BeanInfo.
              -
              -
              Parameters:
              +
              +
              Parameters:
              message - error message
              relatedTo - bean to which the message is related
              +
            • -
            - - - -
              -
            • -

              error

              -
              void error​(java.lang.String message,
              -           ObserverInfo relatedTo)
              +
            • +
              +

              error

              +
              void error(String message, + ObserverInfo relatedTo)
              Add an error which is related to given ObserverInfo.
              -
              -
              Parameters:
              +
              +
              Parameters:
              message - error message
              relatedTo - observer to which the message is related
              +
            • -
            - - - -
              -
            • -

              error

              -
              void error​(java.lang.Exception exception)
              +
            • +
              +

              error

              +
              void error(Exception exception)
              Add a generic error that is represented by an exception.
              -
              -
              Parameters:
              +
              +
              Parameters:
              exception - error, represented by an exception
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/MetaAnnotations.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/MetaAnnotations.html index d8f9998956..78f8e782ba 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/MetaAnnotations.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/MetaAnnotations.html @@ -1,283 +1,202 @@ - - + MetaAnnotations (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface MetaAnnotations

    +
    Module jakarta.cdi
    + +

    Interface MetaAnnotations

    -
    -
    -
      -
    • +

      -
      public interface MetaAnnotations
      +
      public interface MetaAnnotations
      Allows registering custom CDI meta-annotations: qualifiers, interceptor bindings, stereotypes, and scopes. When registering a custom scope, a context class must also be provided.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            addQualifier

            -
            ClassConfig addQualifier​(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              addQualifier

              +
              ClassConfig addQualifier(Class<? extends Annotation> annotation)
              Registers annotation as a qualifier annotation. Only makes sense if the annotation is not meta-annotated @Qualifier.

              Returns a class configurator object that allows transforming meta-annotations on the annotation.

              -
              -
              Parameters:
              +
              +
              Parameters:
              annotation - annotation type
              -
              Returns:
              +
              Returns:
              the class configurator, never null
              +
            • -
            - - - -
              -
            • -

              addInterceptorBinding

              -
              ClassConfig addInterceptorBinding​(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
              +
            • +
              +

              addInterceptorBinding

              +
              ClassConfig addInterceptorBinding(Class<? extends Annotation> annotation)
              Registers annotation as an interceptor binding annotation. Only makes sense if the annotation is not meta-annotated @InterceptorBinding.

              Returns a class configurator object that allows transforming meta-annotations on the annotation.

              -
              -
              Parameters:
              +
              +
              Parameters:
              annotation - annotation type
              -
              Returns:
              +
              Returns:
              the class configurator, never null
              +
            • -
            - - - -
              -
            • -

              addStereotype

              -
              ClassConfig addStereotype​(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
              +
            • +
              +

              addStereotype

              +
              ClassConfig addStereotype(Class<? extends Annotation> annotation)
              Registers annotation as a stereotype annotation. Only makes sense if the annotation is not meta-annotated @Stereotype.

              Returns a class configurator object that allows transforming meta-annotations on the annotation.

              -
              -
              Parameters:
              +
              +
              Parameters:
              annotation - annotation type
              -
              Returns:
              +
              Returns:
              the class configurator, never null
              +
            • -
            - - - -
              -
            • -

              addContext

              -
              void addContext​(java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation,
              -                java.lang.Class<? extends AlterableContext> contextClass)
              +
            • +
              +

              addContext

              +
              void addContext(Class<? extends Annotation> scopeAnnotation, + Class<? extends AlterableContext> contextClass)
              Registers custom context for given scopeAnnotation and given contextClass. CDI container will create an instance of the context class once to obtain the context object. The context class must be public and have a public zero-parameter constructor; @@ -286,111 +205,48 @@

              addContext

              Whether the scope is normal is discovered from the scope annotation. This means that the scope annotation must be meta-annotated either @NormalScope or @Scope.
              -
              -
              Parameters:
              +
              +
              Parameters:
              scopeAnnotation - the scope annotation type, must not be null
              contextClass - the context class, must not be null
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if the scopeAnnotation is not meta-annotated @NormalScope - or @Scope
              +
              Throws:
              +
              IllegalArgumentException - if the scopeAnnotation is not meta-annotated @NormalScope + or @Scope
              +
            • -
            - - - -
              -
            • -

              addContext

              -
              void addContext​(java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation,
              -                boolean isNormal,
              -                java.lang.Class<? extends AlterableContext> contextClass)
              +
            • +
              +

              addContext

              +
              void addContext(Class<? extends Annotation> scopeAnnotation, + boolean isNormal, + Class<? extends AlterableContext> contextClass)
              Registers custom context for given scopeAnnotation and given contextClass. CDI container will create an instance of the context class once to obtain the context object. The context class must be public and have a public zero-parameter constructor; it must not be a bean.

              The isNormal parameter determines whether the scope is a normal scope or a pseudo-scope.

              -
              -
              Parameters:
              +
              +
              Parameters:
              scopeAnnotation - the scope annotation type, must not be null
              isNormal - whether the scope is normal
              contextClass - the context class, must not be null
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/MethodConfig.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/MethodConfig.html index d1e6145ad0..76aa9964ac 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/MethodConfig.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/MethodConfig.html @@ -1,426 +1,276 @@ - - + MethodConfig (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface MethodConfig

    +
    Module jakarta.cdi
    + +

    Interface MethodConfig

    -
    -
    -
      -
    • -
      +
      +
      All Superinterfaces:
      DeclarationConfig

      -
      public interface MethodConfig
      -extends DeclarationConfig
      +
      public interface MethodConfig +extends DeclarationConfig
      Allows adding annotations to and removing annotations from a method. Note that the method is not physically altered, the modifications are only seen by the CDI container.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
      See Also:
      -
      Enhancement
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            info

            -
            MethodInfo info()
            -
            Returns the MethodInfo corresponding to this transformed method.
            -
            -
            Specified by:
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              info

              +
              MethodInfo info()
              +
              Returns the MethodInfo corresponding to this transformed method.
              +
              +
              Specified by:
              info in interface DeclarationConfig
              -
              Returns:
              -
              the MethodInfo corresponding to this transformed method, never null
              +
              Returns:
              +
              the MethodInfo corresponding to this transformed method, never null
              +
            • -
            - - - -
              -
            • -

              addAnnotation

              -
              MethodConfig addAnnotation​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
              +
            • +
              +

              addAnnotation

              +
              MethodConfig addAnnotation(Class<? extends Annotation> annotationType)
              Adds a marker annotation of given type to this method. Does not allow configuring annotation members.
              -
              -
              Specified by:
              +
              +
              Specified by:
              addAnnotation in interface DeclarationConfig
              -
              Parameters:
              +
              Parameters:
              annotationType - the annotation type, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - - - - - -
              -
            • -

              addAnnotation

              -
              MethodConfig addAnnotation​(java.lang.annotation.Annotation annotation)
              +
            • +
              +

              addAnnotation

              +
              MethodConfig addAnnotation(Annotation annotation)
              Adds given annotation to this method. The annotation instance is typically a subclass of AnnotationLiteral.
              -
              -
              Specified by:
              +
              +
              Specified by:
              addAnnotation in interface DeclarationConfig
              -
              Parameters:
              +
              Parameters:
              annotation - the annotation to add to this method, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - -
              -
            • -

              removeAnnotation

              -
              MethodConfig removeAnnotation​(java.util.function.Predicate<AnnotationInfo> predicate)
              +
            • +
              +

              removeAnnotation

              +
              MethodConfig removeAnnotation(Predicate<AnnotationInfo> predicate)
              Removes all annotations matching given predicate from this method.
              -
              -
              Specified by:
              +
              +
              Specified by:
              removeAnnotation in interface DeclarationConfig
              -
              Parameters:
              +
              Parameters:
              predicate - an annotation predicate, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - -
              -
            • -

              removeAllAnnotations

              -
              MethodConfig removeAllAnnotations()
              +
            • +
              +

              removeAllAnnotations

              +
              MethodConfig removeAllAnnotations()
              Removes all annotations from this method.
              -
              -
              Specified by:
              +
              +
              Specified by:
              removeAllAnnotations in interface DeclarationConfig
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - - +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ObserverInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ObserverInfo.html index d4c05729bb..53f76d1881 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ObserverInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ObserverInfo.html @@ -1,133 +1,83 @@ - - + ObserverInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ObserverInfo

    +
    Module jakarta.cdi
    + +

    Interface ObserverInfo

    -
    -
    -
      -
    • +

      -
      public interface ObserverInfo
      +
      public interface ObserverInfo
      Observers are:
        @@ -138,362 +88,238 @@

        Interface ObserverInfo

        Observer methods directly correspond to a method declaration in program source code. Synthetic observers don't and are instead defined through other mechanisms, such as extensions.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            eventType

            -
            Type eventType()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              eventType

              +
              Type eventType()
              Returns the observed event type of this observer.
              -
              -
              Returns:
              +
              +
              Returns:
              the observed event type of this observer, never null
              +
            • -
            - - - -
              -
            • -

              qualifiers

              -
              java.util.Collection<AnnotationInfo> qualifiers()
              -
              Returns a collection of observed event qualifiers, represented as AnnotationInfo.
              -
              -
              Returns:
              +
            • +
              +

              qualifiers

              +
              Collection<AnnotationInfo> qualifiers()
              +
              Returns a collection of observed event qualifiers, represented as AnnotationInfo.
              +
              +
              Returns:
              immutable collection of observed event qualifiers, never null
              +
            • -
            - - - -
              -
            • -

              declaringClass

              -
              ClassInfo declaringClass()
              -
              Returns the class that declares this observer. +
            • +
              +

              declaringClass

              +
              ClassInfo declaringClass()
              +
              Returns the class that declares this observer. In case of synthetic observers, returns the class that was designated as a declaring class during synthetic observer registration.
              -
              -
              Returns:
              +
              +
              Returns:
              the class that declares this observer, never null
              +
            • -
            - - - -
              -
            • -

              observerMethod

              -
              MethodInfo observerMethod()
              -
              Returns the declaration of this observer method. +
            • +
              +

              observerMethod

              +
              MethodInfo observerMethod()
              +
              Returns the declaration of this observer method. Returns null if this is a synthetic observer.
              -
              -
              Returns:
              +
              +
              Returns:
              this observer method, or null if this is a synthetic observer
              +
            • -
            - - - -
              -
            • -

              eventParameter

              -
              ParameterInfo eventParameter()
              -
              Returns the event parameter of this observer method. +
            • +
              +

              eventParameter

              +
              ParameterInfo eventParameter()
              +
              Returns the event parameter of this observer method. Returns null if this is a synthetic observer.
              -
              -
              Returns:
              +
              +
              Returns:
              the event parameter of this observer method, or null if this is a synthetic observer
              +
            • -
            - - - -
              -
            • -

              bean

              -
              BeanInfo bean()
              +
            • +
              +

              bean

              +
              BeanInfo bean()
              Returns the bean that declares this observer method. Returns null if this is a synthetic observer.
              -
              -
              Returns:
              +
              +
              Returns:
              the bean declaring this observer method, or null if this is a synthetic observer
              +
            • -
            - - - -
              -
            • -

              isSynthetic

              -
              boolean isSynthetic()
              +
            • +
              +

              isSynthetic

              +
              boolean isSynthetic()
              Returns whether this observer is synthetic.
              -
              -
              Returns:
              +
              +
              Returns:
              whether this observer is synthetic
              +
            • -
            - - - -
              -
            • -

              priority

              -
              int priority()
              +
            • +
              +

              priority

              +
              int priority()
              Returns the priority of this observer. This is typically defined by adding the @Priority annotation to the event parameter of the observer method. If the annotation is not used, the default priority, as defined by the CDI specification, is returned,
              -
              -
              Returns:
              +
              +
              Returns:
              the priority of this observer
              +
            • -
            - - - -
              -
            • -

              isAsync

              -
              boolean isAsync()
              +
            • +
              +

              isAsync

              +
              boolean isAsync()
              Returns whether this observer is asynchronous. For observer methods, this means whether this observer method uses @ObservesAsync.
              -
              -
              Returns:
              +
              +
              Returns:
              whether this observer is asynchronous
              +
            • -
            - - - -
              -
            • -

              reception

              -
              Reception reception()
              +
            • +
              +

              reception

              +
              Reception reception()
              Returns the reception type of this observer. Allows distinguishing conditional observer methods from always notified observer methods. Returns Reception.ALWAYS if this is a synthetic observer.
              -
              -
              Returns:
              +
              +
              Returns:
              the reception type of this observer, never null
              +
            • -
            - - - -
              -
            • -

              transactionPhase

              -
              TransactionPhase transactionPhase()
              +
            • +
              +

              transactionPhase

              +
              TransactionPhase transactionPhase()
              Returns the transaction phase of this transactional observer. Returns TransactionPhase.IN_PROGRESS if this is a regular synchronous observer. Returns null if this is an asynchronous observer.
              -
              -
              Returns:
              +
              +
              Returns:
              the transaction phase of this observer, or null if this is an asynchronous observer
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ParameterConfig.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ParameterConfig.html index bf0c8724a1..dd2c3bd983 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ParameterConfig.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ParameterConfig.html @@ -1,405 +1,260 @@ - - + ParameterConfig (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ParameterConfig

    +
    Module jakarta.cdi
    + +

    Interface ParameterConfig

    -
    -
    -
      -
    • -
      +
      +
      All Superinterfaces:
      DeclarationConfig

      -
      public interface ParameterConfig
      -extends DeclarationConfig
      +
      public interface ParameterConfig +extends DeclarationConfig
      Allows adding annotations to and removing annotations from a method parameter. Note that the method parameter is not physically altered, the modifications are only seen by the CDI container.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
      See Also:
      -
      Enhancement
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            info

            -
            ParameterInfo info()
            -
            Returns the ParameterInfo corresponding to this transformed method parameter.
            -
            -
            Specified by:
            +
          • +
            +

            Method Details

            + - - - -
              -
            • -

              addAnnotation

              -
              ParameterConfig addAnnotation​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
              +
            • +
              +

              addAnnotation

              +
              ParameterConfig addAnnotation(Class<? extends Annotation> annotationType)
              Adds a marker annotation of given type to this method parameter. Does not allow configuring annotation members.
              -
              -
              Specified by:
              +
              +
              Specified by:
              addAnnotation in interface DeclarationConfig
              -
              Parameters:
              +
              Parameters:
              annotationType - the annotation type, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - - - - - -
              -
            • -

              addAnnotation

              -
              ParameterConfig addAnnotation​(java.lang.annotation.Annotation annotation)
              +
            • +
              +

              addAnnotation

              +
              ParameterConfig addAnnotation(Annotation annotation)
              Adds given annotation to this method parameter. The annotation instance is typically a subclass of AnnotationLiteral.
              -
              -
              Specified by:
              +
              +
              Specified by:
              addAnnotation in interface DeclarationConfig
              -
              Parameters:
              +
              Parameters:
              annotation - the annotation to add to this method parameter, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - -
              -
            • -

              removeAnnotation

              -
              ParameterConfig removeAnnotation​(java.util.function.Predicate<AnnotationInfo> predicate)
              +
            • +
              +

              removeAnnotation

              +
              ParameterConfig removeAnnotation(Predicate<AnnotationInfo> predicate)
              Removes all annotations matching given predicate from this method parameter.
              -
              -
              Specified by:
              +
              +
              Specified by:
              removeAnnotation in interface DeclarationConfig
              -
              Parameters:
              +
              Parameters:
              predicate - an annotation predicate, must not be null
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              +
            • -
            - - - -
              -
            • -

              removeAllAnnotations

              -
              ParameterConfig removeAllAnnotations()
              +
            • +
              +

              removeAllAnnotations

              +
              ParameterConfig removeAllAnnotations()
              Removes all annotations from this method parameter.
              -
              -
              Specified by:
              +
              +
              Specified by:
              removeAllAnnotations in interface DeclarationConfig
              -
              Returns:
              +
              Returns:
              this configurator object, to allow fluent usage
              -
            • -
            +
      -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Parameters.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Parameters.html index 473ed846f7..85b4916560 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Parameters.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Parameters.html @@ -1,133 +1,83 @@ - - + Parameters (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Parameters

    +
    Module jakarta.cdi
    + +

    Interface Parameters

    -
    -
    -
      -
    • +

      -
      public interface Parameters
      +
      public interface Parameters
      A String-keyed parameter map. The parameter mappings are defined by a synthetic component builder. The CDI container passes the parameter map to functions defined by the same synthetic component builder, whenever @@ -135,10 +85,10 @@

      Interface Parameters

      Parameter values are transferred from the builder to the Parameters-accepting @@ -152,7 +102,7 @@

      Interface Parameters

      of primitive types; an int[] cannot be looked up as Integer[]. This is because arrays are reference types and so null can be returned.

      - Class-typed parameters are available as instances of Class, even if an instance + Class-typed parameters are available as instances of Class, even if an instance of ClassInfo was passed to the builder.

      Annotation-typed parameters are available as instances of the annotation type, @@ -160,181 +110,100 @@

      Interface Parameters

      Invoker-typed parameters are available as instances of Invoker, even though an instance of InvokerInfo was passed to the builder.

      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethodDescription
          <T> Tget​(java.lang.String key, - java.lang.Class<T> type) +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          +
          <T> T
          +
          get(String key, + Class<T> type)
          +
          Returns the value of a parameter with given key.
          -
        • <T> Tget​(java.lang.String key, - java.lang.Class<T> type, - T defaultValue) + +
          <T> T
          +
          get(String key, + Class<T> type, + T defaultValue)
          +
          Returns the value of a parameter with given key.
          -
          -
        • -
        +
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            get

            -
            <T> T get​(java.lang.String key,
            -          java.lang.Class<T> type)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              get

              +
              <T> T get(String key, + Class<T> type)
              Returns the value of a parameter with given key. The value is expected to be of given type.
              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - the parameter type
              -
              Parameters:
              +
              Parameters:
              key - the parameter key, must not be null
              type - the parameter type, must not be null
              -
              Returns:
              +
              Returns:
              the parameter value, or null if parameter with given key does not exist
              -
              Throws:
              -
              java.lang.ClassCastException - if the parameter exists, but is of a different type
              +
              Throws:
              +
              ClassCastException - if the parameter exists, but is of a different type
              +
            • -
            - - - - - -
              -
            • -

              get

              -
              <T> T get​(java.lang.String key,
              -          java.lang.Class<T> type,
              -          T defaultValue)
              +
            • +
              +

              get

              +
              <T> T get(String key, + Class<T> type, + T defaultValue)
              Returns the value of a parameter with given key. The value is expected to be of given type. If the parameter does not exist, returns defaultValue.
              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - the parameter type
              -
              Parameters:
              +
              Parameters:
              key - the parameter key, must not be null
              type - the parameter type, must not be null
              defaultValue - the value to return if parameter with given key does not exist
              -
              Returns:
              +
              Returns:
              the parameter value, or defaultValue if parameter with given key does not exist
              -
              Throws:
              -
              java.lang.ClassCastException - if the parameter exists, but is of a different type
              +
              Throws:
              +
              ClassCastException - if the parameter exists, but is of a different type
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Registration.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Registration.html index 27a43c48e7..62cc66db62 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Registration.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Registration.html @@ -1,127 +1,79 @@ - - + Registration (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Registration

    +
    Module jakarta.cdi
    + +

    Annotation Type Registration

    -
    -
    -
      -
    • +

      -
      @Target(METHOD)
      -@Retention(RUNTIME)
      -public @interface Registration
      +
      @Target(METHOD) +@Retention(RUNTIME) +public @interface Registration
      3rd phase of build compatible extension execution. Allows observing registered beans and observers.

      @@ -155,141 +107,66 @@

      Annotation Type Registrat

      Additionally, methods annotated @Registration may declare parameters of these types:

      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Required Element Summary

          - - - - - - - - - - - - -
          Required Elements 
          Modifier and TypeRequired ElementDescription
          java.lang.Class<?>[]types +
        • +
          +

          Required Element Summary

          +
          Required Elements
          +
          +
          Modifier and Type
          +
          Required Element
          +
          Description
          +
          Class<?>[]
          + +
          Defines the set of expected types.
          -
        • -
        • -
        +
    +
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Element Detail

          - - - -
            -
          • -

            types

            -
            java.lang.Class<?>[] types
            +
          • +
            +

            Element Details

            +
              +
            • +
              +

              types

              +
              Class<?>[] types
              Defines the set of expected types.
              -
              -
              Returns:
              +
              +
              Returns:
              the set of expected types
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ScannedClasses.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ScannedClasses.html index 7ebcdb8e97..a884aec68c 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ScannedClasses.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ScannedClasses.html @@ -1,275 +1,151 @@ - - + ScannedClasses (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ScannedClasses

    +
    Module jakarta.cdi
    + +

    Interface ScannedClasses

    -
    -
    -
      -
    • +

      -
      public interface ScannedClasses
      +
      public interface ScannedClasses
      Allows adding additional classes to the set of types discovered during type discovery. Such classes will therefore be scanned during bean discovery. Annotations on these classes can later be transformed using @Enhancement.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethodDescription
          voidadd​(java.lang.String className) +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          +
          void
          +
          add(String className)
          +
          Adds a class with given name to the set of types discovered during type discovery.
          -
        • -
        • -
        +
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            add

            -
            void add​(java.lang.String className)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              add

              +
              void add(String className)
              Adds a class with given name to the set of types discovered during type discovery. The class will therefore be scanned during bean discovery.

              Adding the same class multiple times, or adding a class that is automatically discovered by the container, leads to non-portable behavior.

              -
              -
              Parameters:
              +
              +
              Parameters:
              className - binary name of the class, as defined by The Java™ Language Specification; - in other words, the class name as returned by Class.getName()
              + in other words, the class name as returned by Class.getName()
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ScopeInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ScopeInfo.html index 66a30e7193..7095493769 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ScopeInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/ScopeInfo.html @@ -1,316 +1,182 @@ - - + ScopeInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ScopeInfo

    +
    Module jakarta.cdi
    + +

    Interface ScopeInfo

    -
    -
    -
      -
    • +

      -
      public interface ScopeInfo
      +
      public interface ScopeInfo
      A scope of a bean. Scope type is an annotation, meta-annotated @Scope or @NormalScope. Lifecycle of beans with given scope is determined by a context.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods Default Methods 
          Modifier and TypeMethodDescription
          ClassInfoannotation() +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          + + +
          Returns the declaration of this scope annotation.
          -
        • booleanisNormal() + +
          boolean
          + +
          Returns whether this scope type is normal.
          -
          default java.lang.Stringname() + +
          default String
          + +
          Binary name of this scope annotation, as defined by The Java™ Language Specification; - in other words, the scope annotation name as returned by Class.getName().
          -
          -
        • -
        + in other words, the scope annotation name as returned by Class.getName().
    +
    +
    + + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            annotation

            -
            ClassInfo annotation()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              annotation

              +
              ClassInfo annotation()
              Returns the declaration of this scope annotation.
              -
              -
              Returns:
              +
              +
              Returns:
              declaration of this scope annotation, never null
              +
            • -
            - - - -
              -
            • -

              name

              -
              default java.lang.String name()
              +
            • +
              +

              name

              +
              default String name()
              Binary name of this scope annotation, as defined by The Java™ Language Specification; - in other words, the scope annotation name as returned by Class.getName(). + in other words, the scope annotation name as returned by Class.getName(). Equivalent to annotation().name().
              -
              -
              Returns:
              +
              +
              Returns:
              binary name of this scope annotation, never null
              +
            • -
            - - - -
              -
            • -

              isNormal

              -
              boolean isNormal()
              +
            • +
              +

              isNormal

              +
              boolean isNormal()
              Returns whether this scope type is normal. In other words, returns whether this scope annotation is meta-annotated @NormalScope.
              -
              -
              Returns:
              +
              +
              Returns:
              whether this scope type is normal
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SkipIfPortableExtensionPresent.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SkipIfPortableExtensionPresent.html index eea1335de0..449619fa5c 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SkipIfPortableExtensionPresent.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SkipIfPortableExtensionPresent.html @@ -1,127 +1,79 @@ - - + SkipIfPortableExtensionPresent (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type SkipIfPortableExtensionPresent

    +
    Module jakarta.cdi
    + +

    Annotation Type SkipIfPortableExtensionPresent

    -
    -
    -
      -
    • +

      -
      @Target(TYPE)
      -@Retention(RUNTIME)
      -public @interface SkipIfPortableExtensionPresent
      +
      @Target(TYPE) +@Retention(RUNTIME) +public @interface SkipIfPortableExtensionPresent
      If a build compatible extension is annotated @SkipIfPortableExtensionPresent, it is ignored when the CDI container can execute portable extensions and determines that a portable extension @@ -130,140 +82,64 @@

      Annotat It is expected that the specified portable extension class will mirror the functionality of the annotated build compatible extension. This allows portable extensions and build compatible extensions to coexist.

      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Required Element Summary

          - - - - - - - - - - - - -
          Required Elements 
          Modifier and TypeRequired ElementDescription
          java.lang.Class<? extends Extension>value +
        • +
          +

          Required Element Summary

          +
          Required Elements
          +
          +
          Modifier and Type
          +
          Required Element
          +
          Description
          +
          Class<? extends Extension>
          + +
          A class implementing Extension that is expected to mirror the functionality of the annotated build compatible extension.
          -
        • -
        • -
        +
    +
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Element Detail

          - - - -
            -
          • -

            value

            -
            java.lang.Class<? extends Extension> value
            +
          • +
            +

            Element Details

            +
              +
            • +
              +

              value

              +
              Class<? extends Extension> value
              A class implementing Extension that is expected to mirror the functionality of the annotated build compatible extension.
              -
              -
              Returns:
              +
              +
              Returns:
              a portable extension class
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/StereotypeInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/StereotypeInfo.html index 2accaa2f9e..d7bbef44a8 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/StereotypeInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/StereotypeInfo.html @@ -1,366 +1,222 @@ - - + StereotypeInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface StereotypeInfo

    +
    Module jakarta.cdi
    + +

    Interface StereotypeInfo

    -
    -
    - -
    -
    -
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            defaultScope

            -
            ScopeInfo defaultScope()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              defaultScope

              +
              ScopeInfo defaultScope()
              Returns the default scope defined by this stereotype. Returns null if this stereotype does not define a default scope.
              -
              -
              Returns:
              +
              +
              Returns:
              the default scope or null
              +
            • -
            - - - - - - - -
              -
            • -

              isAlternative

              -
              boolean isAlternative()
              +
            • +
              +

              isAlternative

              +
              boolean isAlternative()
              Returns whether this stereotype is meta-annotated @Alternative. This means that all beans with this stereotype are alternatives.
              -
              -
              Returns:
              +
              +
              Returns:
              whether this stereotype is meta-annotated @Alternative
              +
            • -
            - - - -
              -
            • -

              priority

              -
              java.lang.Integer priority()
              +
            • +
              +

              priority

              +
              Integer priority()
              Returns the priority value this stereotype declares using the @Priority meta-annotation. Beans with this stereotype will be enabled for the application and ordered using this priority value (unless they declare priority explicitly).

              Returns null if this stereotype is not meta-annotated @Priority.

              -
              -
              Returns:
              +
              +
              Returns:
              the @Priority value declared by this stereotype, or null - if this stereotype is not meta-annotated @Priority
              + if this stereotype is not meta-annotated @Priority
              +
            • -
            - - - -
              -
            • -

              isNamed

              -
              boolean isNamed()
              +
            • +
              +

              isNamed

              +
              boolean isNamed()
              Returns whether this stereotype is meta-annotated @Named. This means that all beans with this stereotype have default bean names.
              -
              -
              Returns:
              +
              +
              Returns:
              whether this stereotype is meta-annotated @Named
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Synthesis.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Synthesis.html index 69b6fcb8e5..29c92edf42 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Synthesis.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Synthesis.html @@ -1,127 +1,79 @@ - - + Synthesis (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Synthesis

    +
    Module jakarta.cdi
    + +

    Annotation Type Synthesis

    -
    -
    -
    -
    -
    Since:
    +
    +
    Since:
    4.0
    - - -
    -
    - + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticBeanBuilder.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticBeanBuilder.html index ad8d938c34..ed8b4c6e00 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticBeanBuilder.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticBeanBuilder.html @@ -1,603 +1,448 @@ - - + SyntheticBeanBuilder (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface SyntheticBeanBuilder<T>

    +
    Module jakarta.cdi
    + +

    Interface SyntheticBeanBuilder<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the bean class of this synthetic bean

      -
      public interface SyntheticBeanBuilder<T>
      +
      public interface SyntheticBeanBuilder<T>
      Builder for synthetic beans. Instances are not reusable. For each synthetic bean, new instance must be created by SyntheticComponents.addBean(Class).
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            type

            -
            SyntheticBeanBuilder<T> type​(java.lang.Class<?> type)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              type

              +
              SyntheticBeanBuilder<T> type(Class<?> type)
              Adds type to the set of bean types of this synthetic bean. This method may be called multiple times to add multiple bean types.

              If not called, the set of bean types of this synthetic bean will be a singleton set containing java.lang.Object.

              -
              -
              Parameters:
              +
              +
              Parameters:
              type - the bean type, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              type

              -
              SyntheticBeanBuilder<T> type​(ClassInfo type)
              +
            • +
              +

              type

              +
              Adds type to the set of bean types of this synthetic bean. This method may be called multiple times to add multiple bean types.

              If not called, the set of bean types of this synthetic bean will be a singleton set containing java.lang.Object.

              -
              -
              Parameters:
              +
              +
              Parameters:
              type - the bean type, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              type

              -
              SyntheticBeanBuilder<T> type​(Type type)
              +
            • +
              +

              type

              +
              Adds type to the set of bean types of this synthetic bean. This method may be called multiple times to add multiple bean types.

              If not called, the set of bean types of this synthetic bean will be a singleton set containing java.lang.Object.

              -
              -
              Parameters:
              +
              +
              Parameters:
              type - the bean type, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              qualifier

              -
              SyntheticBeanBuilder<T> qualifier​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
              +
            • +
              +

              qualifier

              +
              SyntheticBeanBuilder<T> qualifier(Class<? extends Annotation> annotationType)
              Adds a marker annotation of given type to the set of qualifiers of this synthetic bean. This method may be called multiple times to add multiple qualifiers.

              If not called, this synthetic bean will have the @Default qualifier (and the @Any qualifier that all beans have).

              -
              -
              Parameters:
              +
              +
              Parameters:
              annotationType - the type of the marker annotation, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              qualifier

              -
              SyntheticBeanBuilder<T> qualifier​(AnnotationInfo qualifierAnnotation)
              +
            • +
              +

              qualifier

              +
              SyntheticBeanBuilder<T> qualifier(AnnotationInfo qualifierAnnotation)
              Adds given annotation to the set of qualifiers of this synthetic bean. This method may be called multiple times to add multiple qualifiers.

              If not called, this synthetic bean will have the @Default qualifier (and the @Any qualifier that all beans have).

              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifierAnnotation - the annotation, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              qualifier

              -
              SyntheticBeanBuilder<T> qualifier​(java.lang.annotation.Annotation qualifierAnnotation)
              +
            • +
              +

              qualifier

              +
              SyntheticBeanBuilder<T> qualifier(Annotation qualifierAnnotation)
              Adds given annotation to the set of qualifiers of this synthetic bean. This method may be called multiple times to add multiple qualifiers.

              If not called, this synthetic bean will have the @Default qualifier (and the @Any qualifier that all beans have).

              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifierAnnotation - the annotation, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              scope

              -
              SyntheticBeanBuilder<T> scope​(java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation)
              +
            • +
              +

              scope

              +
              SyntheticBeanBuilder<T> scope(Class<? extends Annotation> scopeAnnotation)
              Sets the scope of this synthetic bean to given scope type.

              If not called, and if no stereotype is added that defines a scope, this synthetic bean will be @Dependent.

              -
              -
              Parameters:
              +
              +
              Parameters:
              scopeAnnotation - the scope type, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              -
              Throws:
              -
              java.lang.IllegalStateException - if this method is called multiple times
              +
              Throws:
              +
              IllegalStateException - if this method is called multiple times
              +
            • -
            - - - -
              -
            • -

              alternative

              -
              SyntheticBeanBuilder<T> alternative​(boolean isAlternative)
              +
            • +
              +

              alternative

              +
              SyntheticBeanBuilder<T> alternative(boolean isAlternative)
              Marks this synthetic bean as an alternative if desired. To make this synthetic bean an enabled alternative, call both alternative(true) and priority(some priority).

              @@ -605,23 +450,20 @@

              alternative

              that it is not enabled, which is equivalent to not registering it at all.

              If not called, this synthetic bean will not be an alternative.

              -
              -
              Parameters:
              +
              +
              Parameters:
              isAlternative - whether this synthetic bean should be an alternative
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              -
              Throws:
              -
              java.lang.IllegalStateException - if this method is called multiple times
              +
              Throws:
              +
              IllegalStateException - if this method is called multiple times
              +
            • -
            - - - -
              -
            • -

              priority

              -
              SyntheticBeanBuilder<T> priority​(int priority)
              +
            • +
              +

              priority

              +
              SyntheticBeanBuilder<T> priority(int priority)
              Sets a priority of this synthetic bean. To make this synthetic bean an enabled alternative, call both alternative(true) and priority(some priority).

              @@ -629,655 +471,514 @@

              priority

              that it is not enabled, which is equivalent to not registering it at all.

              If not called, this synthetic bean will not have a priority.

              -
              -
              Parameters:
              +
              +
              Parameters:
              priority - the priority of this synthetic bean
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              -
              Throws:
              -
              java.lang.IllegalStateException - if this method is called multiple times
              +
              Throws:
              +
              IllegalStateException - if this method is called multiple times
              +
            • -
            - - - -
              -
            • -

              name

              -
              SyntheticBeanBuilder<T> name​(java.lang.String beanName)
              +
            • +
              +

              name

              +
              SyntheticBeanBuilder<T> name(String beanName)
              Sets the bean name of this synthetic bean. If beanName is null, this synthetic bean will not have a name.

              If not called, this synthetic bean will not have a name.

              -
              -
              Parameters:
              +
              +
              Parameters:
              beanName - the bean name of this synthetic bean
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              -
              Throws:
              -
              java.lang.IllegalStateException - if this method is called multiple times
              +
              Throws:
              +
              IllegalStateException - if this method is called multiple times
              +
            • -
            - - - -
              -
            • -

              stereotype

              -
              SyntheticBeanBuilder<T> stereotype​(java.lang.Class<? extends java.lang.annotation.Annotation> stereotypeAnnotation)
              +
            • +
              +

              stereotype

              +
              SyntheticBeanBuilder<T> stereotype(Class<? extends Annotation> stereotypeAnnotation)
              Adds stereotypeAnnotation to the set of stereotypes of this synthetic bean. This method may be called multiple times to add multiple stereotypes.

              If not called, this synthetic bean will have no stereotype.

              -
              -
              Parameters:
              +
              +
              Parameters:
              stereotypeAnnotation - the stereotype, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              stereotype

              -
              SyntheticBeanBuilder<T> stereotype​(ClassInfo stereotypeAnnotation)
              +
            • +
              +

              stereotype

              +
              SyntheticBeanBuilder<T> stereotype(ClassInfo stereotypeAnnotation)
              Adds stereotypeAnnotation to the set of stereotypes of this synthetic bean. This method may be called multiple times to add multiple stereotypes.

              If not called, this synthetic bean will have no stereotype.

              -
              -
              Parameters:
              +
              +
              Parameters:
              stereotypeAnnotation - the stereotype, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticBeanBuilder<T> withParam​(java.lang.String key,
              -                                  boolean value)
              +
            • +
              +

              withParam

              +
              SyntheticBeanBuilder<T> withParam(String key, + boolean value)
              Adds a boolean-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticBeanBuilder<T> withParam​(java.lang.String key,
              -                                  boolean[] value)
              +
            • +
              +

              withParam

              +
              SyntheticBeanBuilder<T> withParam(String key, + boolean[] value)
              Adds a boolean array-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticBeanBuilder<T> withParam​(java.lang.String key,
              -                                  int value)
              +
            • +
              +

              withParam

              +
              SyntheticBeanBuilder<T> withParam(String key, + int value)
              Adds an int-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticBeanBuilder<T> withParam​(java.lang.String key,
              -                                  int[] value)
              +
            • +
              +

              withParam

              +
              SyntheticBeanBuilder<T> withParam(String key, + int[] value)
              Adds an int array-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticBeanBuilder<T> withParam​(java.lang.String key,
              -                                  long value)
              +
            • +
              +

              withParam

              +
              SyntheticBeanBuilder<T> withParam(String key, + long value)
              Adds a long-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticBeanBuilder<T> withParam​(java.lang.String key,
              -                                  long[] value)
              +
            • +
              +

              withParam

              +
              SyntheticBeanBuilder<T> withParam(String key, + long[] value)
              Adds a long array-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticBeanBuilder<T> withParam​(java.lang.String key,
              -                                  double value)
              +
            • +
              +

              withParam

              +
              SyntheticBeanBuilder<T> withParam(String key, + double value)
              Adds a double-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticBeanBuilder<T> withParam​(java.lang.String key,
              -                                  double[] value)
              +
            • +
              +

              withParam

              +
              SyntheticBeanBuilder<T> withParam(String key, + double[] value)
              Adds a double array-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticBeanBuilder<T> withParam​(java.lang.String key,
              -                                  java.lang.String value)
              +
            • +
              +

              withParam

              +
              SyntheticBeanBuilder<T> withParam(String key, + String value)
              Adds a String-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticBeanBuilder<T> withParam​(java.lang.String key,
              -                                  java.lang.String[] value)
              +
            • +
              +

              withParam

              +
              SyntheticBeanBuilder<T> withParam(String key, + String[] value)
              Adds a String array-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticBeanBuilder<T> withParam​(java.lang.String key,
              -                                  java.lang.Enum<?> value)
              +
            • +
              +

              withParam

              +
              SyntheticBeanBuilder<T> withParam(String key, + Enum<?> value)
              Adds an enum-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticBeanBuilder<T> withParam​(java.lang.String key,
              -                                  java.lang.Enum<?>[] value)
              +
            • +
              +

              withParam

              +
              SyntheticBeanBuilder<T> withParam(String key, + Enum<?>[] value)
              Adds an enum array-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticBeanBuilder<T> withParam​(java.lang.String key,
              -                                  java.lang.Class<?> value)
              +
            • +
              +

              withParam

              +
              SyntheticBeanBuilder<T> withParam(String key, + Class<?> value)
              Adds a Class-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticBeanBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticBeanBuilder<T> withParam​(java.lang.String key,
              -                                  ClassInfo value)
              +
            • +
              +

              withParam

              +
              SyntheticBeanBuilder<T> withParam(String key, + ClassInfo value)
              Adds a Class-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.

              When looked up from the parameter map in the creation/destruction function, the value will be - an instance of Class, not a ClassInfo.

              -
              -
              Parameters:
              + an instance of Class, not a ClassInfo.
    +
    +
    Parameters:
    key - the parameter key, must not be null
    value - the parameter value
    -
    Returns:
    +
    Returns:
    this SyntheticBeanBuilder
    + - - - - -
      -
    • -

      withParam

      -
      SyntheticBeanBuilder<T> withParam​(java.lang.String key,
      -                                  java.lang.Class<?>[] value)
      +
    • +
      +

      withParam

      +
      SyntheticBeanBuilder<T> withParam(String key, + Class<?>[] value)
      Adds a Class array-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
      -
      -
      Parameters:
      +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticBeanBuilder
      +
    • -
    - - - -
      -
    • -

      withParam

      -
      SyntheticBeanBuilder<T> withParam​(java.lang.String key,
      -                                  ClassInfo[] value)
      +
    • +
      +

      withParam

      +
      SyntheticBeanBuilder<T> withParam(String key, + ClassInfo[] value)
      Adds a Class array-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.

      When looked up from the parameter map in the creation/destruction function, the values will be - instances of Class, not ClassInfo.

      -
      -
      Parameters:
      + instances of Class, not ClassInfo. +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticBeanBuilder
      +
    • -
    - - - -
      -
    • -

      withParam

      -
      SyntheticBeanBuilder<T> withParam​(java.lang.String key,
      -                                  AnnotationInfo value)
      +
    • +
      +

      withParam

      +
      SyntheticBeanBuilder<T> withParam(String key, + AnnotationInfo value)
      Adds an annotation-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.

      When looked up from the parameter map in the creation/destruction function, the value will be an instance of the annotation type, not an AnnotationInfo.

      -
      -
      Parameters:
      +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticBeanBuilder
      +
    • -
    - - - -
      -
    • -

      withParam

      -
      SyntheticBeanBuilder<T> withParam​(java.lang.String key,
      -                                  java.lang.annotation.Annotation value)
      +
    • +
      +

      withParam

      +
      SyntheticBeanBuilder<T> withParam(String key, + Annotation value)
      Adds an annotation-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
      -
      -
      Parameters:
      +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticBeanBuilder
      +
    • -
    - - - -
      -
    • -

      withParam

      -
      SyntheticBeanBuilder<T> withParam​(java.lang.String key,
      -                                  AnnotationInfo[] value)
      +
    • +
      +

      withParam

      +
      SyntheticBeanBuilder<T> withParam(String key, + AnnotationInfo[] value)
      Adds an annotation array-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.

      When looked up from the parameter map in the creation/destruction function, the values will be instances of the corresponding annotation types, not AnnotationInfo.

      -
      -
      Parameters:
      +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticBeanBuilder
      +
    • -
    - - - -
      -
    • -

      withParam

      -
      SyntheticBeanBuilder<T> withParam​(java.lang.String key,
      -                                  java.lang.annotation.Annotation[] value)
      +
    • +
      +

      withParam

      +
      SyntheticBeanBuilder<T> withParam(String key, + Annotation[] value)
      Adds an annotation array-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.
      -
      -
      Parameters:
      +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticBeanBuilder
      +
    • -
    - - - -
      -
    • -

      withParam

      -
      SyntheticBeanBuilder<T> withParam​(java.lang.String key,
      -                                  InvokerInfo value)
      +
    • +
      +

      withParam

      +
      SyntheticBeanBuilder<T> withParam(String key, + InvokerInfo value)
      Adds an invoker-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.

      When looked up from the parameter map in the creation/destruction function, the value will be an instance of Invoker, not an InvokerInfo.

      -
      -
      Parameters:
      +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticBeanBuilder
      -
      Since:
      +
      Since:
      4.1
      +
    • -
    - - - -
      -
    • -

      withParam

      -
      SyntheticBeanBuilder<T> withParam​(java.lang.String key,
      -                                  InvokerInfo[] value)
      +
    • +
      +

      withParam

      +
      SyntheticBeanBuilder<T> withParam(String key, + InvokerInfo[] value)
      Adds an invoker array-valued parameter to the parameter map. The parameter map is passed to the creation and destruction functions when a bean instance is created/destroyed.

      When looked up from the parameter map in the creation/destruction function, the values will be instances of Invoker, not InvokerInfo.

      -
      -
      Parameters:
      +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticBeanBuilder
      -
      Since:
      +
      Since:
      4.1
      +
    • -
    - - - -
      -
    • -

      createWith

      -
      SyntheticBeanBuilder<T> createWith​(java.lang.Class<? extends SyntheticBeanCreator<T>> creatorClass)
      +
    • +
      +

      createWith

      +
      SyntheticBeanBuilder<T> createWith(Class<? extends SyntheticBeanCreator<T>> creatorClass)
      Sets the class of the synthetic bean creation function. CDI container will create an instance of the creation function every time when it needs to obtain an instance of the synthetic bean. The class must be public and have a public zero-parameter constructor; it must not be a bean.

      If not called, the synthetic bean registration will fail.

      -
      -
      Parameters:
      +
      +
      Parameters:
      creatorClass - the creation function class, must not be null
      -
      Returns:
      +
      Returns:
      this SyntheticBeanBuilder
      -
      Throws:
      -
      java.lang.IllegalStateException - if this method is called multiple times
      +
      Throws:
      +
      IllegalStateException - if this method is called multiple times
      +
    • -
    - - - -
      -
    • -

      disposeWith

      -
      SyntheticBeanBuilder<T> disposeWith​(java.lang.Class<? extends SyntheticBeanDisposer<T>> disposerClass)
      +
    • +
      +

      disposeWith

      +
      SyntheticBeanBuilder<T> disposeWith(Class<? extends SyntheticBeanDisposer<T>> disposerClass)
      Sets the class of the synthetic bean destruction function. CDI container will create an instance of the destruction function every time when it needs to destruction an instance of the synthetic bean. The class must be public and have a public zero-parameter constructor; it must not be a bean.

      If not called, a noop destruction function will be used.

      -
      -
      Parameters:
      +
      +
      Parameters:
      disposerClass - the destruction function class, must not be null
      -
      Returns:
      +
      Returns:
      this SyntheticBeanBuilder
      -
      Throws:
      -
      java.lang.IllegalStateException - if this method is called multiple times
      +
      Throws:
      +
      IllegalStateException - if this method is called multiple times
      -
    • -
    + - - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticBeanCreator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticBeanCreator.html index 481c039646..83db088805 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticBeanCreator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticBeanCreator.html @@ -1,198 +1,134 @@ - - + SyntheticBeanCreator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface SyntheticBeanCreator<T>

    +
    Module jakarta.cdi
    + +

    Interface SyntheticBeanCreator<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the bean class of the synthetic bean

      -
      public interface SyntheticBeanCreator<T>
      +
      public interface SyntheticBeanCreator<T>
      Creation function for a synthetic bean defined by SyntheticBeanBuilder. CDI container will create an instance of the creation function every time when it needs to obtain an instance of the synthetic bean. Implementations must be public classes with a public zero-parameter constructor; they must not be beans.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            create

            -
            T create​(Instance<java.lang.Object> lookup,
            -         Parameters params)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              create

              +
              T create(Instance<Object> lookup, + Parameters params)
              Creates an instance of the synthetic bean. May only return null if the synthetic bean is @Dependent.

              @@ -206,87 +142,27 @@

              create

              The parameter map contains the same values that were passed to the SyntheticBeanBuilder that defined the synthetic bean.

              -
              -
              Parameters:
              +
              +
              Parameters:
              lookup - an Instance that can be used to lookup other beans, never null
              params - the parameter map, never null
              -
              Returns:
              +
              Returns:
              an instance of the bean, may only be null if the synthetic bean is @Dependent
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticBeanDisposer.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticBeanDisposer.html index 0f0d8b169b..59f15830b6 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticBeanDisposer.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticBeanDisposer.html @@ -1,202 +1,136 @@ - - + SyntheticBeanDisposer (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface SyntheticBeanDisposer<T>

    +
    Module jakarta.cdi
    + +

    Interface SyntheticBeanDisposer<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the bean class of the synthetic bean

      -
      public interface SyntheticBeanDisposer<T>
      +
      public interface SyntheticBeanDisposer<T>
      Destruction function for a synthetic bean defined by SyntheticBeanBuilder. CDI container will create an instance of the destruction function every time when it needs to destroy an instance of the synthetic bean. Implementations must be public classes with a public zero-parameter constructor; they must not be beans.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
      -
    • + +
      +
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - - - -
            -
          • -

            dispose

            -
            void dispose​(T instance,
            -             Instance<java.lang.Object> lookup,
            -             Parameters params)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              dispose

              +
              void dispose(T instance, + Instance<Object> lookup, + Parameters params)
              Destroys an instance of the synthetic bean.

              The Instance parameter may be used to simulate disposer method parameter injection. @@ -207,86 +141,26 @@

              dispose

              The parameter map contains the same values that were passed to the SyntheticBeanBuilder that defined the synthetic bean.

              -
              -
              Parameters:
              +
              +
              Parameters:
              instance - the synthetic bean instance, never null
              lookup - an Instance that can be used to lookup other beans, never null
              params - the parameter map, never null
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticComponents.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticComponents.html index 0783a0265a..54d07e0b2c 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticComponents.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticComponents.html @@ -1,340 +1,207 @@ - - + SyntheticComponents (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface SyntheticComponents

    +
    Module jakarta.cdi
    + +

    Interface SyntheticComponents

    -
    -
    -
      -
    • +

      -
      public interface SyntheticComponents
      +
      public interface SyntheticComponents
      Allows registering synthetic beans and observers.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            addBean

            -
            <T> SyntheticBeanBuilder<T> addBean​(java.lang.Class<T> implementationClass)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              addBean

              +
              <T> SyntheticBeanBuilder<T> addBean(Class<T> implementationClass)
              Creates a SyntheticBeanBuilder that allows configuring a new synthetic bean of given implementationClass. The synthetic bean will be registered at the end of the @Synthesis method.
              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - the implementation class of the new synthetic bean
              -
              Parameters:
              +
              Parameters:
              implementationClass - the implementation class of the new synthetic bean, must not be null
              -
              Returns:
              +
              Returns:
              a new SyntheticBeanBuilder, never null
              +
            • -
            - - - -
              -
            • -

              addObserver

              -
              <T> SyntheticObserverBuilder<T> addObserver​(java.lang.Class<T> eventType)
              +
            • +
              +

              addObserver

              +
              <T> SyntheticObserverBuilder<T> addObserver(Class<T> eventType)
              Creates a SyntheticObserverBuilder that allows configuring a new synthetic observer for given eventType. The synthetic observer will be registered at the end of the @Synthesis method.
              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - the observed event type of the new synthetic observer
              -
              Parameters:
              +
              Parameters:
              eventType - the observed event type of the new synthetic observer, must not be null
              -
              Returns:
              +
              Returns:
              a new SyntheticObserverBuilder, never null
              +
            • -
            - - - -
              -
            • -

              addObserver

              -
              <T> SyntheticObserverBuilder<T> addObserver​(Type eventType)
              +
            • +
              +

              addObserver

              +
              <T> SyntheticObserverBuilder<T> addObserver(Type eventType)
              Creates a SyntheticObserverBuilder that allows configuring a new synthetic observer for given eventType. The synthetic observer will be registered at the end of the @Synthesis method.

              This method is supposed to be called with explicitly provided type arguments. For example, to define a synthetic observer of event type List<String>, one would call: +

              
                // types is of type Types
                // syntheticComponents is of type SyntheticComponents
                syntheticComponents.<List<String>>addObserver(types.parameterized(List.class, String.class))
                    ...
                
              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - the observed event type of the new synthetic observer
              -
              Parameters:
              +
              Parameters:
              eventType - the observed event type of the new synthetic observer, must not be null
              -
              Returns:
              +
              Returns:
              a new SyntheticObserverBuilder, never null
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticObserver.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticObserver.html index 7bbe56bec1..a320c530a6 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticObserver.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticObserver.html @@ -1,285 +1,161 @@ - - + SyntheticObserver (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface SyntheticObserver<T>

    +
    Module jakarta.cdi
    + +

    Interface SyntheticObserver<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the observed event type of the synthetic observer

      -
      public interface SyntheticObserver<T>
      +
      public interface SyntheticObserver<T>
      The event notification function for a synthetic observer defined by SyntheticObserverBuilder. CDI container will create an instance of the event notification function every time when it needs to notify the synthetic observer. Implementations must be public classes with a public zero-parameter constructor; they must not be beans.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            observe

            -
            void observe​(EventContext<T> event,
            -             Parameters params)
            -      throws java.lang.Exception
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              observe

              +
              void observe(EventContext<T> event, + Parameters params) + throws Exception
              Consumes an event. The EventContext provides access to the event payload, as well as the EventMetadata.

              The parameter map contains the same values that were passed to the SyntheticObserverBuilder that defined the synthetic observer.

              -
              -
              Parameters:
              +
              +
              Parameters:
              event - the event context, never null
              params - the parameter map, never null
              -
              Throws:
              -
              java.lang.Exception - checked exception will be wrapped and rethrown as an ObserverException
              +
              Throws:
              +
              Exception - checked exception will be wrapped and rethrown as an ObserverException
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticObserverBuilder.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticObserverBuilder.html index f1f3023a44..1c13faebdd 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticObserverBuilder.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/SyntheticObserverBuilder.html @@ -1,566 +1,421 @@ - - + SyntheticObserverBuilder (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface SyntheticObserverBuilder<T>

    +
    Module jakarta.cdi
    + +

    Interface SyntheticObserverBuilder<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the observed event type of this synthetic observer

      -
      public interface SyntheticObserverBuilder<T>
      +
      public interface SyntheticObserverBuilder<T>
      Builder for synthetic observers. Instances are not reusable. For each synthetic observer, new instance must be created by SyntheticComponents.addObserver(Class) or SyntheticComponents.addObserver(Type).
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            declaringClass

            -
            SyntheticObserverBuilder<T> declaringClass​(java.lang.Class<?> declaringClass)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              declaringClass

              +
              SyntheticObserverBuilder<T> declaringClass(Class<?> declaringClass)
              Sets the bean class that "declares" this synthetic observer.

              If not called, the class declaring the extension which creates this synthetic observer is used.

              -
              -
              Parameters:
              +
              +
              Parameters:
              declaringClass - bean class that "declares" this synthetic observer, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              -
              Throws:
              -
              java.lang.IllegalStateException - if this method is called multiple times
              +
              Throws:
              +
              IllegalStateException - if this method is called multiple times
              +
            • -
            - - - -
              -
            • -

              declaringClass

              -
              SyntheticObserverBuilder<T> declaringClass​(ClassInfo declaringClass)
              +
            • +
              +

              declaringClass

              +
              SyntheticObserverBuilder<T> declaringClass(ClassInfo declaringClass)
              Sets the bean class that "declares" this synthetic observer.

              If not called, the class declaring the extension which creates this synthetic observer is used.

              -
              -
              Parameters:
              +
              +
              Parameters:
              declaringClass - bean class that "declares" this synthetic observer, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              -
              Throws:
              -
              java.lang.IllegalStateException - if this method is called multiple times
              +
              Throws:
              +
              IllegalStateException - if this method is called multiple times
              +
            • -
            - - - -
              -
            • -

              qualifier

              -
              SyntheticObserverBuilder<T> qualifier​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
              +
            • +
              +

              qualifier

              +
              SyntheticObserverBuilder<T> qualifier(Class<? extends Annotation> annotationType)
              Adds a marker annotation of given type to the set of qualifiers of this synthetic observer. This method may be called multiple times to add multiple qualifiers.

              If not called, this synthetic observer will have no qualifier.

              -
              -
              Parameters:
              +
              +
              Parameters:
              annotationType - the type of the marker annotation, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              qualifier

              -
              SyntheticObserverBuilder<T> qualifier​(AnnotationInfo qualifierAnnotation)
              +
            • +
              +

              qualifier

              +
              SyntheticObserverBuilder<T> qualifier(AnnotationInfo qualifierAnnotation)
              Adds given annotation to the set of qualifiers of this synthetic observer. This method may be called multiple times to add multiple qualifiers.

              If not called, this synthetic observer will have no qualifier.

              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifierAnnotation - the annotation, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              qualifier

              -
              SyntheticObserverBuilder<T> qualifier​(java.lang.annotation.Annotation qualifierAnnotation)
              +
            • +
              +

              qualifier

              +
              SyntheticObserverBuilder<T> qualifier(Annotation qualifierAnnotation)
              Adds given annotation to the set of qualifiers of this synthetic observer. This method may be called multiple times to add multiple qualifiers.

              If not called, this synthetic observer will have no qualifier.

              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifierAnnotation - the annotation, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              priority

              -
              SyntheticObserverBuilder<T> priority​(int priority)
              +
            • +
              +

              priority

              +
              SyntheticObserverBuilder<T> priority(int priority)
              Sets a priority of this synthetic observer.

              If not called, this synthetic observer will have a default priority of Priority.APPLICATION + 500.

              -
              -
              Parameters:
              +
              +
              Parameters:
              priority - the priority of this synthetic observer
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              -
              Throws:
              -
              java.lang.IllegalStateException - if this method is called multiple times
              +
              Throws:
              +
              IllegalStateException - if this method is called multiple times
              +
            • -
            - - - -
              -
            • -

              async

              -
              SyntheticObserverBuilder<T> async​(boolean isAsync)
              +
            • +
              +

              async

              +
              SyntheticObserverBuilder<T> async(boolean isAsync)
              Marks this synthetic observer as asynchronous if desired.

              If not called, this synthetic observer will not be asynchronous.

              -
              -
              Parameters:
              +
              +
              Parameters:
              isAsync - whether this synthetic observer should be asynchronous
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              -
              Throws:
              -
              java.lang.IllegalStateException - if this method is called multiple times
              +
              Throws:
              +
              IllegalStateException - if this method is called multiple times
              +
            • -
            - - - -
              -
            • -

              transactionPhase

              -
              SyntheticObserverBuilder<T> transactionPhase​(TransactionPhase transactionPhase)
              +
            • +
              +

              transactionPhase

              +
              SyntheticObserverBuilder<T> transactionPhase(TransactionPhase transactionPhase)
              Sets the TransactionPhase during which this synthetic observer should be notified. If anything else than TransactionPhase.IN_PROGRESS is passed, this synthetic observer will be a transactional observer. @@ -570,551 +425,422 @@

              transactionPhase

              Note that transactional observers cannot be asynchronous. If this synthetic observer is configured to be both transactional and asynchronous, its registration will fail.

              -
              -
              Parameters:
              +
              +
              Parameters:
              transactionPhase - the TransactionPhase, must not be null
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              -
              Throws:
              -
              java.lang.IllegalStateException - if this method is called multiple times
              +
              Throws:
              +
              IllegalStateException - if this method is called multiple times
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticObserverBuilder<T> withParam​(java.lang.String key,
              -                                      boolean value)
              +
            • +
              +

              withParam

              +
              SyntheticObserverBuilder<T> withParam(String key, + boolean value)
              Adds a boolean-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticObserverBuilder<T> withParam​(java.lang.String key,
              -                                      boolean[] value)
              +
            • +
              +

              withParam

              +
              SyntheticObserverBuilder<T> withParam(String key, + boolean[] value)
              Adds a boolean array-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticObserverBuilder<T> withParam​(java.lang.String key,
              -                                      int value)
              +
            • +
              +

              withParam

              +
              SyntheticObserverBuilder<T> withParam(String key, + int value)
              Adds an int-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticObserverBuilder<T> withParam​(java.lang.String key,
              -                                      int[] value)
              +
            • +
              +

              withParam

              +
              SyntheticObserverBuilder<T> withParam(String key, + int[] value)
              Adds an int array-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticObserverBuilder<T> withParam​(java.lang.String key,
              -                                      long value)
              +
            • +
              +

              withParam

              +
              SyntheticObserverBuilder<T> withParam(String key, + long value)
              Adds a long-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticObserverBuilder<T> withParam​(java.lang.String key,
              -                                      long[] value)
              +
            • +
              +

              withParam

              +
              SyntheticObserverBuilder<T> withParam(String key, + long[] value)
              Adds a long array-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticObserverBuilder<T> withParam​(java.lang.String key,
              -                                      double value)
              +
            • +
              +

              withParam

              +
              SyntheticObserverBuilder<T> withParam(String key, + double value)
              Adds a double-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticObserverBuilder<T> withParam​(java.lang.String key,
              -                                      double[] value)
              +
            • +
              +

              withParam

              +
              SyntheticObserverBuilder<T> withParam(String key, + double[] value)
              Adds a double array-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticObserverBuilder<T> withParam​(java.lang.String key,
              -                                      java.lang.String value)
              +
            • +
              +

              withParam

              +
              SyntheticObserverBuilder<T> withParam(String key, + String value)
              Adds a String-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticObserverBuilder<T> withParam​(java.lang.String key,
              -                                      java.lang.String[] value)
              +
            • +
              +

              withParam

              +
              SyntheticObserverBuilder<T> withParam(String key, + String[] value)
              Adds a String array-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticObserverBuilder<T> withParam​(java.lang.String key,
              -                                      java.lang.Enum<?> value)
              +
            • +
              +

              withParam

              +
              SyntheticObserverBuilder<T> withParam(String key, + Enum<?> value)
              Adds an enum-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticObserverBuilder<T> withParam​(java.lang.String key,
              -                                      java.lang.Enum<?>[] value)
              +
            • +
              +

              withParam

              +
              SyntheticObserverBuilder<T> withParam(String key, + Enum<?>[] value)
              Adds an enum array-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticObserverBuilder<T> withParam​(java.lang.String key,
              -                                      java.lang.Class<?> value)
              +
            • +
              +

              withParam

              +
              SyntheticObserverBuilder<T> withParam(String key, + Class<?> value)
              Adds a Class-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              key - the parameter key, must not be null
              value - the parameter value
              -
              Returns:
              +
              Returns:
              this SyntheticObserverBuilder
              +
            • -
            - - - -
              -
            • -

              withParam

              -
              SyntheticObserverBuilder<T> withParam​(java.lang.String key,
              -                                      ClassInfo value)
              +
            • +
              +

              withParam

              +
              SyntheticObserverBuilder<T> withParam(String key, + ClassInfo value)
              Adds a Class-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.

              When looked up from the parameter map in the event notification function, the value will be - an instance of Class, not a ClassInfo.

              -
              -
              Parameters:
              + an instance of Class, not a ClassInfo.
    +
    +
    Parameters:
    key - the parameter key, must not be null
    value - the parameter value
    -
    Returns:
    +
    Returns:
    this SyntheticObserverBuilder
    + - - - - -
      -
    • -

      withParam

      -
      SyntheticObserverBuilder<T> withParam​(java.lang.String key,
      -                                      java.lang.Class<?>[] value)
      +
    • +
      +

      withParam

      +
      SyntheticObserverBuilder<T> withParam(String key, + Class<?>[] value)
      Adds a Class array-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
      -
      -
      Parameters:
      +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticObserverBuilder
      +
    • -
    - - - -
      -
    • -

      withParam

      -
      SyntheticObserverBuilder<T> withParam​(java.lang.String key,
      -                                      ClassInfo[] value)
      +
    • +
      +

      withParam

      +
      SyntheticObserverBuilder<T> withParam(String key, + ClassInfo[] value)
      Adds a Class array-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.

      When looked up from the parameter map in the event notification function, the values will be - instances of Class, not ClassInfo.

      -
      -
      Parameters:
      + instances of Class, not ClassInfo. +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticObserverBuilder
      +
    • -
    - - - -
      -
    • -

      withParam

      -
      SyntheticObserverBuilder<T> withParam​(java.lang.String key,
      -                                      AnnotationInfo value)
      +
    • +
      +

      withParam

      +
      SyntheticObserverBuilder<T> withParam(String key, + AnnotationInfo value)
      Adds an annotation-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.

      When looked up from the parameter map in the event notification function, the value will be an instance of the annotation type, not an AnnotationInfo.

      -
      -
      Parameters:
      +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticObserverBuilder
      +
    • -
    - - - -
      -
    • -

      withParam

      -
      SyntheticObserverBuilder<T> withParam​(java.lang.String key,
      -                                      java.lang.annotation.Annotation value)
      +
    • +
      +

      withParam

      +
      SyntheticObserverBuilder<T> withParam(String key, + Annotation value)
      Adds an annotation-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
      -
      -
      Parameters:
      +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticObserverBuilder
      +
    • -
    - - - -
      -
    • -

      withParam

      -
      SyntheticObserverBuilder<T> withParam​(java.lang.String key,
      -                                      AnnotationInfo[] value)
      +
    • +
      +

      withParam

      +
      SyntheticObserverBuilder<T> withParam(String key, + AnnotationInfo[] value)
      Adds an annotation array-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.

      When looked up from the parameter map in the event notification function, the values will be instances of the corresponding annotation types, not AnnotationInfo.

      -
      -
      Parameters:
      +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticObserverBuilder
      +
    • -
    - - - -
      -
    • -

      withParam

      -
      SyntheticObserverBuilder<T> withParam​(java.lang.String key,
      -                                      java.lang.annotation.Annotation[] value)
      +
    • +
      +

      withParam

      +
      SyntheticObserverBuilder<T> withParam(String key, + Annotation[] value)
      Adds an annotation array-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.
      -
      -
      Parameters:
      +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticObserverBuilder
      +
    • -
    - - - -
      -
    • -

      withParam

      -
      SyntheticObserverBuilder<T> withParam​(java.lang.String key,
      -                                      InvokerInfo value)
      +
    • +
      +

      withParam

      +
      SyntheticObserverBuilder<T> withParam(String key, + InvokerInfo value)
      Adds an invoker-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.

      When looked up from the parameter map in the event notification function, the value will be an instance of Invoker, not an InvokerInfo.

      -
      -
      Parameters:
      +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticBeanBuilder
      -
      Since:
      +
      Since:
      4.1
      +
    • -
    - - - -
      -
    • -

      withParam

      -
      SyntheticObserverBuilder<T> withParam​(java.lang.String key,
      -                                      InvokerInfo[] value)
      +
    • +
      +

      withParam

      +
      SyntheticObserverBuilder<T> withParam(String key, + InvokerInfo[] value)
      Adds an invoker array-valued parameter to the parameter map. The parameter map is passed to the event notification function when the event is fired.

      When looked up from the parameter map in the event notification function, the values will be instances of Invoker, not InvokerInfo.

      -
      -
      Parameters:
      +
      +
      Parameters:
      key - the parameter key, must not be null
      value - the parameter value
      -
      Returns:
      +
      Returns:
      this SyntheticBeanBuilder
      -
      Since:
      +
      Since:
      4.1
      +
    • -
    - - - -
      -
    • -

      observeWith

      -
      SyntheticObserverBuilder<T> observeWith​(java.lang.Class<? extends SyntheticObserver<T>> observerClass)
      +
    • +
      +

      observeWith

      +
      SyntheticObserverBuilder<T> observeWith(Class<? extends SyntheticObserver<T>> observerClass)
      Sets the class of the synthetic observer event notification function. CDI container will create an instance of the event notification function every time when it needs to notify the synthetic observer. The class must be public and have a public zero-parameter constructor; it must not be a bean.

      If not called, the synthetic observer registration will fail.

      -
      -
      Parameters:
      +
      +
      Parameters:
      observerClass - the event notification function class, must not be null
      -
      Returns:
      +
      Returns:
      this SyntheticObserverBuilder
      -
      Throws:
      -
      java.lang.IllegalStateException - if this method is called multiple times
      +
      Throws:
      +
      IllegalStateException - if this method is called multiple times
      -
    • -
    + - - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Types.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Types.html index bcfe391de1..9648569a83 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Types.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Types.html @@ -1,272 +1,186 @@ - - + Types (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Types

    +
    Module jakarta.cdi
    + +

    Interface Types

    -
    -
    -
      -
    • +

      -
      public interface Types
      -
      Factory for types. Allows creating representations of the void pseudo-type, +
      public interface Types
      +
      Factory for types. Allows creating representations of the void pseudo-type, primitive types, class types, array types, parameterized types and wildcard types.
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
    • -
    -
    -
    -
    + +
    ofArray(Type elementType, + int dimensions)
    +
    +
    Returns an ArrayType for the given element type and number of dimensions.
    +
    + + +
    +
    Returns a ClassType for the given class declaration.
    +
    + + +
    +
    Returns a ClassType for the given binary name, as defined by The Java™ Language Specification; + in other words, the class name as returned by Class.getName().
    +
    + + +
    +
    Returns a PrimitiveType for the given kind of primitive type.
    +
    + + +
    +
    Returns a VoidType, representing the void pseudo-type.
    +
    + +
    parameterized(ClassType genericType, + Type... typeArguments)
    +
    +
    Returns a ParameterizedType for the given generic type and type arguments.
    +
    + +
    parameterized(Class<?> genericType, + Type... typeArguments)
    +
    +
    Returns a ParameterizedType for the given generic type and type arguments.
    +
    + +
    parameterized(Class<?> genericType, + Class<?>... typeArguments)
    +
    +
    Returns a ParameterizedType for the given generic type and type arguments.
    +
    + + +
    +
    Returns a WildcardType that represents an equivalent of ?.
    +
    + + +
    +
    Returns a WildcardType that represents an equivalent of ? super lowerBound.
    +
    + + +
    +
    Returns a WildcardType that represents an equivalent of ? extends upperBound.
    +
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            of

            -
            Type of​(java.lang.Class<?> clazz)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              of

              +
              Type of(Class<?> clazz)
              Returns a type from given class literal. For example:
                @@ -276,293 +190,200 @@

                of

              • of(int[].class): same as ofArray(ofPrimitive(PrimitiveKind.INT), 1)
              • of(String[][].class): same as ofArray(ofClass(... ClassInfo for String ...), 2)
              -
              -
              Parameters:
              +
              +
              Parameters:
              clazz - the class literal, must not be null
              -
              Returns:
              -
              Type object representing the given class literal
              +
              Returns:
              +
              Type object representing the given class literal
              +
            • -
            - - - -
              -
            • -

              ofVoid

              -
              VoidType ofVoid()
              -
              Returns a VoidType, representing the void pseudo-type.
              -
              -
              Returns:
              -
              the VoidType, never null
              +
            • +
              +

              ofVoid

              +
              VoidType ofVoid()
              +
              Returns a VoidType, representing the void pseudo-type.
              +
              +
              Returns:
              +
              the VoidType, never null
              +
            • -
            - - - - - - - -
              -
            • -

              ofClass

              -
              ClassType ofClass​(java.lang.String name)
              -
              Returns a ClassType for the given binary name, as defined by The Java™ Language Specification; - in other words, the class name as returned by Class.getName(). +
            • +
              +

              ofClass

              +
              ClassType ofClass(String name)
              +
              Returns a ClassType for the given binary name, as defined by The Java™ Language Specification; + in other words, the class name as returned by Class.getName().

              - Note that this method returns ClassType, so name may only be a name of a class. + Note that this method returns ClassType, so name may only be a name of a class. For primitives, use ofPrimitive(PrimitiveType.PrimitiveKind). For arrays, use ofArray(Type, int).

              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the binary name of the class, must not be null
              -
              Returns:
              -
              the ClassType or null if the class is not present in any bean archive
              +
              Returns:
              +
              the ClassType or null if the class is not present in any bean archive
              +
            • -
            - - - - - - - -
              -
            • -

              ofArray

              -
              ArrayType ofArray​(Type elementType,
              -                  int dimensions)
              -
              Returns an ArrayType for the given element type and number of dimensions. +
            • +
              +

              ofArray

              +
              ArrayType ofArray(Type elementType, + int dimensions)
              +
              Returns an ArrayType for the given element type and number of dimensions.

              - Note that this method accepts the element type of an array, even though ArrayType + Note that this method accepts the element type of an array, even though ArrayType uses a component type representation. For example, the component type of String[][] is String[], while the element type is String.

              -
              -
              Parameters:
              -
              elementType - the element Type, must not be null
              +
              +
              Parameters:
              +
              elementType - the element Type, must not be null
              dimensions - the number of dimensions
              -
              Returns:
              -
              the ArrayType, never null
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if the element type is an array type, a wildcard type, or the void pseudo-type
              +
              Returns:
              +
              the ArrayType, never null
              +
              Throws:
              +
              IllegalArgumentException - if the element type is an array type, a wildcard type, or the void pseudo-type
              +
            • -
            - - - -
              -
            • -

              parameterized

              -
              ParameterizedType parameterized​(java.lang.Class<?> genericType,
              -                                java.lang.Class<?>... typeArguments)
              -
              Returns a ParameterizedType for the given generic type and type arguments. +
            • +
              +

              parameterized

              +
              ParameterizedType parameterized(Class<?> genericType, + Class<?>... typeArguments)
              +
              Returns a ParameterizedType for the given generic type and type arguments. The array of type arguments must have the same shape as the generic type's list of type parameters.
              -
              -
              Parameters:
              +
              +
              Parameters:
              genericType - the type to parameterize, must not be null
              typeArguments - one or more type arguments
              -
              Returns:
              +
              Returns:
              the parameterized type, never null
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if given genericType is not generic or if the number of type arguments - does not match the number of type parameters declared by genericType
              +
              Throws:
              +
              IllegalArgumentException - if given genericType is not generic or if the number of type arguments + does not match the number of type parameters declared by genericType
              +
            • -
            - - - -
              -
            • -

              parameterized

              -
              ParameterizedType parameterized​(java.lang.Class<?> genericType,
              -                                Type... typeArguments)
              -
              Returns a ParameterizedType for the given generic type and type arguments. +
            • +
              +

              parameterized

              +
              ParameterizedType parameterized(Class<?> genericType, + Type... typeArguments)
              +
              Returns a ParameterizedType for the given generic type and type arguments. The array of type arguments must have the same shape as the generic type's list of type parameters.
              -
              -
              Parameters:
              +
              +
              Parameters:
              genericType - the type to parameterize, must not be null
              typeArguments - one or more type arguments
              -
              Returns:
              +
              Returns:
              the parameterized type, never null
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if given genericType is not generic or if the number of type arguments - does not match the number of type parameters declared by genericType
              +
              Throws:
              +
              IllegalArgumentException - if given genericType is not generic or if the number of type arguments + does not match the number of type parameters declared by genericType
              +
            • -
            - - - -
              -
            • -

              parameterized

              -
              ParameterizedType parameterized​(ClassType genericType,
              -                                Type... typeArguments)
              -
              Returns a ParameterizedType for the given generic type and type arguments. +
            • +
              +

              parameterized

              +
              ParameterizedType parameterized(ClassType genericType, + Type... typeArguments)
              +
              Returns a ParameterizedType for the given generic type and type arguments. The array of type arguments must have the same shape as the generic type's list of type parameters.
              -
              -
              Parameters:
              +
              +
              Parameters:
              genericType - the type to parameterize, must not be null
              typeArguments - one or more type arguments
              -
              Returns:
              +
              Returns:
              the parameterized type, never null
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if given genericType is not generic or if the number of type arguments - does not match the number of type parameters declared by genericType
              +
              Throws:
              +
              IllegalArgumentException - if given genericType is not generic or if the number of type arguments + does not match the number of type parameters declared by genericType
              +
            • -
            - - - -
              -
            • -

              wildcardWithUpperBound

              -
              WildcardType wildcardWithUpperBound​(Type upperBound)
              -
              Returns a WildcardType that represents an equivalent of ? extends upperBound. +
            • +
              +

              wildcardWithUpperBound

              +
              WildcardType wildcardWithUpperBound(Type upperBound)
              +
              Returns a WildcardType that represents an equivalent of ? extends upperBound. Note that if upperBound represents the java.lang.Object type, then the result is equivalent to wildcardUnbounded().
              -
              -
              Parameters:
              +
              +
              Parameters:
              upperBound - upper bound type, must not be null
              -
              Returns:
              -
              a WildcardType object representing a wildcard type with given upper bound
              +
              Returns:
              +
              a WildcardType object representing a wildcard type with given upper bound
              +
            • -
            - - - -
              -
            • -

              wildcardWithLowerBound

              -
              WildcardType wildcardWithLowerBound​(Type lowerBound)
              -
              Returns a WildcardType that represents an equivalent of ? super lowerBound.
              -
              -
              Parameters:
              +
            • +
              +

              wildcardWithLowerBound

              +
              WildcardType wildcardWithLowerBound(Type lowerBound)
              +
              Returns a WildcardType that represents an equivalent of ? super lowerBound.
              +
              +
              Parameters:
              lowerBound - lower bound type, must not be null
              -
              Returns:
              -
              a WildcardType object representing a wildcard type with given upper bound
              +
              Returns:
              +
              a WildcardType object representing a wildcard type with given upper bound
              +
            • -
            - - - -
              -
            • -

              wildcardUnbounded

              -
              WildcardType wildcardUnbounded()
              -
              Returns a WildcardType that represents an equivalent of ?.
              -
              -
              Returns:
              -
              a WildcardType object representing an unbounded wildcard type
              +
            • +
              +

              wildcardUnbounded

              +
              WildcardType wildcardUnbounded()
              +
              Returns a WildcardType that represents an equivalent of ?.
              +
              +
              Returns:
              +
              a WildcardType object representing an unbounded wildcard type
              -
            • -
            +
      -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Validation.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Validation.html index 40bcffcb9f..dc8b9d3ef6 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Validation.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/Validation.html @@ -1,127 +1,79 @@ - - + Validation (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Validation

    +
    Module jakarta.cdi
    + +

    Annotation Type Validation

    -
    -
    -
    -
    -
    Since:
    +
    +
    Since:
    4.0
    - - -
    -
    - + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/AnnotationBuilder.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/AnnotationBuilder.html index fb8c4d4d8b..d146978543 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/AnnotationBuilder.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/AnnotationBuilder.html @@ -1,755 +1,502 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilder

    -
    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/AnnotationBuilderFactory.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/AnnotationBuilderFactory.html index a8674455ff..0475806c21 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/AnnotationBuilderFactory.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/AnnotationBuilderFactory.html @@ -1,199 +1,92 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilderFactory (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilderFactory

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.AnnotationBuilderFactory

    +
    +
    Packages that use AnnotationBuilderFactory
    +
    +
    Package
    +
    Description
    + +
    +
    + The build compatible extension SPI.
    +
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BeanInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BeanInfo.html index 7058ce171c..b6b202c65a 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BeanInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BeanInfo.html @@ -1,252 +1,135 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.BeanInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.BeanInfo

    -
    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BuildCompatibleExtension.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BuildCompatibleExtension.html index 3f2992886d..985ccd96af 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BuildCompatibleExtension.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BuildCompatibleExtension.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.BuildCompatibleExtension (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.BuildCompatibleExtension

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.BuildCompatibleExtension

    -
    No usage of jakarta.enterprise.inject.build.compatible.spi.BuildCompatibleExtension
    -
    +No usage of jakarta.enterprise.inject.build.compatible.spi.BuildCompatibleExtension
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BuildServices.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BuildServices.html index a86908585d..280de0166e 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BuildServices.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BuildServices.html @@ -1,201 +1,94 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.BuildServices (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.BuildServices

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.BuildServices

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BuildServicesResolver.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BuildServicesResolver.html index 15b8cb75be..038bbf9304 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BuildServicesResolver.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/BuildServicesResolver.html @@ -1,153 +1,64 @@ - - + Uses of Class jakarta.enterprise.inject.build.compatible.spi.BuildServicesResolver (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.build.compatible.spi.BuildServicesResolver

    +

    Uses of Class
    jakarta.enterprise.inject.build.compatible.spi.BuildServicesResolver

    -
    No usage of jakarta.enterprise.inject.build.compatible.spi.BuildServicesResolver
    -
    +No usage of jakarta.enterprise.inject.build.compatible.spi.BuildServicesResolver
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ClassConfig.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ClassConfig.html index 5b51772ea8..2801c67410 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ClassConfig.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ClassConfig.html @@ -1,250 +1,129 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.ClassConfig (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.ClassConfig

    -
    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/DeclarationConfig.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/DeclarationConfig.html index 4e794c7fae..a7c2851bf4 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/DeclarationConfig.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/DeclarationConfig.html @@ -1,267 +1,140 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Discovery.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Discovery.html index d3e4401a0b..5c8161306b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Discovery.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Discovery.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.build.compatible.spi.Discovery (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.build.compatible.spi.Discovery (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.build.compatible.spi.Discovery

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.build.compatible.spi.Discovery

    -
    No usage of jakarta.enterprise.inject.build.compatible.spi.Discovery
    -
    +No usage of jakarta.enterprise.inject.build.compatible.spi.Discovery
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/DisposerInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/DisposerInfo.html index 7ff0c94f4e..a0274868f1 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/DisposerInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/DisposerInfo.html @@ -1,201 +1,94 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.DisposerInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.DisposerInfo

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.DisposerInfo

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Enhancement.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Enhancement.html index c49954a13f..04e5c82a1a 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Enhancement.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Enhancement.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.build.compatible.spi.Enhancement (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.build.compatible.spi.Enhancement (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.build.compatible.spi.Enhancement

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.build.compatible.spi.Enhancement

    -
    No usage of jakarta.enterprise.inject.build.compatible.spi.Enhancement
    -
    +No usage of jakarta.enterprise.inject.build.compatible.spi.Enhancement
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/FieldConfig.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/FieldConfig.html index 3ca507073e..a472e5c030 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/FieldConfig.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/FieldConfig.html @@ -1,247 +1,126 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.FieldConfig (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.FieldConfig

    -
    -
    -
    +
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InjectionPointInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InjectionPointInfo.html index 296a31fa28..ac00bf0e68 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InjectionPointInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InjectionPointInfo.html @@ -1,201 +1,94 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.InjectionPointInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.InjectionPointInfo

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.InjectionPointInfo

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InterceptorInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InterceptorInfo.html index 6a521bd670..ea2c74db2d 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InterceptorInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InterceptorInfo.html @@ -1,206 +1,97 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.InterceptorInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.InterceptorInfo

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.InterceptorInfo

    -
    -
    + +
    InterceptorInfo.asInterceptor()
    +
     
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InvokerFactory.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InvokerFactory.html new file mode 100644 index 0000000000..d5990112b8 --- /dev/null +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InvokerFactory.html @@ -0,0 +1,64 @@ + + + + +Uses of Interface jakarta.enterprise.inject.build.compatible.spi.InvokerFactory (Jakarta Contexts and Dependency Injection API) + + + + + + + + + + + + + + +
    + +
    +
    +
    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.InvokerFactory

    +
    +No usage of jakarta.enterprise.inject.build.compatible.spi.InvokerFactory
    + +
    +
    + + diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InvokerInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InvokerInfo.html index 4c9f2365e4..b79e33ce3b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InvokerInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/InvokerInfo.html @@ -1,243 +1,125 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.InvokerInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.InvokerInfo

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.InvokerInfo

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Messages.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Messages.html index 41f0a48a73..ec0f41ffca 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Messages.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Messages.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.Messages (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.Messages

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.Messages

    -
    No usage of jakarta.enterprise.inject.build.compatible.spi.Messages
    -
    +No usage of jakarta.enterprise.inject.build.compatible.spi.Messages
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/MetaAnnotations.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/MetaAnnotations.html index de034cd4cb..8cd04a3e37 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/MetaAnnotations.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/MetaAnnotations.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations

    -
    No usage of jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations
    -
    +No usage of jakarta.enterprise.inject.build.compatible.spi.MetaAnnotations
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/MethodConfig.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/MethodConfig.html index 7f4cc6c4e2..6722309342 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/MethodConfig.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/MethodConfig.html @@ -1,255 +1,132 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.MethodConfig (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.MethodConfig

    -
    -
    -
    +
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ObserverInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ObserverInfo.html index ec77d2924c..29d7b74ac1 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ObserverInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ObserverInfo.html @@ -1,218 +1,107 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.ObserverInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.ObserverInfo

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.ObserverInfo

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ParameterConfig.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ParameterConfig.html index 258252f0b7..f1ead6093a 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ParameterConfig.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ParameterConfig.html @@ -1,246 +1,125 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.ParameterConfig (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.ParameterConfig

    -
    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Parameters.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Parameters.html index 1584bbfafc..43d92464e0 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Parameters.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Parameters.html @@ -1,219 +1,108 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.Parameters (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.Parameters

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.Parameters

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Registration.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Registration.html index b809db50fc..33e5f6e890 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Registration.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Registration.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.build.compatible.spi.Registration (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.build.compatible.spi.Registration (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.build.compatible.spi.Registration

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.build.compatible.spi.Registration

    -
    No usage of jakarta.enterprise.inject.build.compatible.spi.Registration
    -
    +No usage of jakarta.enterprise.inject.build.compatible.spi.Registration
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ScannedClasses.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ScannedClasses.html index 327a43b211..415c70a576 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ScannedClasses.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ScannedClasses.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.ScannedClasses (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.ScannedClasses

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.ScannedClasses

    -
    No usage of jakarta.enterprise.inject.build.compatible.spi.ScannedClasses
    -
    +No usage of jakarta.enterprise.inject.build.compatible.spi.ScannedClasses
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ScopeInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ScopeInfo.html index 81d3720190..fcba1cd34a 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ScopeInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/ScopeInfo.html @@ -1,208 +1,99 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.ScopeInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.ScopeInfo

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.ScopeInfo

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SkipIfPortableExtensionPresent.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SkipIfPortableExtensionPresent.html index 434d7c5dba..f7c93dbaa4 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SkipIfPortableExtensionPresent.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SkipIfPortableExtensionPresent.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.build.compatible.spi.SkipIfPortableExtensionPresent (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.build.compatible.spi.SkipIfPortableExtensionPresent (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.build.compatible.spi.SkipIfPortableExtensionPresent

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.build.compatible.spi.SkipIfPortableExtensionPresent

    -
    No usage of jakarta.enterprise.inject.build.compatible.spi.SkipIfPortableExtensionPresent
    -
    +No usage of jakarta.enterprise.inject.build.compatible.spi.SkipIfPortableExtensionPresent
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/StereotypeInfo.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/StereotypeInfo.html index 4fa9f99650..3fa2096480 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/StereotypeInfo.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/StereotypeInfo.html @@ -1,201 +1,94 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.StereotypeInfo (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.StereotypeInfo

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.StereotypeInfo

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Synthesis.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Synthesis.html index d0beb11811..eb571b706f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Synthesis.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Synthesis.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.build.compatible.spi.Synthesis (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.build.compatible.spi.Synthesis (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.build.compatible.spi.Synthesis

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.build.compatible.spi.Synthesis

    -
    No usage of jakarta.enterprise.inject.build.compatible.spi.Synthesis
    -
    +No usage of jakarta.enterprise.inject.build.compatible.spi.Synthesis
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticBeanBuilder.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticBeanBuilder.html index 3514fe1f1a..d3d5ae809b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticBeanBuilder.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticBeanBuilder.html @@ -1,476 +1,297 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanBuilder

    -
    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticBeanCreator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticBeanCreator.html index e4ff1c5943..e222ac28fe 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticBeanCreator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticBeanCreator.html @@ -1,201 +1,94 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanCreator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanCreator

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanCreator

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticBeanDisposer.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticBeanDisposer.html index 381527c51e..916b1a03a2 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticBeanDisposer.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticBeanDisposer.html @@ -1,201 +1,94 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanDisposer (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanDisposer

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.SyntheticBeanDisposer

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticComponents.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticComponents.html index 683a835c73..504818cda1 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticComponents.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticComponents.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.SyntheticComponents (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.SyntheticComponents

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.SyntheticComponents

    -
    No usage of jakarta.enterprise.inject.build.compatible.spi.SyntheticComponents
    -
    +No usage of jakarta.enterprise.inject.build.compatible.spi.SyntheticComponents
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticObserver.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticObserver.html index 4aebe1dd52..6a5eb6e50f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticObserver.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticObserver.html @@ -1,201 +1,94 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserver (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.SyntheticObserver

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.SyntheticObserver

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticObserverBuilder.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticObserverBuilder.html index e0082775c9..8e71290358 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticObserverBuilder.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/SyntheticObserverBuilder.html @@ -1,449 +1,278 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.SyntheticObserverBuilder

    -
    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Types.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Types.html index a58c7ad822..b1db7bc9a6 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Types.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Types.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.build.compatible.spi.Types (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.Types

    +

    Uses of Interface
    jakarta.enterprise.inject.build.compatible.spi.Types

    -
    No usage of jakarta.enterprise.inject.build.compatible.spi.Types
    -
    +No usage of jakarta.enterprise.inject.build.compatible.spi.Types
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Validation.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Validation.html index 3d964bf5fe..df9a9e8579 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Validation.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/class-use/Validation.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.build.compatible.spi.Validation (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.build.compatible.spi.Validation (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.build.compatible.spi.Validation

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.build.compatible.spi.Validation

    -
    No usage of jakarta.enterprise.inject.build.compatible.spi.Validation
    -
    +No usage of jakarta.enterprise.inject.build.compatible.spi.Validation
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/package-summary.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/package-summary.html index 59809d3f9c..841f7376ce 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/package-summary.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/package-summary.html @@ -1,109 +1,77 @@ - - + jakarta.enterprise.inject.build.compatible.spi (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -
    Module jakarta.cdi
    -

    Package jakarta.enterprise.inject.build.compatible.spi

    -
    -
    -
    - - -

    The build compatible extension SPI. See:

    +
    Module jakarta.cdi
    +

    Package jakarta.enterprise.inject.build.compatible.spi

    +
    +
    +
    package jakarta.enterprise.inject.build.compatible.spi
    +
    +

    + The build compatible extension SPI. See: +

    -
    +
    +
    +
    -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/package-tree.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/package-tree.html index 877a1ec045..6779735eb2 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/package-tree.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/package-tree.html @@ -1,222 +1,133 @@ - - + jakarta.enterprise.inject.build.compatible.spi Class Hierarchy (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Hierarchy For Package jakarta.enterprise.inject.build.compatible.spi

    -Package Hierarchies: +Package Hierarchies:
    -
    -
    +

    Class Hierarchy

    -
    +

    Interface Hierarchy

    -
    +

    Annotation Type Hierarchy

      -
    • jakarta.enterprise.inject.build.compatible.spi.Discovery (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.build.compatible.spi.Enhancement (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.build.compatible.spi.Registration (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.build.compatible.spi.SkipIfPortableExtensionPresent (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.build.compatible.spi.Synthesis (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.build.compatible.spi.Validation (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.build.compatible.spi.Discovery (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.build.compatible.spi.Enhancement (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.build.compatible.spi.Registration (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.build.compatible.spi.SkipIfPortableExtensionPresent (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.build.compatible.spi.Synthesis (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.build.compatible.spi.Validation (implements java.lang.annotation.Annotation)
    -
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/package-use.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/package-use.html index e6026b40fc..0aef13429d 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/package-use.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/build/compatible/spi/package-use.html @@ -1,147 +1,86 @@ - - + Uses of Package jakarta.enterprise.inject.build.compatible.spi (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Uses of Package
    jakarta.enterprise.inject.build.compatible.spi

    -
    -
    +
    + -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Alternative.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Alternative.Literal.html index ea31b0ba48..b2fcde76ed 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Alternative.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Alternative.Literal.html @@ -1,197 +1,91 @@ - - + Uses of Class jakarta.enterprise.inject.Alternative.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Alternative.Literal

    +

    Uses of Class
    jakarta.enterprise.inject.Alternative.Literal

    +
    +
    Packages that use Alternative.Literal
    +
    +
    Package
    +
    Description
    + +
     
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Alternative.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Alternative.html index ee55f81dfd..8749301e5b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Alternative.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Alternative.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.Alternative (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.Alternative (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Alternative

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.Alternative

    -
    No usage of jakarta.enterprise.inject.Alternative
    -
    +No usage of jakarta.enterprise.inject.Alternative
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/AmbiguousResolutionException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/AmbiguousResolutionException.html index d9396a73d2..39ce9ab3ae 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/AmbiguousResolutionException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/AmbiguousResolutionException.html @@ -1,153 +1,64 @@ - - + Uses of Class jakarta.enterprise.inject.AmbiguousResolutionException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.AmbiguousResolutionException

    +

    Uses of Class
    jakarta.enterprise.inject.AmbiguousResolutionException

    -
    No usage of jakarta.enterprise.inject.AmbiguousResolutionException
    -
    +No usage of jakarta.enterprise.inject.AmbiguousResolutionException
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Any.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Any.Literal.html index 8f4625b261..7e90b67d08 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Any.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Any.Literal.html @@ -1,197 +1,91 @@ - - + Uses of Class jakarta.enterprise.inject.Any.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Any.Literal

    +

    Uses of Class
    jakarta.enterprise.inject.Any.Literal

    +
    +
    Packages that use Any.Literal
    +
    +
    Package
    +
    Description
    + +
     
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Any.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Any.html index 7aa6a52620..29772ea4d5 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Any.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Any.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.Any (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.Any (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Any

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.Any

    -
    No usage of jakarta.enterprise.inject.Any
    -
    +No usage of jakarta.enterprise.inject.Any
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/CreationException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/CreationException.html index 6a5c10295d..3c2f863585 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/CreationException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/CreationException.html @@ -1,153 +1,64 @@ - - + Uses of Class jakarta.enterprise.inject.CreationException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.CreationException

    +

    Uses of Class
    jakarta.enterprise.inject.CreationException

    -
    No usage of jakarta.enterprise.inject.CreationException
    -
    +No usage of jakarta.enterprise.inject.CreationException
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Decorated.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Decorated.html index f3bd193d75..fbade5963e 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Decorated.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Decorated.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.Decorated (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.Decorated (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Decorated

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.Decorated

    -
    No usage of jakarta.enterprise.inject.Decorated
    -
    +No usage of jakarta.enterprise.inject.Decorated
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Default.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Default.Literal.html index eab410b686..bca9b98885 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Default.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Default.Literal.html @@ -1,197 +1,91 @@ - - + Uses of Class jakarta.enterprise.inject.Default.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Default.Literal

    +

    Uses of Class
    jakarta.enterprise.inject.Default.Literal

    +
    +
    Packages that use Default.Literal
    +
    +
    Package
    +
    Description
    + +
     
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Default.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Default.html index 74d760166b..88e45de735 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Default.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Default.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.Default (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.Default (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Default

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.Default

    -
    No usage of jakarta.enterprise.inject.Default
    -
    +No usage of jakarta.enterprise.inject.Default
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Disposes.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Disposes.html index 6f9492192e..e04eefc2d7 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Disposes.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Disposes.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.Disposes (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.Disposes (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Disposes

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.Disposes

    -
    No usage of jakarta.enterprise.inject.Disposes
    -
    +No usage of jakarta.enterprise.inject.Disposes
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/IllegalProductException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/IllegalProductException.html index 86ee1b174c..cede273fa3 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/IllegalProductException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/IllegalProductException.html @@ -1,153 +1,64 @@ - - + Uses of Class jakarta.enterprise.inject.IllegalProductException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.IllegalProductException

    +

    Uses of Class
    jakarta.enterprise.inject.IllegalProductException

    -
    No usage of jakarta.enterprise.inject.IllegalProductException
    -
    +No usage of jakarta.enterprise.inject.IllegalProductException
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/InjectionException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/InjectionException.html index 546a101b36..4a584d927c 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/InjectionException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/InjectionException.html @@ -1,243 +1,125 @@ - - + Uses of Class jakarta.enterprise.inject.InjectionException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.InjectionException

    +

    Uses of Class
    jakarta.enterprise.inject.InjectionException

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Instance.Handle.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Instance.Handle.html index 46160b7fd5..2d63656f13 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Instance.Handle.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Instance.Handle.html @@ -1,225 +1,109 @@ - - + Uses of Interface jakarta.enterprise.inject.Instance.Handle (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.Instance.Handle

    +

    Uses of Interface
    jakarta.enterprise.inject.Instance.Handle

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Instance.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Instance.html index fff02c23ab..1ec0a5e1ef 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Instance.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Instance.html @@ -1,368 +1,208 @@ - - + Uses of Interface jakarta.enterprise.inject.Instance (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.Instance

    +

    Uses of Interface
    jakarta.enterprise.inject.Instance

    -
    -
    +
    -
  • -
    - - -

    Uses of Instance in jakarta.enterprise.inject.build.compatible.spi

    - - - - - - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.build.compatible.spi with parameters of type Instance 
    Modifier and TypeMethodDescription
    TSyntheticBeanCreator.create​(Instance<java.lang.Object> lookup, - Parameters params) +
  • +
    +

    Uses of Instance in jakarta.enterprise.inject.build.compatible.spi

    +
    Methods in jakarta.enterprise.inject.build.compatible.spi with parameters of type Instance
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    SyntheticBeanCreator.create(Instance<Object> lookup, + Parameters params)
    +
    Creates an instance of the synthetic bean.
    -
  • voidSyntheticBeanDisposer.dispose​(T instance, - Instance<java.lang.Object> lookup, - Parameters params) + +
    void
    +
    SyntheticBeanDisposer.dispose(T instance, + Instance<Object> lookup, + Parameters params)
    +
    Destroys an instance of the synthetic bean.
    -
    +
  • +
    -
  • -
    - - -

    Uses of Instance in jakarta.enterprise.inject.se

    - - - - - - - - - - - - - - -
    Subinterfaces of Instance in jakarta.enterprise.inject.se 
    Modifier and TypeInterfaceDescription
    interface SeContainer +
  • +
    +

    Uses of Instance in jakarta.enterprise.inject.se

    + +
    +
    Modifier and Type
    +
    Interface
    +
    Description
    +
    interface 
    + +
    Provides access to the current container in Java SE.
    -
  • +
  • +
    -
  • -
    - - -

    Uses of Instance in jakarta.enterprise.inject.spi

    - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.inject.spi that implement Instance 
    Modifier and TypeClassDescription
    class CDI<T> +
  • +
    +

    Uses of Instance in jakarta.enterprise.inject.spi

    +
    Classes in jakarta.enterprise.inject.spi that implement Instance
    +
    +
    Modifier and Type
    +
    Class
    +
    Description
    +
    class 
    +
    CDI<T>
    +
    Provides access to the current container.
    -
  • - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi that return Instance 
    Modifier and TypeMethodDescription
    Instance<java.lang.Object>BeanContainer.createInstance() + + + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    BeanContainer.createInstance()
    +
    Obtains an Instance object to access to beans instances.
    -
    +
  • +
    -
  • -
    - - -

    Uses of Instance in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - - - - - - -
    Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type Instance 
    Modifier and TypeMethodDescription
    BeanConfigurator<T>BeanConfigurator.disposeWith​(java.util.function.BiConsumer<T,​Instance<java.lang.Object>> callback) +
  • +
    +

    Uses of Instance in jakarta.enterprise.inject.spi.configurator

    +
    Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type Instance
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    BeanConfigurator.disposeWith(BiConsumer<T,Instance<Object>> callback)
    +
    Set a callback to destroy a bean instance.
    -
  • <U extends T>
    BeanConfigurator<U>
    BeanConfigurator.produceWith​(java.util.function.Function<Instance<java.lang.Object>,​U> callback) + +
    <U extends T>
    BeanConfigurator<U>
    +
    BeanConfigurator.produceWith(Function<Instance<Object>,U> callback)
    +
    Set a callback to create a bean instance.
    -
    +
  • +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Intercepted.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Intercepted.html index ef20483111..8d6c66448c 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Intercepted.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Intercepted.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.Intercepted (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.Intercepted (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Intercepted

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.Intercepted

    -
    No usage of jakarta.enterprise.inject.Intercepted
    -
    +No usage of jakarta.enterprise.inject.Intercepted
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Model.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Model.html index 68a29dbfdb..41d1038795 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Model.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Model.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.Model (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.Model (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Model

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.Model

    -
    No usage of jakarta.enterprise.inject.Model
    -
    +No usage of jakarta.enterprise.inject.Model
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Produces.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Produces.html index 340786ac29..fa9e43beb8 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Produces.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Produces.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.Produces (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.Produces (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Produces

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.Produces

    -
    No usage of jakarta.enterprise.inject.Produces
    -
    +No usage of jakarta.enterprise.inject.Produces
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/ResolutionException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/ResolutionException.html index 7c5f62ab19..4d4b3c999a 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/ResolutionException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/ResolutionException.html @@ -1,219 +1,107 @@ - - + Uses of Class jakarta.enterprise.inject.ResolutionException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.ResolutionException

    +

    Uses of Class
    jakarta.enterprise.inject.ResolutionException

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Specializes.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Specializes.Literal.html index bb74bc165c..acc9277930 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Specializes.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Specializes.Literal.html @@ -1,197 +1,91 @@ - - + Uses of Class jakarta.enterprise.inject.Specializes.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Specializes.Literal

    +

    Uses of Class
    jakarta.enterprise.inject.Specializes.Literal

    +
    +
    Packages that use Specializes.Literal
    +
    +
    Package
    +
    Description
    + +
     
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Specializes.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Specializes.html index af3d53f2d0..f6de73ffdb 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Specializes.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Specializes.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.Specializes (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.Specializes (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Specializes

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.Specializes

    -
    No usage of jakarta.enterprise.inject.Specializes
    -
    +No usage of jakarta.enterprise.inject.Specializes
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Stereotype.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Stereotype.html index 32cf0ee171..0ad71ca439 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Stereotype.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Stereotype.html @@ -1,232 +1,115 @@ - - -Uses of Class jakarta.enterprise.inject.Stereotype (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.Stereotype (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Stereotype

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.Stereotype

    -
    -
    +
    -
  • -
    - - -

    Uses of Stereotype in jakarta.enterprise.inject

    - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.inject with annotations of type Stereotype 
    Modifier and TypeClassDescription
    interface Model +
  • +
    +

    Uses of Stereotype in jakarta.enterprise.inject

    +
    Classes in jakarta.enterprise.inject with annotations of type Stereotype
    +
    +
    Modifier and Type
    +
    Class
    +
    Description
    +
    @interface 
    + +
    The built-in stereotype intended for use with beans that define the model layer of an MVC web application architecture such as JSF.
    -
  • +
  • +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/TransientReference.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/TransientReference.Literal.html index c59cf71cdd..11bb349e77 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/TransientReference.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/TransientReference.Literal.html @@ -1,197 +1,91 @@ - - + Uses of Class jakarta.enterprise.inject.TransientReference.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.TransientReference.Literal

    +

    Uses of Class
    jakarta.enterprise.inject.TransientReference.Literal

    +
    +
    Packages that use TransientReference.Literal
    +
    +
    Package
    +
    Description
    + +
     
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/TransientReference.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/TransientReference.html index 6b9cf6b3c3..ceef9c92bb 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/TransientReference.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/TransientReference.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.TransientReference (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.TransientReference (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.TransientReference

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.TransientReference

    -
    No usage of jakarta.enterprise.inject.TransientReference
    -
    +No usage of jakarta.enterprise.inject.TransientReference
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Typed.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Typed.Literal.html index 67e9659ea7..d36f1bba1e 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Typed.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Typed.Literal.html @@ -1,212 +1,102 @@ - - + Uses of Class jakarta.enterprise.inject.Typed.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Typed.Literal

    +

    Uses of Class
    jakarta.enterprise.inject.Typed.Literal

    +
    +
    Packages that use Typed.Literal
    +
    +
    Package
    +
    Description
    + +
     
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Typed.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Typed.html index 7460f2e7e0..b80f3bfa9e 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Typed.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Typed.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.Typed (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.Typed (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Typed

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.Typed

    -
    No usage of jakarta.enterprise.inject.Typed
    -
    +No usage of jakarta.enterprise.inject.Typed
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/UnproxyableResolutionException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/UnproxyableResolutionException.html index e73c5cc5f2..5dae80f816 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/UnproxyableResolutionException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/UnproxyableResolutionException.html @@ -1,153 +1,64 @@ - - + Uses of Class jakarta.enterprise.inject.UnproxyableResolutionException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.UnproxyableResolutionException

    +

    Uses of Class
    jakarta.enterprise.inject.UnproxyableResolutionException

    -
    No usage of jakarta.enterprise.inject.UnproxyableResolutionException
    -
    +No usage of jakarta.enterprise.inject.UnproxyableResolutionException
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/UnsatisfiedResolutionException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/UnsatisfiedResolutionException.html index df0a29a411..aa4cbd9db6 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/UnsatisfiedResolutionException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/UnsatisfiedResolutionException.html @@ -1,153 +1,64 @@ - - + Uses of Class jakarta.enterprise.inject.UnsatisfiedResolutionException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.UnsatisfiedResolutionException

    +

    Uses of Class
    jakarta.enterprise.inject.UnsatisfiedResolutionException

    -
    No usage of jakarta.enterprise.inject.UnsatisfiedResolutionException
    -
    +No usage of jakarta.enterprise.inject.UnsatisfiedResolutionException
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Vetoed.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Vetoed.Literal.html index a3edfbb487..952a47d6d5 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Vetoed.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Vetoed.Literal.html @@ -1,197 +1,91 @@ - - + Uses of Class jakarta.enterprise.inject.Vetoed.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Vetoed.Literal

    +

    Uses of Class
    jakarta.enterprise.inject.Vetoed.Literal

    +
    +
    Packages that use Vetoed.Literal
    +
    +
    Package
    +
    Description
    + +
     
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Vetoed.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Vetoed.html index fa78af307a..79b2ce8931 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Vetoed.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/class-use/Vetoed.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.Vetoed (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.Vetoed (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.Vetoed

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.Vetoed

    -
    No usage of jakarta.enterprise.inject.Vetoed
    -
    +No usage of jakarta.enterprise.inject.Vetoed
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/InjectLiteral.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/InjectLiteral.html index 8b9b16d759..483a6351d2 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/InjectLiteral.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/InjectLiteral.html @@ -1,349 +1,190 @@ - - + InjectLiteral (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class InjectLiteral

    +
    Module jakarta.cdi
    + +

    Class InjectLiteral

    -
    - -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - - +
        • +
          +

          Field Details

          +
            +
          • +
            +

            INSTANCE

            +
            public static final InjectLiteral INSTANCE
            +
            Default Inject literal
            +
          - -
          -
            -
          • - - -

            Constructor Detail

            - - - -
              -
            • -

              InjectLiteral

              -
              public InjectLiteral()
            • -
            + +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              InjectLiteral

              +
              public InjectLiteral()
              +
          -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/NamedLiteral.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/NamedLiteral.html index 77eb17ca56..70a0b0c97f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/NamedLiteral.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/NamedLiteral.html @@ -1,361 +1,212 @@ - - + NamedLiteral (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class NamedLiteral

    +
    Module jakarta.cdi
    + +

    Class NamedLiteral

    -
    - -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - -
            -
          • -

            INSTANCE

            -
            public static final jakarta.inject.Named INSTANCE
            -
          • -
          +
        • +
          +

          Field Details

          +
            +
          • +
            +

            INSTANCE

            +
            public static final jakarta.inject.Named INSTANCE
            +
            Default Named literal
            +
          - -
          -
            -
          • - - -

            Method Detail

            - - - -
              -
            • -

              of

              -
              public static NamedLiteral of​(java.lang.String value)
            • -
            - - - -
              -
            • -

              value

              -
              public java.lang.String value()
              + +
            • +
              +

              Method Details

              +
                +
              • +
                +

                of

                +
                public static NamedLiteral of(String value)
                +
                Create a new NamedLiteral for the given name value
                +
                +
                Parameters:
                +
                value - the name
                +
                Returns:
                +
                new NamedLiteral
                +
                +
              • -
              +
            • +
              +

              value

              +
              public String value()
              +
        -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/QualifierLiteral.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/QualifierLiteral.html index 26c7b8b777..071381fb3a 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/QualifierLiteral.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/QualifierLiteral.html @@ -1,349 +1,190 @@ - - + QualifierLiteral (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class QualifierLiteral

    +
    Module jakarta.cdi
    + +

    Class QualifierLiteral

    -
    - -
    -
      -
    • -
      +
      java.lang.Object +
      jakarta.enterprise.util.AnnotationLiteral<jakarta.inject.Qualifier> +
      jakarta.enterprise.inject.literal.QualifierLiteral
      +
      +
      +
      +
      All Implemented Interfaces:
      -
      java.lang.annotation.Annotation
      +
      Annotation

      -
      public final class QualifierLiteral
      -extends AnnotationLiteral<jakarta.inject.Qualifier>
      -implements jakarta.inject.Qualifier
      +
      public final class QualifierLiteral +extends AnnotationLiteral<jakarta.inject.Qualifier> +implements jakarta.inject.Qualifier
      Supports inline instantiation of the Qualifier annotation.
      -
      -
      Since:
      +
      +
      Since:
      2.0
      -
      Author:
      +
      Author:
      Martin Kouba
      -
      See Also:
      -
      Serialized Form
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - - +
        • +
          +

          Field Details

          +
            +
          • +
            +

            INSTANCE

            +
            public static final QualifierLiteral INSTANCE
            +
            Default Qualifier literal
            +
          - -
          -
            -
          • - - -

            Constructor Detail

            - - - -
              -
            • -

              QualifierLiteral

              -
              public QualifierLiteral()
            • -
            + +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              QualifierLiteral

              +
              public QualifierLiteral()
              +
          -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/SingletonLiteral.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/SingletonLiteral.html index e98a1ce56e..ce3891f360 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/SingletonLiteral.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/SingletonLiteral.html @@ -1,349 +1,190 @@ - - + SingletonLiteral (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class SingletonLiteral

    +
    Module jakarta.cdi
    + +

    Class SingletonLiteral

    -
    - -
    -
      -
    • -
      +
      java.lang.Object +
      jakarta.enterprise.util.AnnotationLiteral<jakarta.inject.Singleton> +
      jakarta.enterprise.inject.literal.SingletonLiteral
      +
      +
      +
      +
      All Implemented Interfaces:
      -
      java.lang.annotation.Annotation
      +
      Annotation

      -
      public final class SingletonLiteral
      -extends AnnotationLiteral<jakarta.inject.Singleton>
      -implements jakarta.inject.Singleton
      +
      public final class SingletonLiteral +extends AnnotationLiteral<jakarta.inject.Singleton> +implements jakarta.inject.Singleton
      Supports inline instantiation of the Singleton annotation.
      -
      -
      Since:
      +
      +
      Since:
      2.0
      -
      Author:
      +
      Author:
      Martin Kouba
      -
      See Also:
      -
      Serialized Form
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - - +
        • +
          +

          Field Details

          +
            +
          • +
            +

            INSTANCE

            +
            public static final SingletonLiteral INSTANCE
            +
            Default Singleton literal
            +
          - -
          -
            -
          • - - -

            Constructor Detail

            - - - -
              -
            • -

              SingletonLiteral

              -
              public SingletonLiteral()
            • -
            + +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              SingletonLiteral

              +
              public SingletonLiteral()
              +
          -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/InjectLiteral.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/InjectLiteral.html index f487a5300a..1af3aed352 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/InjectLiteral.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/InjectLiteral.html @@ -1,197 +1,91 @@ - - + Uses of Class jakarta.enterprise.inject.literal.InjectLiteral (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.literal.InjectLiteral

    +

    Uses of Class
    jakarta.enterprise.inject.literal.InjectLiteral

    +
    +
    Packages that use InjectLiteral
    +
    +
    Package
    +
    Description
    + +
     
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/NamedLiteral.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/NamedLiteral.html index 38f2513afc..38461850af 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/NamedLiteral.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/NamedLiteral.html @@ -1,197 +1,91 @@ - - + Uses of Class jakarta.enterprise.inject.literal.NamedLiteral (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.literal.NamedLiteral

    +

    Uses of Class
    jakarta.enterprise.inject.literal.NamedLiteral

    +
    +
    Packages that use NamedLiteral
    +
    +
    Package
    +
    Description
    + +
     
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/QualifierLiteral.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/QualifierLiteral.html index 2b7826270d..26101f9eb6 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/QualifierLiteral.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/QualifierLiteral.html @@ -1,197 +1,91 @@ - - + Uses of Class jakarta.enterprise.inject.literal.QualifierLiteral (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.literal.QualifierLiteral

    +

    Uses of Class
    jakarta.enterprise.inject.literal.QualifierLiteral

    +
    +
    Packages that use QualifierLiteral
    +
    +
    Package
    +
    Description
    + +
     
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/SingletonLiteral.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/SingletonLiteral.html index 7d5ce84e39..2562b45da1 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/SingletonLiteral.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/class-use/SingletonLiteral.html @@ -1,197 +1,91 @@ - - + Uses of Class jakarta.enterprise.inject.literal.SingletonLiteral (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.literal.SingletonLiteral

    +

    Uses of Class
    jakarta.enterprise.inject.literal.SingletonLiteral

    +
    +
    Packages that use SingletonLiteral
    +
    +
    Package
    +
    Description
    + +
     
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/package-summary.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/package-summary.html index 595aa51539..9010a596cc 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/package-summary.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/package-summary.html @@ -1,192 +1,122 @@ - - + jakarta.enterprise.inject.literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    +
    -
    Module jakarta.cdi
    -

    Package jakarta.enterprise.inject.literal

    -
    -
    -
    +
    +
    -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/package-tree.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/package-tree.html index 53eb2369c4..571e769988 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/package-tree.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/package-tree.html @@ -1,175 +1,85 @@ - - + jakarta.enterprise.inject.literal Class Hierarchy (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Hierarchy For Package jakarta.enterprise.inject.literal

    -Package Hierarchies: +Package Hierarchies:
    -
    -
    +

    Class Hierarchy

      -
    • java.lang.Object +
    • java.lang.Object
        -
      • jakarta.enterprise.util.AnnotationLiteral<T> (implements java.lang.annotation.Annotation, java.io.Serializable) +
      • jakarta.enterprise.util.AnnotationLiteral<T> (implements java.lang.annotation.Annotation, java.io.Serializable)
          -
        • jakarta.enterprise.inject.literal.InjectLiteral (implements jakarta.inject.Inject)
        • -
        • jakarta.enterprise.inject.literal.NamedLiteral (implements jakarta.inject.Named)
        • -
        • jakarta.enterprise.inject.literal.QualifierLiteral (implements jakarta.inject.Qualifier)
        • -
        • jakarta.enterprise.inject.literal.SingletonLiteral (implements jakarta.inject.Singleton)
        • +
        • jakarta.enterprise.inject.literal.InjectLiteral (implements jakarta.inject.Inject)
        • +
        • jakarta.enterprise.inject.literal.NamedLiteral (implements jakarta.inject.Named)
        • +
        • jakarta.enterprise.inject.literal.QualifierLiteral (implements jakarta.inject.Qualifier)
        • +
        • jakarta.enterprise.inject.literal.SingletonLiteral (implements jakarta.inject.Singleton)
    -
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/package-use.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/package-use.html index 0fe6eec383..870b0b7dc0 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/package-use.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/literal/package-use.html @@ -1,208 +1,100 @@ - - + Uses of Package jakarta.enterprise.inject.literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Uses of Package
    jakarta.enterprise.inject.literal

    -
    -
    +
    + -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/package-summary.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/package-summary.html index 27026a63a4..2c373ce5de 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/package-summary.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/package-summary.html @@ -1,400 +1,254 @@ - - + jakarta.enterprise.inject (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    +
    -
    Module jakarta.cdi
    -

    Package jakarta.enterprise.inject

    -
    -
    -
      -
    • - - - - - - - - - - - - - - - - -
      Interface Summary 
      InterfaceDescription
      Instance<T> -
      - Allows the application to dynamically obtain instances of beans with a specified combination of required type and qualifiers.
      -
      Instance.Handle<T> -
      This interface represents a contextual reference handle.
      -
      +
      Module jakarta.cdi
      +

      Package jakarta.enterprise.inject

      +
    +
    +
    package jakarta.enterprise.inject
    +
    +
      +
    • +
    • -
    • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Class Summary 
      ClassDescription
      Alternative.Literal +
    • +
      +
      +
      +
      +
      Class
      +
      Description
      + +
      +
      + Specifies that a bean is an alternative.
      +
      + +
      Supports inline instantiation of the Alternative annotation.
      -
    • Any.Literal -
      Supports inline instantiation of the Any qualifier.
      -
      Default.Literal -
      Supports inline instantiation of the Default qualifier.
      -
      Specializes.Literal -
      Supports inline instantiation of the Specializes annotation.
      -
      TransientReference.Literal -
      Supports inline instantiation of the TransientReference annotation.
      -
      Typed.Literal -
      Supports inline instantiation of the Typed annotation.
      -
      Vetoed.Literal -
      Supports inline instantiation of the Vetoed annotation.
      -
      -
    • -
    • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Exception Summary 
      ExceptionDescription
      AmbiguousResolutionException + + +
      Indicates that multiple beans match a certain combination of required type and required qualifiers and are eligible for injection into a certain class.
      -
      CreationException -
      - Indicates that a checked exception was thrown during creation of a bean.
      -
      IllegalProductException -
      - Indicates that a producer method returned a null value or a producer field contained a null value, and the scope of the - producer method or field was not Dependent.
      -
      InjectionException -
      Indicates a problem relating to dependency injection.
      -
      ResolutionException -
      Indicates a problem relating to typesafe resolution.
      -
      UnproxyableResolutionException -
      - Indicates that a contextual reference for a bean with a normal scope and a certain bean type cannot be obtained because the - bean type cannot be proxied by the container.
      -
      UnsatisfiedResolutionException -
      - Indicates that no bean matches a certain combination of required type and required qualifiers and is eligible for injection - into a certain class.
      -
      -
    • -
    • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Annotation Types Summary 
      Annotation TypeDescription
      Alternative -
      - Specifies that a bean is an alternative.
      -
      Any + + +
      The built-in qualifier type.
      -
      Decorated + + +
      +
      Supports inline instantiation of the Any qualifier.
      +
      + +
      +
      + Indicates that a checked exception was thrown during creation of a bean.
      +
      + +
      A decorator may inject metadata about the bean it is decorating
      -
      Default + + +
      The default qualifier type.
      -
      Disposes + + +
      +
      Supports inline instantiation of the Default qualifier.
      +
      + +
      Identifies the disposed parameter of a disposer method.
      -
      Intercepted + + +
      +
      + Indicates that a producer method returned a null value or a producer field contained a null value, and the scope of the + producer method or field was not Dependent.
      +
      + +
      +
      Indicates a problem relating to dependency injection.
      +
      + +
      +
      + Allows the application to dynamically obtain instances of beans with a specified combination of required type and qualifiers.
      +
      + +
      +
      This interface represents a contextual reference handle.
      +
      + +
      An interceptor may inject metadata about the bean it is intercepting.
      -
      Model + + +
      The built-in stereotype intended for use with beans that define the model layer of an MVC web application architecture such as JSF.
      -
      Produces + + +
      Identifies a producer method or field.
      -
      Specializes + + +
      +
      Indicates a problem relating to typesafe resolution.
      +
      + +
      Indicates that a bean directly specializes another bean.
      -
      Stereotype + + +
      +
      Supports inline instantiation of the Specializes annotation.
      +
      + +
      Specifies that an annotation type is a stereotype.
      -
      TransientReference + + +
      - If a parameter annotated with @TransientReference resolves to a dependent scoped bean, then the bean will be + If a parameter annotated with @TransientReference resolves to a dependent scoped bean, then the bean will + be destroyed after the invocation completes.
      -
      Typed + + +
      +
      Supports inline instantiation of the TransientReference annotation.
      +
      + +
      Restricts the bean types of a bean.
      -
      Vetoed + + +
      +
      Supports inline instantiation of the Typed annotation.
      +
      + +
      +
      + Indicates that a contextual reference for a bean with a normal scope and a certain bean type cannot be obtained because the + bean type cannot be proxied by the container.
      +
      + +
      +
      + Indicates that no bean matches a certain combination of required type and required qualifiers and is eligible for injection + into a certain class.
      +
      + +
      Veto the processing of the class.
      -
      +
    + +
    +
    Supports inline instantiation of the Vetoed annotation.
    +
    +
    +
    +
    -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/package-tree.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/package-tree.html index 04a8ca7acf..e2dfc68555 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/package-tree.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/package-tree.html @@ -1,139 +1,93 @@ - - + jakarta.enterprise.inject Class Hierarchy (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Hierarchy For Package jakarta.enterprise.inject

    -Package Hierarchies: +Package Hierarchies:
    -
    -
    +

    Class Hierarchy

    -
    +

    Interface Hierarchy

      -
    • java.lang.AutoCloseable +
    • java.lang.AutoCloseable
    • -
    • java.lang.Iterable<T> +
    • java.lang.Iterable<T>
        -
      • jakarta.enterprise.inject.Instance<T> (also extends jakarta.inject.Provider<T>)
      • +
      • jakarta.enterprise.inject.Instance<T> (also extends jakarta.inject.Provider<T>)
    • jakarta.inject.Provider<T>
        -
      • jakarta.enterprise.inject.Instance<T> (also extends java.lang.Iterable<T>)
      • +
      • jakarta.enterprise.inject.Instance<T> (also extends java.lang.Iterable<T>)
    -
    +

    Annotation Type Hierarchy

      -
    • jakarta.enterprise.inject.Alternative (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.Any (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.Decorated (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.Default (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.Disposes (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.Intercepted (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.Model (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.Produces (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.Specializes (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.Stereotype (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.TransientReference (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.Typed (implements java.lang.annotation.Annotation)
    • -
    • jakarta.enterprise.inject.Vetoed (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.Alternative (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.Any (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.Decorated (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.Default (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.Disposes (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.Intercepted (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.Model (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.Produces (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.Specializes (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.Stereotype (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.TransientReference (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.Typed (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.inject.Vetoed (implements java.lang.annotation.Annotation)
    -
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/package-use.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/package-use.html index b067f9a529..341f6a58e8 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/package-use.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/package-use.html @@ -1,384 +1,223 @@ - - + Uses of Package jakarta.enterprise.inject (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Uses of Package
    jakarta.enterprise.inject

    -
    -
    +
    + -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.inject used by jakarta.enterprise.inject 
    ClassDescription
    Alternative.Literal +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Supports inline instantiation of the Alternative annotation.
    -
  • Any.Literal + + +
    Supports inline instantiation of the Any qualifier.
    -
    Default.Literal + + +
    Supports inline instantiation of the Default qualifier.
    -
    InjectionException + + +
    Indicates a problem relating to dependency injection.
    -
    Instance + + +
    Allows the application to dynamically obtain instances of beans with a specified combination of required type and qualifiers.
    -
    Instance.Handle + + +
    This interface represents a contextual reference handle.
    -
    ResolutionException + + +
    Indicates a problem relating to typesafe resolution.
    -
    Specializes.Literal + + +
    Supports inline instantiation of the Specializes annotation.
    -
    Stereotype + + +
    Specifies that an annotation type is a stereotype.
    -
    TransientReference.Literal + + +
    Supports inline instantiation of the TransientReference annotation.
    -
    Typed.Literal + + +
    Supports inline instantiation of the Typed annotation.
    -
    Vetoed.Literal + + +
    Supports inline instantiation of the Vetoed annotation.
    -
    +
  • +
    + -
  • - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.inject used by jakarta.enterprise.inject.build.compatible.spi 
    ClassDescription
    Instance +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Allows the application to dynamically obtain instances of beans with a specified combination of required type and qualifiers.
    -
  • +
  • + + -
  • - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.inject used by jakarta.enterprise.inject.se 
    ClassDescription
    Instance +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Allows the application to dynamically obtain instances of beans with a specified combination of required type and qualifiers.
    -
  • + + +
  • -
  • - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.inject used by jakarta.enterprise.inject.spi 
    ClassDescription
    Instance +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Allows the application to dynamically obtain instances of beans with a specified combination of required type and qualifiers.
    -
  • + + +
  • -
  • - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.inject used by jakarta.enterprise.inject.spi.configurator 
    ClassDescription
    Instance +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Allows the application to dynamically obtain instances of beans with a specified combination of required type and qualifiers.
    -
  • + + +
  • - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/SeContainer.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/SeContainer.html index 1326ad4544..3e4c45f719 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/SeContainer.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/SeContainer.html @@ -1,138 +1,88 @@ - - + SeContainer (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface SeContainer

    +
    Module jakarta.cdi
    + +

    Interface SeContainer

    -
    -
    -
      -
    • -
      +
      +
      All Superinterfaces:
      -
      java.lang.AutoCloseable, Instance<java.lang.Object>, java.lang.Iterable<java.lang.Object>, jakarta.inject.Provider<java.lang.Object>
      +
      AutoCloseable, Instance<Object>, Iterable<Object>, jakarta.inject.Provider<Object>

      -
      public interface SeContainer
      -extends Instance<java.lang.Object>, java.lang.AutoCloseable
      +
      public interface SeContainer +extends Instance<Object>, AutoCloseable
      Provides access to the current container in Java SE.

      @@ -140,255 +90,148 @@

      Interface SeContainer

      If no qualifier is passed to Instance.select(java.lang.annotation.Annotation...) method, the @Default qualifier is assumed.

      -

      CDI Lite implementations are not required to provide support for CDI in Java SE.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for CDI in Java SE. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Antoine Sabot-Durand, John D. Ament, Graeme Rocher
    - - -
    -
    -
    +
    +
    + +
    +

    Methods inherited from interface jakarta.enterprise.inject.Instance

    +destroy, getHandle, handles, handlesStream, isAmbiguous, isResolvable, isUnsatisfied, select, select, select, stream
    +
    +

    Methods inherited from interface java.lang.Iterable

    +forEach, iterator, spliterator
    +
    +

    Methods inherited from interface jakarta.inject.Provider

    +get
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            close

            -
            void close()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              close

              +
              void close()

              - Shuts down this SeContainer instance when it is no longer in scope. Implemented from AutoCloseable, + Shuts down this SeContainer instance when it is no longer in scope. Implemented from AutoCloseable,

              -
              -
              Specified by:
              -
              close in interface java.lang.AutoCloseable
              -
              Throws:
              -
              java.lang.IllegalStateException - if the container is already shutdown
              +
              +
              Specified by:
              +
              close in interface AutoCloseable
              +
              Throws:
              +
              IllegalStateException - if the container is already shutdown
              +
            • -
            - - - -
              -
            • -

              isRunning

              -
              boolean isRunning()
              +
            • +
              +

              isRunning

              +
              boolean isRunning()
              Check if the container is running or was shut down
              -
              -
              Returns:
              +
              +
              Returns:
              true if called before container shutdown
              +
            • -
            - - - -
              -
            • -

              getBeanManager

              -
              BeanManager getBeanManager()
              +
            • +
              +

              getBeanManager

              +
              BeanManager getBeanManager()
              Get the CDI BeanManager for this container
              -
              -
              Returns:
              +
              +
              Returns:
              the BeanManager
              -
              Throws:
              -
              java.lang.IllegalStateException - if called when the container is already shutdown
              +
              Throws:
              +
              IllegalStateException - if called when the container is already shutdown
              +
            • -
            - - - - +
      -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/SeContainerInitializer.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/SeContainerInitializer.html index 6aa89345a3..943bfc70b0 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/SeContainerInitializer.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/SeContainerInitializer.html @@ -1,164 +1,109 @@ - - + SeContainerInitializer (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Class SeContainerInitializer

    +
    Module jakarta.cdi
    + +

    Class SeContainerInitializer

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • jakarta.enterprise.inject.se.SeContainerInitializer
      • -
      -
    • -
    -
    -
      -
    • +
      java.lang.Object +
      jakarta.enterprise.inject.se.SeContainerInitializer
      +
      +

      -
      public abstract class SeContainerInitializer
      -extends java.lang.Object
      +
      public abstract class SeContainerInitializer +extends Object
      A CDI container initializer for Java SE. An instance may be obtained by calling newInstance() static method.

      Typical usage looks like this:

      - +
        SeContainer container = SeContainerInitializer.newInstance().initialize();
        container.select(Foo.class).get();
        container.close();
        
      - +

      Since SeContainer interface implements AutoCloseable:

      - +
        try (SeContainer container = SeContainerInitializer.newInstance().initialize()) {
            container.select(Foo.class).get();
        }
        
      - +

      By default, the discovery is enabled so that all beans from all discovered bean archives are considered. However, it's possible to define a "synthetic" bean archive, or the set of bean classes and enablement respectively: @@ -167,11 +112,11 @@

      Class SeContainerInitiali
        SeContainer container = SeContainerInitializer.newInstance().addBeanClasses(Foo.class, Bar.class).selectAlternatives(Bar.class).initialize());
        
      - +

      Moreover, it's also possible to disable the discovery completely so that only the "synthetic" bean archive is considered:

      - +
        SeContainer container = SeContainerInitializer.newInstance().disableDiscovery().addBeanClasses(Foo.class, Bar.class).initialize());
        
      @@ -180,7 +125,7 @@

      Class SeContainerInitiali In the same manner, it is possible to explicitly declare interceptors, decorators, extensions and implementation specific options using the builder.

      - +
        SeContainerInitializer containerInitializer = SeContainerInitializer.newInstance()
                .disableDiscovery()
      @@ -190,612 +135,453 @@ 

      Class SeContainerInitiali SeContainer container = container.initialize();

      -

      CDI Lite implementations are not required to provide support for CDI in Java SE.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for CDI in Java SE. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Antoine Sabot-Durand, Martin Kouba, John D. Ament
    - - -
    -
    -
    +
    +
    + +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            SeContainerInitializer

            -
            public SeContainerInitializer()
            -
          • -
          +
        • +
          +

          Constructor Details

          +
            +
          • +
            +

            SeContainerInitializer

            +
            public SeContainerInitializer()
            +
          +
        • -
          -
            -
          • - - -

            Method Detail

            - - - -
              -
            • -

              newInstance

              -
              public static SeContainerInitializer newInstance()
              +
            • +
              +

              Method Details

              +
                +
              • +
                +

                newInstance

                +
                public static SeContainerInitializer newInstance()
                Returns an instance of SeContainerInitializer Each call returns a new instance
                -
                -
                Returns:
                +
                +
                Returns:
                a new SeContainerInitializer instance.
                -
                Throws:
                -
                java.lang.IllegalStateException - if called in a Java EE container
                +
                Throws:
                +
                IllegalStateException - if called in a Java EE container
                +
              • -
              - - - -
                -
              • -

                addBeanClasses

                -
                public abstract SeContainerInitializer addBeanClasses​(java.lang.Class<?>... classes)
                +
              • +
                +

                addBeanClasses

                +
                public abstract SeContainerInitializer addBeanClasses(Class<?>... classes)
                Add provided bean classes to the synthetic bean archive.
                -
                -
                Parameters:
                +
                +
                Parameters:
                classes - classes to add to the synthetic bean archive
                -
                Returns:
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                addPackages

                -
                public abstract SeContainerInitializer addPackages​(java.lang.Class<?>... packageClasses)
                -
                All classes from the packages of the specified classes will be added to the set of bean classes for the synthetic bean archive. +
              • +
                +

                addPackages

                +
                public abstract SeContainerInitializer addPackages(Class<?>... packageClasses)
                +
                All classes from the packages of the specified classes will be added to the set of bean classes for the synthetic bean + archive.

                - Note that the scanning possibilities are limited. Therefore, only directories and jar files from the filesystem are supported. + Note that the scanning possibilities are limited. Therefore, only directories and jar files from the filesystem are + supported.

                Scanning may also have negative impact on SE performance.

                -
                -
                Parameters:
                +
                +
                Parameters:
                packageClasses - classes whose packages will be added to the synthetic bean archive
                -
                Returns:
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                addPackages

                -
                public abstract SeContainerInitializer addPackages​(boolean scanRecursively,
                -                                                   java.lang.Class<?>... packageClasses)
                -
                Packages of the specified classes will be scanned and found classes will be added to the set of bean classes for the synthetic bean archive.* +
              • +
                +

                addPackages

                +
                public abstract SeContainerInitializer addPackages(boolean scanRecursively, + Class<?>... packageClasses)
                +
                Packages of the specified classes will be scanned and found classes will be added to the set of bean classes for the + synthetic bean archive.*

                - Note that the scanning possibilities are limited. Therefore, only directories and jar files from the filesystem are supported. + Note that the scanning possibilities are limited. Therefore, only directories and jar files from the filesystem are + supported.

                Scanning may also have negative impact on SE performance.

                -
                -
                Parameters:
                +
                +
                Parameters:
                scanRecursively - should subpackages be scanned or not
                packageClasses - classes whose packages will be scanned
                -
                Returns:
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                addPackages

                -
                public abstract SeContainerInitializer addPackages​(java.lang.Package... packages)
                +
              • +
                +

                addPackages

                +
                public abstract SeContainerInitializer addPackages(Package... packages)
                All classes from the specified packages will be added to the set of bean classes for the synthetic bean archive.

                - Note that the scanning possibilities are limited. Therefore, only directories and jar files from the filesystem are supported. + Note that the scanning possibilities are limited. Therefore, only directories and jar files from the filesystem are + supported.

                Scanning may also have negative impact on SE performance.

                -
                -
                Parameters:
                +
                +
                Parameters:
                packages - packages that will be added to the synthetic bean archive
                -
                Returns:
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                addPackages

                -
                public abstract SeContainerInitializer addPackages​(boolean scanRecursively,
                -                                                   java.lang.Package... packages)
                +
              • +
                +

                addPackages

                +
                public abstract SeContainerInitializer addPackages(boolean scanRecursively, + Package... packages)
                All classes from the specified packages will be added to the set of bean classes for the synthetic bean archive.

                - Note that the scanning possibilities are limited. Therefore, only directories and jar files from the filesystem are supported. + Note that the scanning possibilities are limited. Therefore, only directories and jar files from the filesystem are + supported.

                Scanning may also have negative impact on SE performance.

                -
                -
                Parameters:
                +
                +
                Parameters:
                scanRecursively - should subpackages be scanned or not
                packages - packages that will be added to the synthetic bean archive
                -
                Returns:
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                addExtensions

                -
                public abstract SeContainerInitializer addExtensions​(Extension... extensions)
                +
              • +
                +

                addExtensions

                +
                public abstract SeContainerInitializer addExtensions(Extension... extensions)
                Add extensions to the set of extensions.
                -
                -
                Parameters:
                +
                +
                Parameters:
                extensions - extensions to use in the container
                -
                Returns:
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                addExtensions

                -
                public abstract SeContainerInitializer addExtensions​(java.lang.Class<? extends Extension>... extensions)
                +
              • +
                +

                addExtensions

                +
                public abstract SeContainerInitializer addExtensions(Class<? extends Extension>... extensions)
                Add extensions to the set of extensions.
                -
                -
                Parameters:
                +
                +
                Parameters:
                extensions - extensions class to use in the container
                -
                Returns:
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                enableInterceptors

                -
                public abstract SeContainerInitializer enableInterceptors​(java.lang.Class<?>... interceptorClasses)
                +
              • +
                +

                enableInterceptors

                +
                public abstract SeContainerInitializer enableInterceptors(Class<?>... interceptorClasses)
                Add interceptor classes to the list of enabled interceptors for the synthetic bean archive.

                This method does not add any class to the set of bean classes of the synthetic bean archive.

                -
                -
                Parameters:
                +
                +
                Parameters:
                interceptorClasses - classes of the interceptors to enable.
                -
                Returns:
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                enableDecorators

                -
                public abstract SeContainerInitializer enableDecorators​(java.lang.Class<?>... decoratorClasses)
                +
              • +
                +

                enableDecorators

                +
                public abstract SeContainerInitializer enableDecorators(Class<?>... decoratorClasses)
                Add decorator classes to the list of enabled decorators for the synthetic bean archive.

                This method does not add any class to the set of bean classes of the synthetic bean archive.

                -
                -
                Parameters:
                +
                +
                Parameters:
                decoratorClasses - classes of the decorators to enable.
                -
                Returns:
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                selectAlternatives

                -
                public abstract SeContainerInitializer selectAlternatives​(java.lang.Class<?>... alternativeClasses)
                +
              • +
                +

                selectAlternatives

                +
                public abstract SeContainerInitializer selectAlternatives(Class<?>... alternativeClasses)
                Add alternatives classes to the list of selected alternatives for the synthetic bean archive.

                This method does not add any class to the set of bean classes of the synthetic bean archive.

                -
                -
                Parameters:
                +
                +
                Parameters:
                alternativeClasses - classes of the alternatives to select
                -
                Returns:
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                selectAlternativeStereotypes

                -
                public abstract SeContainerInitializer selectAlternativeStereotypes​(java.lang.Class<? extends java.lang.annotation.Annotation>... alternativeStereotypeClasses)
                +
              • +
                +

                selectAlternativeStereotypes

                +
                public abstract SeContainerInitializer selectAlternativeStereotypes(Class<? extends Annotation>... alternativeStereotypeClasses)
                Add alternative stereotype classes to the list of selected alternative stereotypes for the synthetic bean archive.

                This method does not add any class to the set of bean classes of the synthetic bean archive.

                -
                -
                Parameters:
                +
                +
                Parameters:
                alternativeStereotypeClasses - alternatives stereotypes to select
                -
                Returns:
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                addProperty

                -
                public abstract SeContainerInitializer addProperty​(java.lang.String key,
                -                                                   java.lang.Object value)
                +
              • +
                +

                addProperty

                +
                public abstract SeContainerInitializer addProperty(String key, + Object value)
                Add a configuration property to the container
                -
                -
                Parameters:
                +
                +
                Parameters:
                key - property name
                value - property value
                -
                Returns:
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                setProperties

                -
                public abstract SeContainerInitializer setProperties​(java.util.Map<java.lang.String,​java.lang.Object> properties)
                +
              • +
                +

                setProperties

                +
                public abstract SeContainerInitializer setProperties(Map<String,Object> properties)
                Set all the configuration properties. Erase previous properties set
                -
                -
                Parameters:
                +
                +
                Parameters:
                properties - a map containing properties to add
                -
                Returns:
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                disableDiscovery

                -
                public abstract SeContainerInitializer disableDiscovery()
                -
                By default, the discovery is enabled. However, it's possible to disable the discovery completely so that only the "synthetic" bean archive is considered.
                -
                -
                Returns:
                +
              • +
                +

                disableDiscovery

                +
                public abstract SeContainerInitializer disableDiscovery()
                +
                By default, the discovery is enabled. However, it's possible to disable the discovery completely so that only the + "synthetic" bean archive is considered.
                +
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                setClassLoader

                -
                public abstract SeContainerInitializer setClassLoader​(java.lang.ClassLoader classLoader)
                -
                Set a ClassLoader. The given ClassLoader will be scanned automatically for bean archives if scanning is enabled.
                -
                -
                Parameters:
                +
              • +
                +

                setClassLoader

                +
                public abstract SeContainerInitializer setClassLoader(ClassLoader classLoader)
                +
                Set a ClassLoader. The given ClassLoader will be scanned automatically for bean archives if scanning is + enabled.
                +
                +
                Parameters:
                classLoader - the class loader to use
                -
                Returns:
                +
                Returns:
                self
                +
              • -
              - - - -
                -
              • -

                initialize

                -
                public abstract SeContainer initialize()
                +
              • +
                +

                initialize

                +
                public abstract SeContainer initialize()

                Initializes a CDI SeContainerInitializer.

                Cannot be called within an application server.

                -
                -
                Returns:
                +
                +
                Returns:
                the SeContainer instance associated with the container.
                -
                Throws:
                -
                java.lang.UnsupportedOperationException - if called within an application server
                +
                Throws:
                +
                UnsupportedOperationException - if called within an application server
                -
              • -
              +
        -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/class-use/SeContainer.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/class-use/SeContainer.html index 60f87c523a..6399ccffc5 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/class-use/SeContainer.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/class-use/SeContainer.html @@ -1,200 +1,92 @@ - - + Uses of Interface jakarta.enterprise.inject.se.SeContainer (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.se.SeContainer

    +

    Uses of Interface
    jakarta.enterprise.inject.se.SeContainer

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/class-use/SeContainerInitializer.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/class-use/SeContainerInitializer.html index 23d10c6d8d..3116379b18 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/class-use/SeContainerInitializer.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/class-use/SeContainerInitializer.html @@ -1,308 +1,172 @@ - - + Uses of Class jakarta.enterprise.inject.se.SeContainerInitializer (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.se.SeContainerInitializer

    +

    Uses of Class
    jakarta.enterprise.inject.se.SeContainerInitializer

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/package-summary.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/package-summary.html index 5de0b37a13..99b3d90c30 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/package-summary.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/package-summary.html @@ -1,191 +1,120 @@ - - + jakarta.enterprise.inject.se (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    +
    -
    Module jakarta.cdi
    -

    Package jakarta.enterprise.inject.se

    +
    Module jakarta.cdi
    +

    Package jakarta.enterprise.inject.se

    +
    +
    +
    package jakarta.enterprise.inject.se
    +
    +
    + + - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/package-tree.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/package-tree.html index a5780b70be..283aa4f0ea 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/package-tree.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/package-tree.html @@ -1,196 +1,106 @@ - - + jakarta.enterprise.inject.se Class Hierarchy (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Hierarchy For Package jakarta.enterprise.inject.se

    -Package Hierarchies: +Package Hierarchies:
    -
    -
    +

    Class Hierarchy

    -
    +

    Interface Hierarchy

      -
    • java.lang.AutoCloseable +
    • java.lang.AutoCloseable
        -
      • jakarta.enterprise.inject.se.SeContainer (also extends jakarta.enterprise.inject.Instance<T>)
      • +
      • jakarta.enterprise.inject.se.SeContainer (also extends jakarta.enterprise.inject.Instance<T>)
    • -
    • java.lang.Iterable<T> +
    • java.lang.Iterable<T>
        -
      • jakarta.enterprise.inject.Instance<T> (also extends jakarta.inject.Provider<T>) +
      • jakarta.enterprise.inject.Instance<T> (also extends jakarta.inject.Provider<T>)
    • jakarta.inject.Provider<T>
        -
      • jakarta.enterprise.inject.Instance<T> (also extends java.lang.Iterable<T>) +
      • jakarta.enterprise.inject.Instance<T> (also extends java.lang.Iterable<T>)
    -
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/package-use.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/package-use.html index 8752859855..55d45c6fcc 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/package-use.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/se/package-use.html @@ -1,196 +1,92 @@ - - + Uses of Package jakarta.enterprise.inject.se (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Uses of Package
    jakarta.enterprise.inject.se

    -
    -
    +
    + -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AfterBeanDiscovery.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AfterBeanDiscovery.html index af82018666..5f6a33bf1d 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AfterBeanDiscovery.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AfterBeanDiscovery.html @@ -1,133 +1,83 @@ - - + AfterBeanDiscovery (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AfterBeanDiscovery

    +
    Module jakarta.cdi
    + +

    Interface AfterBeanDiscovery

    -
    -
    -
      -
    • +

      -
      public interface AfterBeanDiscovery
      +
      public interface AfterBeanDiscovery

      The event type of the second event fired by the container when it has fully completed the bean discovery process, validated that there are no definition errors relating to the discovered beans, and registered Bean @@ -140,7 +90,7 @@

      Interface AfterBeanDiscov observer methods and custom context objects with the container.

      - +
            void afterBeanDiscovery(@Observes AfterBeanDiscovery event, BeanManager manager) { ... }
        
      @@ -149,355 +99,250 @@

      Interface AfterBeanDiscov error by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Author:
    David Allen, Antoine Sabot-Durand
    - - -
    -
    -
    +
    + + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            addDefinitionError

            -
            void addDefinitionError​(java.lang.Throwable t)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              addDefinitionError

              +
              void addDefinitionError(Throwable t)
              Registers a definition error with the container, causing the container to abort deployment after all observers have been notified.
              -
              -
              Parameters:
              -
              t - The definition error as a Throwable
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              +
              Parameters:
              +
              t - The definition error as a Throwable
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              addBean

              -
              void addBean​(Bean<?> bean)
              +
            • +
              +

              addBean

              +
              void addBean(Bean<?> bean)
              Fires an event of type ProcessBean containing the given Bean and then registers the Bean with the container, thereby making a bean which is not an interceptor nor a decorator available for injection into other beans. The given Bean may implement Interceptor or Decorator.
              -
              -
              Parameters:
              +
              +
              Parameters:
              bean - The bean to add to the deployment
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              addBean

              -
              <T> BeanConfigurator<T> addBean()
              +
            • +
              +

              addBean

              +
              <T> BeanConfigurator<T> addBean()
              Obtains a new BeanConfigurator to configure a new Bean and add it at the end of the observer invocation. It will then fire an event of type ProcessBean containing the built Bean from this configuration and then register it with the container, thereby making it available for injection into other beans. Each call returns a new BeanConfigurator.
              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - type of bean
              -
              Returns:
              +
              Returns:
              a non reusable BeanConfigurator to configure the bean to add
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              2.0
              +
            • -
            - - - -
              -
            • -

              addObserverMethod

              -
              void addObserverMethod​(ObserverMethod<?> observerMethod)
              +
            • +
              +

              addObserverMethod

              +
              void addObserverMethod(ObserverMethod<?> observerMethod)
              Fires an event of type ProcessObserverMethod containing the given ObserverMethod and then registers the ObserverMethod with the container, thereby making it available for event notifications.
              -
              -
              Parameters:
              +
              +
              Parameters:
              observerMethod - The custom observer method to add to the deployment
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - - - - - -
              -
            • -

              addContext

              -
              void addContext​(Context context)
              +
            • +
              +

              addContext

              +
              void addContext(Context context)
              Registers a custom Context object with the container.
              -
              -
              Parameters:
              +
              +
              Parameters:
              context - The custom context to add to the deployment
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              getAnnotatedType

              -
              <T> AnnotatedType<T> getAnnotatedType​(java.lang.Class<T> type,
              -                                      java.lang.String id)
              +
            • +
              +

              getAnnotatedType

              +
              <T> AnnotatedType<T> getAnnotatedType(Class<T> type, + String id)
              Obtain the AnnotatedType that may be used to read the annotations of the given class or interface as defined during container initialization.
              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - the class or interface
              -
              Parameters:
              -
              type - the Class object
              +
              Parameters:
              +
              type - the Class object
              id - the type identifier. If null, the fully qualifier class name of type is used
              -
              Returns:
              +
              Returns:
              the AnnotatedType
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              1.1
              +
            • -
            - - - -
              -
            • -

              getAnnotatedTypes

              -
              <T> java.lang.Iterable<AnnotatedType<T>> getAnnotatedTypes​(java.lang.Class<T> type)
              +
            • +
              +

              getAnnotatedTypes

              +
              <T> Iterable<AnnotatedType<T>> getAnnotatedTypes(Class<T> type)
              Obtain the AnnotatedTypes that may be used to read the annotations of the given class or interface as defined during container initialization.
              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - the class or interface
              -
              Parameters:
              -
              type - the Class object
              -
              Returns:
              +
              Parameters:
              +
              type - the Class object
              +
              Returns:
              the AnnotatedTypes
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              1.1
              -
            • -
            +
      -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AfterDeploymentValidation.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AfterDeploymentValidation.html index ada4ee9acb..cab2dc4703 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AfterDeploymentValidation.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AfterDeploymentValidation.html @@ -1,133 +1,83 @@ - - + AfterDeploymentValidation (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AfterDeploymentValidation

    +
    Module jakarta.cdi
    + +

    Interface AfterDeploymentValidation

    -
    -
    -
      -
    • +

      -
      public interface AfterDeploymentValidation
      +
      public interface AfterDeploymentValidation

      The event type of the third event fired by the container after it has validated that there are no deployment problems and before creating contexts or processing requests. If any observer method of the AfterDeploymentValidation event throws @@ -137,145 +87,73 @@

      Interface AfterDep No requests will be processed by the deployment until all observers of this event return.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Author:
    David Allen
    - - -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethodDescription
          voidaddDeploymentProblem​(java.lang.Throwable t) +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          +
          void
          + +
          Registers a deployment problem with the container, causing the container to abort deployment after all observers have been notified.
          -
        • -
        • -
        +
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            addDeploymentProblem

            -
            void addDeploymentProblem​(java.lang.Throwable t)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              addDeploymentProblem

              +
              void addDeploymentProblem(Throwable t)
              Registers a deployment problem with the container, causing the container to abort deployment after all observers have been notified.
              -
              -
              Parameters:
              -
              t - The deployment problem as a Throwable
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              +
              Parameters:
              +
              t - The deployment problem as a Throwable
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AfterTypeDiscovery.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AfterTypeDiscovery.html index 385f116036..5705c42b00 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AfterTypeDiscovery.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AfterTypeDiscovery.html @@ -1,133 +1,83 @@ - - + AfterTypeDiscovery (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AfterTypeDiscovery

    +
    Module jakarta.cdi
    + +

    Interface AfterTypeDiscovery

    -
    -
    -
      -
    • +

      -
      public interface AfterTypeDiscovery
      +
      public interface AfterTypeDiscovery

      This event type is thrown by the container after type discovery is complete. If any observer method of the AfterTypeDiscovery event throws an exception, the exception is treated as a definition error by the container. @@ -139,180 +89,149 @@

      Interface AfterTypeDiscov Changes made to these lists after the invocation of the last observer method of the AfterTypeDiscovery are ignored.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    1.1
    -
    Author:
    +
    Author:
    Pete Muir, Antoine Sabot-Durand
    - - -
    -
    -
    +
    + + +
     
    + + +
     
    + + +
     
    + + + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getAlternatives

            -
            java.util.List<java.lang.Class<?>> getAlternatives()
            -
            -
            Returns:
            -
            the list of enabled alternatives for the application, sorted by priority in ascending order. Alternatives enabled for a bean archive are not included.
            -
            Throws:
            -
            java.lang.IllegalStateException - if called outside of the observer method invocation
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getAlternatives

              +
              List<Class<?>> getAlternatives()
              +
              +
              Returns:
              +
              the list of enabled alternatives for the application, sorted by priority in ascending order. Alternatives enabled + for a bean archive are not included.
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              getInterceptors

              -
              java.util.List<java.lang.Class<?>> getInterceptors()
              -
              -
              Returns:
              -
              the list of enabled interceptors for the application, sorted by priority in ascending order. Interceptors enabled for a bean archive are not included.
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
            • +
              +

              getInterceptors

              +
              List<Class<?>> getInterceptors()
              +
              +
              Returns:
              +
              the list of enabled interceptors for the application, sorted by priority in ascending order. Interceptors enabled + for a bean archive are not included.
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              getDecorators

              -
              java.util.List<java.lang.Class<?>> getDecorators()
              -
              -
              Returns:
              -
              the list of enabled decorators for the application, sorted by priority in ascending order. Decorators enabled for a bean archive are not included.
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
            • +
              +

              getDecorators

              +
              List<Class<?>> getDecorators()
              +
              +
              Returns:
              +
              the list of enabled decorators for the application, sorted by priority in ascending order. Decorators enabled for + a bean archive are not included.
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              addAnnotatedType

              -
              void addAnnotatedType​(AnnotatedType<?> type,
              -                      java.lang.String id)
              +
            • +
              +

              addAnnotatedType

              +
              void addAnnotatedType(AnnotatedType<?> type, + String id)

              - Adds a given AnnotatedType to the set of types which will be scanned during bean - discovery. + Adds a given AnnotatedType to the set of types which will be scanned during bean discovery.

              - Thanks to the id parameter, this method allows multiple annotated types, based on the same underlying type, to be defined. AnnotatedTypes - discovered by the container use the fully qualified class name of AnnotatedType.getJavaClass() to identify the - type. + Thanks to the id parameter, this method allows multiple annotated types, based on the same underlying type, to be + defined. AnnotatedTypes discovered by the container use the fully qualified class name of + AnnotatedType.getJavaClass() to identify the type.

              AfterBeanDiscovery.getAnnotatedType(Class, String) and AfterBeanDiscovery.getAnnotatedTypes(Class) allows annotated types to be obtained by identifier.

              -
              -
              Parameters:
              +
              +
              Parameters:
              type - The AnnotatedType to add for later scanning
              id - the identifier used to distinguish this AnnotatedType from an other one based on the same underlying type
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              addAnnotatedType

              -
              <T> AnnotatedTypeConfigurator<T> addAnnotatedType​(java.lang.Class<T> type,
              -                                                  java.lang.String id)
              +
            • +
              +

              addAnnotatedType

              +
              <T> AnnotatedTypeConfigurator<T> addAnnotatedType(Class<T> type, + String id)

              - Obtains a new AnnotatedTypeConfigurator to configure a new AnnotatedType and - add it to the set of types which will be scanned during bean discovery at the end of the observer invocation. - Calling this method multiple times will return a new AnnotatedTypeConfigurator. + Obtains a new AnnotatedTypeConfigurator to configure a new AnnotatedType and add it to the set of types + which will be scanned during bean discovery at the end of the observer invocation. Calling this method multiple times + will return a new AnnotatedTypeConfigurator.

              - Thanks to the id parameter, this method allows multiple annotated types, based on the same underlying type, to be defined. AnnotatedTypes - discovered by the container use the fully qualified class name of AnnotatedType.getJavaClass() to identify the - type. + Thanks to the id parameter, this method allows multiple annotated types, based on the same underlying type, to be + defined. AnnotatedTypes discovered by the container use the fully qualified class name of + AnnotatedType.getJavaClass() to identify the type.

              @@ -321,93 +240,33 @@

              addAnnotatedType

              Each call returns a new AnnotatedTypeConfigurator.
              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - annotatated instance type
              -
              Parameters:
              +
              Parameters:
              type - class used to initialized the type and annotations on the AnnotatedTypeConfigurator
              id - the identifier used to distinguish this AnnotatedType from an other one based on the same underlying type
              -
              Returns:
              +
              Returns:
              a non reusable AnnotatedTypeConfigurator to configure the new AnnotatedType
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              2.0
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Annotated.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Annotated.html index 36dcaea96a..ddd1a5c1a1 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Annotated.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Annotated.html @@ -1,419 +1,275 @@ - - + Annotated (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Annotated

    +
    Module jakarta.cdi
    + +

    Interface Annotated

    -
    -
    -
    +
    +
    Author:
    Gavin King, Pete Muir, Clint Popetz, John D. Ament
    -
    See Also:
    -
    AnnotatedElement
    -
    - +
    See Also:
    +
    + -
    -
    -
      -
    • + + + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethodDescription
          <T extends java.lang.annotation.Annotation>
          T
          getAnnotation​(java.lang.Class<T> annotationType) +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          +
          <T extends Annotation>
          T
          +
          getAnnotation(Class<T> annotationType)
          +
          Get program element annotation of a certain annotation type.
          -
        • java.util.Set<java.lang.annotation.Annotation>getAnnotations() + + + +
          Get all annotations of the program element.
          -
          <T extends java.lang.annotation.Annotation>
          java.util.Set<T>
          getAnnotations​(java.lang.Class<T> annotationType) + +
          <T extends Annotation>
          Set<T>
          +
          getAnnotations(Class<T> annotationType)
          +
          Get program element annotations of a certain annotation type.
          -
          java.lang.reflect.TypegetBaseType() + + + +
          Get the type of the annotated program element.
          -
          java.util.Set<java.lang.reflect.Type>getTypeClosure() + + + +
          Get all types to which the base type should be considered assignable.
          -
          booleanisAnnotationPresent​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) + +
          boolean
          +
          isAnnotationPresent(Class<? extends Annotation> annotationType)
          +
          Determine if the program element has an annotation of a certain annotation type.
          -
          -
        • -
        +
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getBaseType

            -
            java.lang.reflect.Type getBaseType()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getBaseType

              +
              Type getBaseType()

              Get the type of the annotated program element.

              -
              -
              Returns:
              +
              +
              Returns:
              the type of the annotated program element
              +
            • -
            - - - -
              -
            • -

              getTypeClosure

              -
              java.util.Set<java.lang.reflect.Type> getTypeClosure()
              +
            • +
              +

              getTypeClosure

              +
              Set<Type> getTypeClosure()

              Get all types to which the base type should be considered assignable.

              -
              -
              Returns:
              +
              +
              Returns:
              a set of all types to which the base type should be considered assignable
              +
            • -
            - - - -
              -
            • -

              getAnnotation

              -
              <T extends java.lang.annotation.Annotation> T getAnnotation​(java.lang.Class<T> annotationType)
              +
            • +
              +

              getAnnotation

              +
              <T extends Annotation> T getAnnotation(Class<T> annotationType)

              Get program element annotation of a certain annotation type. - The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotation(Class), + The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotation(Class), where repeatable annotations are not supported. -

              -
              -
              Type Parameters:
              +

    +
    +
    Type Parameters:
    T - the type of the annotation
    -
    Parameters:
    +
    Parameters:
    annotationType - the class of the annotation type
    -
    Returns:
    +
    Returns:
    the first program element annotation of the given annotation type, or a null value
    + - - - - -
      -
    • -

      getAnnotations

      -
      <T extends java.lang.annotation.Annotation> java.util.Set<T> getAnnotations​(java.lang.Class<T> annotationType)
      +
    • +
      +

      getAnnotations

      +
      <T extends Annotation> Set<T> getAnnotations(Class<T> annotationType)

      Get program element annotations of a certain annotation type.

      This method returns back all annotations, including repeatable annotations of this type. - The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotationsByType(Class), + The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotationsByType(Class), where repeatable annotations are supported.

      -
      -
      Type Parameters:
      +
      +
      Type Parameters:
      T - the type of the annotation
      -
      Parameters:
      +
      Parameters:
      annotationType - the class of the annotation type
      -
      Returns:
      +
      Returns:
      the program element annotations of the given annotation type, or an empty collection
      +
    • -
    - - - -
      -
    • -

      getAnnotations

      -
      java.util.Set<java.lang.annotation.Annotation> getAnnotations()
      +
    • +
      +

      getAnnotations

      +
      Set<Annotation> getAnnotations()

      Get all annotations of the program element.

      -
      -
      Returns:
      +
      +
      Returns:
      all annotations of the program element, or an empty set if no annotations are present
      +
    • -
    - - - -
      -
    • -

      isAnnotationPresent

      -
      boolean isAnnotationPresent​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
      +
    • +
      +

      isAnnotationPresent

      +
      boolean isAnnotationPresent(Class<? extends Annotation> annotationType)

      Determine if the program element has an annotation of a certain annotation type. - The behavior of this method is similar to AnnotatedElement.isAnnotationPresent(Class) for the underlying + The behavior of this method is similar to AnnotatedElement.isAnnotationPresent(Class) for the underlying program element.

      -
      -
      Parameters:
      +
      +
      Parameters:
      annotationType - the annotation type to check for
      -
      Returns:
      -
      true if the program element has an annotation of the given annotation type, or false otherwise
      +
      Returns:
      +
      true if the program element has an annotation of the given annotation type, or false + otherwise
      -
    • -
    + - - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedCallable.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedCallable.html index c01bdbc76b..e1e3a7e9f5 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedCallable.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedCallable.html @@ -1,300 +1,168 @@ - - + AnnotatedCallable (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AnnotatedCallable<X>

    +
    Module jakarta.cdi
    + +

    Interface AnnotatedCallable<X>

    -
    -
    - -
    -
    -
    +
    +
    +
    +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.Annotated

    +getAnnotation, getAnnotations, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
    +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.AnnotatedMember

    +getDeclaringType, getJavaMember, isStatic
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getParameters

            -
            java.util.List<AnnotatedParameter<X>> getParameters()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getParameters

              +
              List<AnnotatedParameter<X>> getParameters()

              Get the parameters of the callable member.

              -
              -
              Returns:
              +
              +
              Returns:
              the parameters
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedConstructor.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedConstructor.html index 53a283f3db..0504bea102 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedConstructor.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedConstructor.html @@ -1,343 +1,206 @@ - - + AnnotatedConstructor (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AnnotatedConstructor<X>

    +
    Module jakarta.cdi
    + +

    Interface AnnotatedConstructor<X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      X - the declaring class
      -
      +
      All Superinterfaces:
      Annotated, AnnotatedCallable<X>, AnnotatedMember<X>

      -
      public interface AnnotatedConstructor<X>
      -extends AnnotatedCallable<X>
      +
      public interface AnnotatedConstructor<X> +extends AnnotatedCallable<X>

      Represents a constructor of a Java class.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir
      -
      See Also:
      -
      Constructor
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    +
    +
    + + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.Annotated

    +getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
    +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.AnnotatedCallable

    +getParameters
    +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.AnnotatedMember

    +getDeclaringType, isStatic
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getJavaMember

            -
            java.lang.reflect.Constructor<X> getJavaMember()
            +
          • +
            +

            Method Details

            + - - - -
              -
            • -

              getAnnotations

              -
              default <T extends java.lang.annotation.Annotation> java.util.Set<T> getAnnotations​(java.lang.Class<T> annotationType)
              -
              Description copied from interface: Annotated
              +
            • +
              +

              getAnnotations

              +
              default <T extends Annotation> Set<T> getAnnotations(Class<T> annotationType)
              +
              Description copied from interface: Annotated

              Get program element annotations of a certain annotation type.

              This method returns back all annotations, including repeatable annotations of this type. - The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotationsByType(Class), + The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotationsByType(Class), where repeatable annotations are supported.

              -
              -
              Specified by:
              +
              +
              Specified by:
              getAnnotations in interface Annotated
              -
              Type Parameters:
              +
              Type Parameters:
              T - the type of the annotation
              -
              Parameters:
              +
              Parameters:
              annotationType - the class of the annotation type
              -
              Returns:
              +
              Returns:
              the program element annotations of the given annotation type, or an empty collection
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedField.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedField.html index 03df05267d..0f4c9f7e36 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedField.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedField.html @@ -1,336 +1,203 @@ - - + AnnotatedField (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AnnotatedField<X>

    +
    Module jakarta.cdi
    + +

    Interface AnnotatedField<X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      X - the declaring type
      -
      +
      All Superinterfaces:
      Annotated, AnnotatedMember<X>

      -
      public interface AnnotatedField<X>
      -extends AnnotatedMember<X>
      +
      public interface AnnotatedField<X> +extends AnnotatedMember<X>

      Represents a field of a Java class.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir
      -
      See Also:
      -
      Field
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    +
    +
    + + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.Annotated

    +getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
    +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.AnnotatedMember

    +getDeclaringType, isStatic
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getJavaMember

            -
            java.lang.reflect.Field getJavaMember()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getJavaMember

              +
              Field getJavaMember()

              - Get the underlying Field. + Get the underlying Field.

              -
              -
              Specified by:
              +
              +
              Specified by:
              getJavaMember in interface AnnotatedMember<X>
              -
              Returns:
              -
              the Field
              +
              Returns:
              +
              the Field
              +
            • -
            - - - -
              -
            • -

              getAnnotations

              -
              default <T extends java.lang.annotation.Annotation> java.util.Set<T> getAnnotations​(java.lang.Class<T> annotationType)
              -
              Description copied from interface: Annotated
              +
            • +
              +

              getAnnotations

              +
              default <T extends Annotation> Set<T> getAnnotations(Class<T> annotationType)
              +
              Description copied from interface: Annotated

              Get program element annotations of a certain annotation type.

              This method returns back all annotations, including repeatable annotations of this type. - The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotationsByType(Class), + The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotationsByType(Class), where repeatable annotations are supported.

              -
              -
              Specified by:
              +
              +
              Specified by:
              getAnnotations in interface Annotated
              -
              Type Parameters:
              +
              Type Parameters:
              T - the type of the annotation
              -
              Parameters:
              +
              Parameters:
              annotationType - the class of the annotation type
              -
              Returns:
              +
              Returns:
              the program element annotations of the given annotation type, or an empty collection
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedMember.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedMember.html index c139fd1dd0..3506ec2f87 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedMember.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedMember.html @@ -1,343 +1,209 @@ - - + AnnotatedMember (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AnnotatedMember<X>

    +
    Module jakarta.cdi
    + +

    Interface AnnotatedMember<X>

    -
    -
    -
    -
    -
    +
    +
    + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.Annotated

    +getAnnotation, getAnnotations, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getJavaMember

            -
            java.lang.reflect.Member getJavaMember()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getJavaMember

              +
              Member getJavaMember()

              - Get the underlying Member. + Get the underlying Member.

              -
              -
              Returns:
              -
              the Member
              +
              +
              Returns:
              +
              the Member
              +
            • -
            - - - -
              -
            • -

              isStatic

              -
              boolean isStatic()
              +
            • +
              +

              isStatic

              +
              boolean isStatic()

              Determines if the member is static.

              -
              -
              Returns:
              +
              +
              Returns:
              true if the member is static
              +
            • -
            - - - -
              -
            • -

              getDeclaringType

              -
              AnnotatedType<X> getDeclaringType()
              +
            • +
              +

              getDeclaringType

              +
              AnnotatedType<X> getDeclaringType()

              Get the type which defines this member.

              -
              -
              Returns:
              +
              +
              Returns:
              the type which defines this member
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedMethod.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedMethod.html index 3ad06bf313..e0a360dff7 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedMethod.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedMethod.html @@ -1,343 +1,206 @@ - - + AnnotatedMethod (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AnnotatedMethod<X>

    +
    Module jakarta.cdi
    + +

    Interface AnnotatedMethod<X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      X - the declaring type
      -
      +
      All Superinterfaces:
      Annotated, AnnotatedCallable<X>, AnnotatedMember<X>

      -
      public interface AnnotatedMethod<X>
      -extends AnnotatedCallable<X>
      +
      public interface AnnotatedMethod<X> +extends AnnotatedCallable<X>

      Represents a method of a Java type.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir
      -
      See Also:
      -
      Method
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    +
    +
    + + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.Annotated

    +getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
    +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.AnnotatedCallable

    +getParameters
    +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.AnnotatedMember

    +getDeclaringType, isStatic
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getJavaMember

            -
            java.lang.reflect.Method getJavaMember()
            +
          • +
            +

            Method Details

            + - - - -
              -
            • -

              getAnnotations

              -
              default <T extends java.lang.annotation.Annotation> java.util.Set<T> getAnnotations​(java.lang.Class<T> annotationType)
              -
              Description copied from interface: Annotated
              +
            • +
              +

              getAnnotations

              +
              default <T extends Annotation> Set<T> getAnnotations(Class<T> annotationType)
              +
              Description copied from interface: Annotated

              Get program element annotations of a certain annotation type.

              This method returns back all annotations, including repeatable annotations of this type. - The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotationsByType(Class), + The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotationsByType(Class), where repeatable annotations are supported.

              -
              -
              Specified by:
              +
              +
              Specified by:
              getAnnotations in interface Annotated
              -
              Type Parameters:
              +
              Type Parameters:
              T - the type of the annotation
              -
              Parameters:
              +
              Parameters:
              annotationType - the class of the annotation type
              -
              Returns:
              +
              Returns:
              the program element annotations of the given annotation type, or an empty collection
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedParameter.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedParameter.html index a40024b4d5..45893d70f8 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedParameter.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedParameter.html @@ -1,370 +1,227 @@ - - + AnnotatedParameter (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AnnotatedParameter<X>

    +
    Module jakarta.cdi
    + +

    Interface AnnotatedParameter<X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      X - the type that declares the method or constructor
      -
      +
      All Superinterfaces:
      Annotated

      -
      public interface AnnotatedParameter<X>
      -extends Annotated
      +
      public interface AnnotatedParameter<X> +extends Annotated

      Represents a parameter of a method or constructor.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir, Jozef Hartinger
      -
    • -
    -
    -
    -
    +
    +
    + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.Annotated

    +getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getPosition

            -
            int getPosition()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getPosition

              +
              int getPosition()

              Get the position of the parameter in the method or constructor argument list.

              -
              -
              Returns:
              +
              +
              Returns:
              the position of the parameter
              +
            • -
            - - - - - - - -
              -
            • -

              getJavaParameter

              -
              default java.lang.reflect.Parameter getJavaParameter()
              -
              Get the underlying Parameter.
              -
              -
              Returns:
              -
              the Parameter
              +
            • +
              +

              getJavaParameter

              +
              default Parameter getJavaParameter()
              +
              Get the underlying Parameter.
              +
              +
              Returns:
              +
              the Parameter
              +
            • -
            - - - -
              -
            • -

              getAnnotations

              -
              default <T extends java.lang.annotation.Annotation> java.util.Set<T> getAnnotations​(java.lang.Class<T> annotationType)
              -
              Description copied from interface: Annotated
              +
            • +
              +

              getAnnotations

              +
              default <T extends Annotation> Set<T> getAnnotations(Class<T> annotationType)
              +
              Description copied from interface: Annotated

              Get program element annotations of a certain annotation type.

              This method returns back all annotations, including repeatable annotations of this type. - The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotationsByType(Class), + The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotationsByType(Class), where repeatable annotations are supported.

              -
              -
              Specified by:
              +
              +
              Specified by:
              getAnnotations in interface Annotated
              -
              Type Parameters:
              +
              Type Parameters:
              T - the type of the annotation
              -
              Parameters:
              +
              Parameters:
              annotationType - the class of the annotation type
              -
              Returns:
              +
              Returns:
              the program element annotations of the given annotation type, or an empty collection
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedType.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedType.html index d453164c01..6ceee28862 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedType.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/AnnotatedType.html @@ -1,400 +1,256 @@ - - + AnnotatedType (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AnnotatedType<X>

    +
    Module jakarta.cdi
    + +

    Interface AnnotatedType<X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      X - the type
      -
      +
      All Superinterfaces:
      Annotated

      -
      public interface AnnotatedType<X>
      -extends Annotated
      +
      public interface AnnotatedType<X> +extends Annotated

      Represents a Java class or interface.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir
      -
      See Also:
      -
      Class
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    +
    +
    +
    +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.Annotated

    +getAnnotation, getAnnotations, getBaseType, getTypeClosure, isAnnotationPresent
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getJavaClass

            -
            java.lang.Class<X> getJavaClass()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getJavaClass

              +
              Class<X> getJavaClass()

              - Get the underlying Class. + Get the underlying Class.

              -
              -
              Returns:
              -
              the Class
              +
              +
              Returns:
              +
              the Class
              +
            • -
            - - - -
              -
            • -

              getConstructors

              -
              java.util.Set<AnnotatedConstructor<X>> getConstructors()
              +
            • +
              +

              getConstructors

              +
              Set<AnnotatedConstructor<X>> getConstructors()

              Get the constructors of the type. If an empty set is returned, a default constructor with no parameters will be assumed.

              -
              -
              Returns:
              +
              +
              Returns:
              the constructors, or an empty set if none are defined
              +
            • -
            - - - -
              -
            • -

              getMethods

              -
              java.util.Set<AnnotatedMethod<? super X>> getMethods()
              +
            • +
              +

              getMethods

              +
              Set<AnnotatedMethod<? super X>> getMethods()

              Get the methods of the type.

              -
              -
              Returns:
              +
              +
              Returns:
              the methods, or an empty set if none are defined
              +
            • -
            - - - -
    +
    +
    Returns:
    the fields, or an empty set if none are defined
    + - - - - -
      -
    • -

      getAnnotations

      -
      default <T extends java.lang.annotation.Annotation> java.util.Set<T> getAnnotations​(java.lang.Class<T> annotationType)
      -
      Description copied from interface: Annotated
      +
    • +
      +

      getAnnotations

      +
      default <T extends Annotation> Set<T> getAnnotations(Class<T> annotationType)
      +
      Description copied from interface: Annotated

      Get program element annotations of a certain annotation type.

      This method returns back all annotations, including repeatable annotations of this type. - The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotationsByType(Class), + The behavior of this method is intended to be the same behavior as AnnotatedElement.getAnnotationsByType(Class), where repeatable annotations are supported.

      -
      -
      Specified by:
      +
      +
      Specified by:
      getAnnotations in interface Annotated
      -
      Type Parameters:
      +
      Type Parameters:
      T - the type of the annotation
      -
      Parameters:
      +
      Parameters:
      annotationType - the class of the annotation type
      -
      Returns:
      +
      Returns:
      the program element annotations of the given annotation type, or an empty collection
      -
    • -
    + - - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Bean.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Bean.html index 9be39104f6..5fa7e1d6ed 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Bean.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Bean.html @@ -1,323 +1,186 @@ - - + Bean (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Bean<T>

    +
    Module jakarta.cdi
    + +

    Interface Bean<T>

    -
    -
    - -
    -
    -
    +
    +
    + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes

    +getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
    +
    +

    Methods inherited from interface jakarta.enterprise.context.spi.Contextual

    +create, destroy
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getBeanClass

            -
            java.lang.Class<?> getBeanClass()
            -
            The bean class of the managed bean or session bean or of the bean that declares the producer method or +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getBeanClass

              +
              Class<?> getBeanClass()
              +
              The bean class of the managed bean or session bean or of the bean that declares the producer method or field.
              -
              -
              Returns:
              -
              the bean class
              +
              +
              Returns:
              +
              the bean class
              +
            • -
            - - - -
              -
            • -

              getInjectionPoints

              -
              java.util.Set<InjectionPoint> getInjectionPoints()
              +
            • +
              +

              getInjectionPoints

              +
              Set<InjectionPoint> getInjectionPoints()
              Obtains the InjectionPoint objects representing injection points of the bean, that will be validated by the container at initialization time.
              -
              -
              Returns:
              +
              +
              Returns:
              the set of injection points of the bean
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeanAttributes.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeanAttributes.html index c70c7c7417..ef260f452e 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeanAttributes.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeanAttributes.html @@ -1,387 +1,238 @@ - - + BeanAttributes (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface BeanAttributes<T>

    +
    Module jakarta.cdi
    + +

    Interface BeanAttributes<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the class of the bean instance
      -
      +
      All Known Subinterfaces:
      Bean<T>, Decorator<T>, Interceptor<T>

      -
      public interface BeanAttributes<T>
      +
      public interface BeanAttributes<T>
      The BeanAttributes interface exposes the basic attributes of a bean.
      -
      -
      Since:
      +
      +
      Since:
      1.1
      -
      Author:
      +
      Author:
      Pete Muir
      -
    • -
    -
    -
    -
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getTypes

            -
            java.util.Set<java.lang.reflect.Type> getTypes()
            +
          • +
            +

            Method Details

            + - - - -
              -
            • -

              getQualifiers

              -
              java.util.Set<java.lang.annotation.Annotation> getQualifiers()
              +
            • +
              +

              getQualifiers

              +
              Set<Annotation> getQualifiers()
              Obtains the qualifiers of the bean.
              -
              -
              Returns:
              +
              +
              Returns:
              the qualifiers
              +
            • -
            - - - -
              -
            • -

              getScope

              -
              java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
              +
            • +
              +

              getScope

              +
              Class<? extends Annotation> getScope()
              Obtains the scope of the bean.
              -
              -
              Returns:
              +
              +
              Returns:
              the scope
              +
            • -
            - - - -
              -
            • -

              getName

              -
              java.lang.String getName()
              +
            • +
              +

              getName

              +
              String getName()
              Obtains the EL name of a bean, if it has one.
              -
              -
              Returns:
              +
              +
              Returns:
              the EL name
              +
            • -
            - - - -
              -
            • -

              getStereotypes

              -
              java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> getStereotypes()
              +
            • +
              +

              getStereotypes

              +
              Set<Class<? extends Annotation>> getStereotypes()
              Obtains the stereotypes of the bean.
              -
              -
              Returns:
              +
              +
              Returns:
              the set of stereotypes
              +
            • -
            - - - -
              -
            • -

              isAlternative

              -
              boolean isAlternative()
              +
            • +
              +

              isAlternative

              +
              boolean isAlternative()
              Determines if the bean is an alternative. A custom implementation of Bean may implement Prioritized in order to be selected for the application. Prioritized.getPriority() determines the priority used to resolve ambiguities.
              -
              -
              Returns:
              +
              +
              Returns:
              true if the bean is an alternative, and false otherwise.
              -
            • -
            +
      -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeanContainer.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeanContainer.html index 8a6d0d4c5d..745cb3480b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeanContainer.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeanContainer.html @@ -1,137 +1,87 @@ - - + BeanContainer (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface BeanContainer

    +
    Module jakarta.cdi
    + +

    Interface BeanContainer

    -
    -
    -
      -
    • -
      +
      +
      All Known Subinterfaces:
      BeanManager

      -
      public interface BeanContainer
      +
      public interface BeanContainer

      BeanContainer is a superclass of BeanManager containing capabilities that are portable across all CDI environments. @@ -150,237 +100,207 @@

      Interface BeanContainer

      @Inject BeanContainer container;
      -
      -
      Since:
      +
      +
      Since:
      4.0
      -
      Author:
      +
      Author:
      Matej Novotny
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethodDescription
          <T> CreationalContext<T>createCreationalContext​(Contextual<T> contextual) +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          + + +
          Obtain an instance of a CreationalContext for the given contextual type, or for a non-contextual object.
          -
        • Instance<java.lang.Object>createInstance() + + + +
          Obtains an Instance object to access to beans instances.
          -
          java.util.Set<Bean<?>>getBeans​(java.lang.reflect.Type beanType, - java.lang.annotation.Annotation... qualifiers) + +
          Set<Bean<?>>
          +
          getBeans(Type beanType, + Annotation... qualifiers)
          +
          Return the set of beans which have the given required type and qualifiers and are available for injection in the module or library containing the class into which the BeanManager/BeanContainer was injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace the BeanManager/BeanContainer was obtained, according to the rules of typesafe resolution.
          -
          java.util.Set<Bean<?>>getBeans​(java.lang.String name) + +
          Set<Bean<?>>
          + +
          Return the set of beans which have the given EL name and are available for injection in the module or library containing the class into which the BeanManager/BeanContainer was injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace the BeanManager/BeanContainer was obtained, according to the rules of EL name resolution.
          -
          ContextgetContext​(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType) + + +
          getContext(Class<? extends Annotation> scopeType)
          +
          Obtains an active context object for the given scope .
          -
          java.util.Collection<Context>getContexts​(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType) + + +
          getContexts(Class<? extends Annotation> scopeType)
          +
          Obtains all context objects, active and inactive, for the given scope.
          -
          Event<java.lang.Object>getEvent() -
          Returns an instance of Event with specified type java.lang.Object and specified qualifier @Default +
          + + +
          +
          Returns an instance of Event with specified type java.lang.Object and specified qualifier + @Default It allows typesafe synchronous or asynchronous event firing without injection of Event built-in bean requirement.
          -
          java.lang.ObjectgetReference​(Bean<?> bean, - java.lang.reflect.Type beanType, - CreationalContext<?> ctx) + + +
          getReference(Bean<?> bean, + Type beanType, + CreationalContext<?> ctx)
          +
          Obtains a contextual reference for a certain bean and a certain bean type of the bean.
          -
          booleanisInterceptorBinding​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) + +
          boolean
          +
          isInterceptorBinding(Class<? extends Annotation> annotationType)
          +
          Test the given annotation type to determine if it is an interceptor binding type .
          -
          booleanisNormalScope​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) + +
          boolean
          +
          isMatchingBean(Set<Type> beanTypes, + Set<Annotation> beanQualifiers, + Type requiredType, + Set<Annotation> requiredQualifiers)
          +
          +
          Returns true if a bean with given bean types and qualifiers would be assignable + to an injection point with given required type and required qualifiers, false otherwise.
          +
          +
          boolean
          +
          isMatchingEvent(Type specifiedType, + Set<Annotation> specifiedQualifiers, + Type observedEventType, + Set<Annotation> observedEventQualifiers)
          +
          +
          Returns true if an event with given specified type and specified qualifiers would + match an observer method with given observed event type and observed event qualifiers, + false otherwise.
          +
          +
          boolean
          +
          isNormalScope(Class<? extends Annotation> annotationType)
          +
          Test the given annotation type to determine if it is a normal scope type.
          -
          booleanisQualifier​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) + +
          boolean
          +
          isQualifier(Class<? extends Annotation> annotationType)
          +
          Test the given annotation type to determine if it is a qualifier type.
          -
          booleanisScope​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) + +
          boolean
          +
          isScope(Class<? extends Annotation> annotationType)
          +
          Test the given annotation type to determine if it is a scope type.
          -
          booleanisStereotype​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) + +
          boolean
          +
          isStereotype(Class<? extends Annotation> annotationType)
          +
          Test the given annotation type to determine if it is a stereotype.
          -
          <X> Bean<? extends X>resolve​(java.util.Set<Bean<? extends X>> beans) + +
          <X> Bean<? extends X>
          +
          resolve(Set<Bean<? extends X>> beans)
          +
          Apply the ambiguous dependency resolution rules to a set of beans.
          -
          java.util.List<Interceptor<?>>resolveInterceptors​(InterceptionType type, - java.lang.annotation.Annotation... interceptorBindings) + + +
          resolveInterceptors(InterceptionType type, + Annotation... interceptorBindings)
          +
          Return an ordered list of enabled interceptors for a set of interceptor bindings and a type of interception and which are enabled in the module or library containing the class into which the BeanManager/BeanContainer was injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace the BeanManager/BeanContainer was obtained.
          -
          <T> java.util.Set<ObserverMethod<? super T>>resolveObserverMethods​(T event, - java.lang.annotation.Annotation... qualifiers) + +
          <T> Set<ObserverMethod<? super T>>
          +
          resolveObserverMethods(T event, + Annotation... qualifiers)
          +
          Return an ordered set of observer methods for an event.
          -
          -
        • -
        +
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getReference

            -
            java.lang.Object getReference​(Bean<?> bean,
            -                              java.lang.reflect.Type beanType,
            -                              CreationalContext<?> ctx)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getReference

              +
              Object getReference(Bean<?> bean, + Type beanType, + CreationalContext<?> ctx)

              Obtains a contextual reference for a certain bean and a certain bean type of the bean.

              -
              -
              Parameters:
              +
              +
              Parameters:
              bean - the Bean object representing the bean
              beanType - a bean type that must be implemented by any client proxy that is returned
              ctx - a CreationalContext that may be used to destroy any object with scope - Dependent that is created
              -
              Returns:
              + Dependent that is created +
              Returns:
              a contextual reference representing the bean
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if the given type is not a bean type of the given bean
              -
              java.lang.IllegalStateException - if called during application initialization, before the AfterDeploymentValidation - event is fired.
              +
              Throws:
              +
              IllegalArgumentException - if the given type is not a bean type of the given bean
              +
              IllegalStateException - if called during application initialization, before the AfterDeploymentValidation + event is fired.
              +
            • -
            - - - - - - - -
              -
            • -

              getBeans

              -
              java.util.Set<Bean<?>> getBeans​(java.lang.reflect.Type beanType,
              -                                java.lang.annotation.Annotation... qualifiers)
              +
            • +
              +

              getBeans

              +
              Set<Bean<?>> getBeans(Type beanType, + Annotation... qualifiers)
              Return the set of beans which have the given required type and qualifiers and are available for injection in the module or library containing the class into which the BeanManager/BeanContainer was injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace the @@ -389,28 +309,25 @@

              getBeans

              Note that when called during invocation of an AfterBeanDiscovery event observer, this method will only return beans discovered by the container before the AfterBeanDiscovery event is fired.

              -
              -
              Parameters:
              +
              +
              Parameters:
              beanType - the required bean type
              qualifiers - the required qualifiers
              -
              Returns:
              +
              Returns:
              the resulting set of beans
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if the given type represents a type variable
              -
              java.lang.IllegalArgumentException - if two instances of the same non repeating qualifier type are given
              -
              java.lang.IllegalArgumentException - if an instance of an annotation that is not a qualifier type is given
              -
              java.lang.IllegalStateException - if called during application initialization, before the AfterBeanDiscovery - event is fired.
              +
              Throws:
              +
              IllegalArgumentException - if the given type represents a type variable
              +
              IllegalArgumentException - if two instances of the same non repeating qualifier type are given
              +
              IllegalArgumentException - if an instance of an annotation that is not a qualifier type is given
              +
              IllegalStateException - if called during application initialization, before the AfterBeanDiscovery + event is fired.
              +
            • -
            - - - -
              -
            • -

              getBeans

              -
              java.util.Set<Bean<?>> getBeans​(java.lang.String name)
              +
            • +
              +

              getBeans

              +
              Set<Bean<?>> getBeans(String name)
              Return the set of beans which have the given EL name and are available for injection in the module or library containing the class into which the BeanManager/BeanContainer was injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace the @@ -418,81 +335,70 @@

              getBeans

              Note that when called during invocation of an AfterBeanDiscovery event observer, this method will only return beans discovered by the container before the AfterBeanDiscovery event is fired.

              -
              -
              Parameters:
              +
              +
              Parameters:
              name - the EL name
              -
              Returns:
              +
              Returns:
              the resulting set of beans
              -
              Throws:
              -
              java.lang.IllegalStateException - if called during application initialization, before the AfterBeanDiscovery - event is fired.
              +
              Throws:
              +
              IllegalStateException - if called during application initialization, before the AfterBeanDiscovery + event is fired.
              +
            • -
            - - - -
              -
            • -

              resolve

              -
              <X> Bean<? extends X> resolve​(java.util.Set<Bean<? extends X>> beans)
              +
            • +
              +

              resolve

              +
              <X> Bean<? extends X> resolve(Set<Bean<? extends X>> beans)
              Apply the ambiguous dependency resolution rules to a set of beans.

              Note that when called during invocation of an AfterBeanDiscovery event observer, this method will only return beans discovered by the container before the AfterBeanDiscovery event is fired.

              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              X - a common type of the beans
              -
              Parameters:
              +
              Parameters:
              beans - a set of beans of the given type
              -
              Returns:
              +
              Returns:
              the resolved bean, or null if null or an empty set is passed
              -
              Throws:
              +
              Throws:
              AmbiguousResolutionException - if the ambiguous dependency resolution rules fail
              -
              java.lang.IllegalStateException - if called during application initialization, before the AfterBeanDiscovery - event is fired.
              +
              IllegalStateException - if called during application initialization, before the AfterBeanDiscovery + event is fired.
              +
            • -
            - - - - - -
              -
            • -

              resolveObserverMethods

              -
              <T> java.util.Set<ObserverMethod<? super T>> resolveObserverMethods​(T event,
              -                                                                    java.lang.annotation.Annotation... qualifiers)
              +
            • +
              +

              resolveObserverMethods

              +
              <T> Set<ObserverMethod<? super T>> resolveObserverMethods(T event, + Annotation... qualifiers)
              Return an ordered set of observer methods for an event.

              Note that when called during invocation of an AfterBeanDiscovery event observer, this method will only return observers discovered by the container before the AfterBeanDiscovery event is fired.

              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - the type of the event
              -
              Parameters:
              +
              Parameters:
              event - the event object
              qualifiers - the event qualifiers
              -
              Returns:
              +
              Returns:
              the resulting set of observer methods
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if the runtime type of the event object contains a type variable
              -
              java.lang.IllegalArgumentException - if two instances of the same non repeating qualifier type are given
              -
              java.lang.IllegalArgumentException - if an instance of an annotation that is not a qualifier type is given
              -
              java.lang.IllegalStateException - if called during application initialization, before the AfterBeanDiscovery - event is fired.
              +
              Throws:
              +
              IllegalArgumentException - if the runtime type of the event object contains a type variable
              +
              IllegalArgumentException - if two instances of the same non repeating qualifier type are given
              +
              IllegalArgumentException - if an instance of an annotation that is not a qualifier type is given
              +
              IllegalStateException - if called during application initialization, before the AfterBeanDiscovery + event is fired.
              +
            • -
            - - - -
              -
            • -

              resolveInterceptors

              -
              java.util.List<Interceptor<?>> resolveInterceptors​(InterceptionType type,
              -                                                   java.lang.annotation.Annotation... interceptorBindings)
              +
            • +
              +

              resolveInterceptors

              +
              List<Interceptor<?>> resolveInterceptors(InterceptionType type, + Annotation... interceptorBindings)
              Return an ordered list of enabled interceptors for a set of interceptor bindings and a type of interception and which are enabled in the module or library containing the class into which the BeanManager/BeanContainer was injected or, in the Jakarta EE environment, @@ -502,257 +408,239 @@

              resolveInterceptors

              Note that when called during invocation of an AfterBeanDiscovery event observer, this method will only return interceptors discovered by the container before the AfterBeanDiscovery event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              type - the type of the interception
              interceptorBindings - the interceptor bindings
              -
              Returns:
              +
              Returns:
              the resulting set of interceptors
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if no interceptor binding type is given
              -
              java.lang.IllegalArgumentException - if two instances of the same interceptor binding type are given
              -
              java.lang.IllegalArgumentException - if an instance of an annotation that is not an interceptor binding type is given
              -
              java.lang.IllegalStateException - if called during application initialization, before the AfterBeanDiscovery - event is fired.
              +
              Throws:
              +
              IllegalArgumentException - if no interceptor binding type is given
              +
              IllegalArgumentException - if two instances of the same interceptor binding type are given
              +
              IllegalArgumentException - if an instance of an annotation that is not an interceptor binding type is given
              +
              IllegalStateException - if called during application initialization, before the AfterBeanDiscovery + event is fired.
              +
            • -
            - - - -
              -
            • -

              isScope

              -
              boolean isScope​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
              +
            • +
              +

              isScope

              +
              boolean isScope(Class<? extends Annotation> annotationType)
              Test the given annotation type to determine if it is a scope type.
              -
              -
              Parameters:
              +
              +
              Parameters:
              annotationType - the annotation type
              -
              Returns:
              +
              Returns:
              true if the annotation type is a scope type
              +
            • -
            - - - -
              -
            • -

              isNormalScope

              -
              boolean isNormalScope​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
              +
            • +
              +

              isNormalScope

              +
              boolean isNormalScope(Class<? extends Annotation> annotationType)
              Test the given annotation type to determine if it is a normal scope type.
              -
              -
              Parameters:
              +
              +
              Parameters:
              annotationType - the annotation type
              -
              Returns:
              +
              Returns:
              true if the annotation type is a normal scope type
              +
            • -
            - - - -
              -
            • -

              isQualifier

              -
              boolean isQualifier​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
              +
            • +
              +

              isQualifier

              +
              boolean isQualifier(Class<? extends Annotation> annotationType)
              Test the given annotation type to determine if it is a qualifier type.
              -
              -
              Parameters:
              +
              +
              Parameters:
              annotationType - the annotation type
              -
              Returns:
              +
              Returns:
              true if the annotation type is a qualifier type
              +
            • -
            - - - -
              -
            • -

              isStereotype

              -
              boolean isStereotype​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
              +
            • +
              +

              isStereotype

              +
              boolean isStereotype(Class<? extends Annotation> annotationType)
              Test the given annotation type to determine if it is a stereotype.
              -
              -
              Parameters:
              +
              +
              Parameters:
              annotationType - the annotation type
              -
              Returns:
              +
              Returns:
              true if the annotation type is a stereotype
              +
            • -
            - - - -
              -
            • -

              isInterceptorBinding

              -
              boolean isInterceptorBinding​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
              +
            • +
              +

              isInterceptorBinding

              +
              boolean isInterceptorBinding(Class<? extends Annotation> annotationType)
              Test the given annotation type to determine if it is an interceptor binding type .
              -
              -
              Parameters:
              +
              +
              Parameters:
              annotationType - the annotation to test
              -
              Returns:
              -
              true if the annotation type is a interceptor binding - type
              +
              Returns:
              +
              true if the annotation type is a interceptor + binding + type
              +
            • -
            - - - -
              -
            • -

              getContext

              -
              Context getContext​(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
              +
            • +
              +

              getContext

              +
              Context getContext(Class<? extends Annotation> scopeType)
              Obtains an active context object for the given scope .
              -
              -
              Parameters:
              +
              +
              Parameters:
              scopeType - the scope
              -
              Returns:
              +
              Returns:
              the context object
              -
              Throws:
              +
              Throws:
              ContextNotActiveException - if there is no active context object for the given scope
              -
              java.lang.IllegalArgumentException - if there is more than one active context object for the given scope
              +
              IllegalArgumentException - if there is more than one active context object for the given scope
              +
            • -
            - - - -
              -
            • -

              getContexts

              -
              java.util.Collection<Context> getContexts​(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
              +
            • +
              +

              getContexts

              +
              Collection<Context> getContexts(Class<? extends Annotation> scopeType)
              Obtains all context objects, active and inactive, for the given scope.
              -
              -
              Parameters:
              +
              +
              Parameters:
              scopeType - the scope; must not be null
              -
              Returns:
              +
              Returns:
              immutable collection of context objects; never null, but may be empty
              +
            • -
            - - - -
              -
            • -

              getEvent

              -
              Event<java.lang.Object> getEvent()
              -
              Returns an instance of Event with specified type java.lang.Object and specified qualifier @Default +
            • +
              +

              getEvent

              +
              Event<Object> getEvent()
              +
              Returns an instance of Event with specified type java.lang.Object and specified qualifier + @Default It allows typesafe synchronous or asynchronous event firing without injection of Event built-in bean requirement.
              -
              -
              Returns:
              +
              +
              Returns:
              a new Event object whose event type is Object and qualifier @Default
              -
              Since:
              +
              Since:
              2.0
              +
            • -
            - - - -
              -
            • -

              createInstance

              -
              Instance<java.lang.Object> createInstance()
              +
            • +
              +

              createInstance

              +
              Instance<Object> createInstance()
              Obtains an Instance object to access to beans instances.

              - The returned Instance object can only access instances of beans that are available for injection in the module - or library containing the class into which the BeanManager/BeanContainer was injected + The returned Instance object can only access instances of beans that are available for injection in the + module or library containing the class into which the BeanManager/BeanContainer was injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace the BeanContainer was obtained, according to the rules of typesafe resolution.

              - Instances of dependent scoped beans obtained with this Instance must be explicitly destroyed by calling Instance.destroy(Object) + Instances of dependent scoped beans obtained with this Instance must be explicitly destroyed by calling + Instance.destroy(Object)

              If no qualifier is passed to Instance.select(java.lang.annotation.Annotation...) method, the @Default qualifier is assumed.

              -
              -
              Returns:
              +
              +
              Returns:
              an Instance object to request beans instances
              -
              Throws:
              -
              java.lang.IllegalStateException - if called during application initialization, before the AfterDeploymentValidation - event is fired.
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called during application initialization, before the AfterDeploymentValidation + event is fired.
              +
              Since:
              2.0
              +
            • -
            +
          • +
            +

            isMatchingBean

            +
            boolean isMatchingBean(Set<Type> beanTypes, + Set<Annotation> beanQualifiers, + Type requiredType, + Set<Annotation> requiredQualifiers)
            +
            Returns true if a bean with given bean types and qualifiers would be assignable + to an injection point with given required type and required qualifiers, false otherwise. +

            + In line with the specification for beans and typesafe resolution, the set of + beanTypes is considered to always include java.lang.Object. + Types in beanTypes that are not legal bean types are ignored. + The set of beanQualifiers is considered to always include @Any and + also include @Default when it contains no other qualifier but @Any + and @Named. The set of requiredQualifiers is considered to include + @Default when it is empty. +

            + Throws IllegalArgumentException if any of the arguments is null + or if any of the beanQualifiers or requiredQualifiers is not + a qualifier annotation.

            +
            +
            Parameters:
            +
            beanTypes - bean types of a bean; must not be null
            +
            beanQualifiers - qualifiers of a bean; must not be null
            +
            requiredType - required type of an injection point; must not be null
            +
            requiredQualifiers - required qualifiers of an injection point; must not be null
            +
            Returns:
            +
            true if a bean with given bean types and qualifiers would be assignable + to an injection point with given required type and required qualifiers, false otherwise
            +
            +
            +
          • +
          • +
            +

            isMatchingEvent

            +
            boolean isMatchingEvent(Type specifiedType, + Set<Annotation> specifiedQualifiers, + Type observedEventType, + Set<Annotation> observedEventQualifiers)
            +
            Returns true if an event with given specified type and specified qualifiers would + match an observer method with given observed event type and observed event qualifiers, + false otherwise. +

            + For the purpose of observer resolution, the specifiedType is used as the event type + directly (because there is no event object in this API) and specifiedQualifiers are + used as event qualifiers. In line with the specification for events and observer resolution, + the set of event qualifiers is considered to always include @Any. Further, an empty + set of specifiedQualifiers is considered to match the set of observedEventQualifiers + which contains @Default. +

            + Throws IllegalArgumentException if any of the arguments is null, + if the specifiedType contains a type variable, or if any of the specifiedQualifiers + or observedEventQualifiers is not a qualifier annotation.

            +
            +
            Parameters:
            +
            specifiedType - specified type of an event; must not be null
            +
            specifiedQualifiers - specified qualifiers of an event; must not be null
            +
            observedEventType - observed event type of an observer method; must not be null
            +
            observedEventQualifiers - observed event qualifiers on an observer method; must not be null
            +
            Returns:
            +
            true if an event object with given type and qualifiers would result in notifying + an observer method with given observed event type and observed event qualifiers, false otherwise
            +
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeanManager.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeanManager.html index aeb8c51dc3..4c5581ee8e 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeanManager.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeanManager.html @@ -1,1087 +1,840 @@ - - + BeanManager (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface BeanManager

    +
    Module jakarta.cdi
    + +

    Interface BeanManager

    -
    -
    - -
    -
    -
    +
    +
    + -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getInjectableReference

            -
            java.lang.Object getInjectableReference​(InjectionPoint ij,
            -                                        CreationalContext<?> ctx)
            +
          • +
            +

            Method Details

            + - - - -
              -
            • -

              getPassivationCapableBean

              -
              Bean<?> getPassivationCapableBean​(java.lang.String id)
              +
            • +
              +

              getPassivationCapableBean

              +
              Bean<?> getPassivationCapableBean(String id)
              Returns the PassivationCapable bean with the given identifier. - Note that when called during invocation of an AfterBeanDiscovery event observer, + Note that when called during invocation of an AfterBeanDiscovery event observer, this method will only return beans discovered by the container before the AfterBeanDiscovery event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              id - the identifier
              -
              Returns:
              +
              Returns:
              a Bean that implements PassivationCapable and has the given identifier, or a null value if there is no such bean
              -
              Throws:
              -
              java.lang.IllegalStateException - if called during application initialization, before the AfterBeanDiscovery +
              Throws:
              +
              IllegalStateException - if called during application initialization, before the AfterBeanDiscovery event is fired.
              +
            • -
            - - - -
              -
            • -

              validate

              -
              void validate​(InjectionPoint injectionPoint)
              +
            • +
              +

              validate

              +
              void validate(InjectionPoint injectionPoint)
              Validate a certain injection point. Note that when called during invocation of an AfterBeanDiscovery event observer, - this method will only validate injection points discovered by the container before the AfterBeanDiscovery + this method will only validate injection points discovered by the container before the AfterBeanDiscovery event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              injectionPoint - the injection point to validate
              -
              Throws:
              +
              Throws:
              InjectionException - if there is a deployment problem (for example, an unsatisfied or unresolvable ambiguous dependency) associated with the injection point
              -
              java.lang.IllegalStateException - if called during application initialization, before the AfterBeanDiscovery +
              IllegalStateException - if called during application initialization, before the AfterBeanDiscovery event is fired.
              +
            • -
            - - - -
              -
            • -

              resolveDecorators

              -
              java.util.List<Decorator<?>> resolveDecorators​(java.util.Set<java.lang.reflect.Type> types,
              -                                               java.lang.annotation.Annotation... qualifiers)
              +
            • +
              +

              resolveDecorators

              +
              List<Decorator<?>> resolveDecorators(Set<Type> types, + Annotation... qualifiers)
              Return an ordered list of decorators for a set of bean types and a set of qualifiers and which are enabled in the module or library containing the class into which the BeanManager was injected or the Java EE component from whose JNDI environment namespace the BeanManager was obtained. Note that when called during invocation of an AfterBeanDiscovery event observer, this method will only return decorators discovered by the container before the AfterBeanDiscovery event is fired.
              -
              -
              Parameters:
              +
              +
              Parameters:
              types - the set of bean types of the decorated bean
              qualifiers - the qualifiers declared by the decorated bean
              -
              Returns:
              +
              Returns:
              the resulting set of decorators
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if the set of bean types is empty
              -
              java.lang.IllegalArgumentException - if an annotation which is not a binding type is passed
              -
              java.lang.IllegalArgumentException - if two instances of the same binding type are passed
              -
              java.lang.IllegalStateException - if called during application initialization, before the AfterBeanDiscovery +
              Throws:
              +
              IllegalArgumentException - if the set of bean types is empty
              +
              IllegalArgumentException - if an annotation which is not a binding type is passed
              +
              IllegalArgumentException - if two instances of the same binding type are passed
              +
              IllegalStateException - if called during application initialization, before the AfterBeanDiscovery event is fired.
              +
            • -
            - - - -
              -
            • -

              isPassivatingScope

              -
              boolean isPassivatingScope​(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
              +
            • +
              +

              isPassivatingScope

              +
              boolean isPassivatingScope(Class<? extends Annotation> annotationType)
              Test the given annotation type to determine if it is a passivating scope type.
              -
              -
              Parameters:
              +
              +
              Parameters:
              annotationType - the annotation type
              -
              Returns:
              +
              Returns:
              true if the annotation type is a passivating scope type
              +
            • -
            - - - -
              -
            • -

              getInterceptorBindingDefinition

              -
              java.util.Set<java.lang.annotation.Annotation> getInterceptorBindingDefinition​(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType)
              +
            • +
              +

              getInterceptorBindingDefinition

              +
              Set<Annotation> getInterceptorBindingDefinition(Class<? extends Annotation> bindingType)
              Obtains the set of meta-annotations for a certain interceptor binding type .
              -
              -
              Parameters:
              +
              +
              Parameters:
              bindingType - the interceptor binding type
              -
              Returns:
              +
              Returns:
              the set of meta-annotations
              +
            • -
            - - - -
              -
            • -

              getStereotypeDefinition

              -
              java.util.Set<java.lang.annotation.Annotation> getStereotypeDefinition​(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype)
              +
            • +
              +

              getStereotypeDefinition

              +
              Set<Annotation> getStereotypeDefinition(Class<? extends Annotation> stereotype)
              Obtains meta-annotations for a certain stereotype.
              -
              -
              Parameters:
              +
              +
              Parameters:
              stereotype - the stereotype
              -
              Returns:
              +
              Returns:
              the set of meta-annotations
              +
            • -
            - - - -
              -
            • -

              areQualifiersEquivalent

              -
              boolean areQualifiersEquivalent​(java.lang.annotation.Annotation qualifier1,
              -                                java.lang.annotation.Annotation qualifier2)
              +
            • +
              +

              areQualifiersEquivalent

              +
              boolean areQualifiersEquivalent(Annotation qualifier1, + Annotation qualifier2)
              Determine if two qualifiers are considered equivalent for the purposes of typesafe resolution, taking into account any members annotated with Nonbinding.
              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifier1 - a qualifier to check
              qualifier2 - a qualifier to check
              -
              Returns:
              +
              Returns:
              true if the two qualifiers are equivalent, otherwise false
              -
              Since:
              +
              Since:
              1.1
              +
            • -
            - - - -
              -
            • -

              areInterceptorBindingsEquivalent

              -
              boolean areInterceptorBindingsEquivalent​(java.lang.annotation.Annotation interceptorBinding1,
              -                                         java.lang.annotation.Annotation interceptorBinding2)
              +
            • +
              +

              areInterceptorBindingsEquivalent

              +
              boolean areInterceptorBindingsEquivalent(Annotation interceptorBinding1, + Annotation interceptorBinding2)
              Determine if two interceptor bindings are considered equivalent for the purposes of typesafe resolution, taking into account any members annotated with Nonbinding.
              -
              -
              Parameters:
              +
              +
              Parameters:
              interceptorBinding1 - an interceptor binding to check
              interceptorBinding2 - an interceptor binding to check
              -
              Returns:
              +
              Returns:
              true if the two interceptor bindings are equivalent, otherwise false
              -
              Since:
              +
              Since:
              1.1
              +
            • -
            - - - -
              -
            • -

              getQualifierHashCode

              -
              int getQualifierHashCode​(java.lang.annotation.Annotation qualifier)
              +
            • +
              +

              getQualifierHashCode

              +
              int getQualifierHashCode(Annotation qualifier)
              Determine the hash code of a qualifier, using the JDK algorithm for determining an annotation hash code, ignoring any members annotated with Nonbinding.
              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifier - the qualifier to consider
              -
              Returns:
              +
              Returns:
              the hashCode for the qualifier
              -
              Since:
              +
              Since:
              1.1
              +
            • -
            - - - -
              -
            • -

              getInterceptorBindingHashCode

              -
              int getInterceptorBindingHashCode​(java.lang.annotation.Annotation interceptorBinding)
              +
            • +
              +

              getInterceptorBindingHashCode

              +
              int getInterceptorBindingHashCode(Annotation interceptorBinding)
              Determine the hash code of an interceptor binding, using the JDK algorithm for determining an annotation hash code, ignoring any members annotated with Nonbinding.
              -
              -
              Parameters:
              +
              +
              Parameters:
              interceptorBinding - the interceptor binding to consider
              -
              Returns:
              +
              Returns:
              the hashCode for the interceptor binding
              -
              Since:
              +
              Since:
              1.1
              +
            • -
            - - - -
              -
            • -

              getELResolver

              -
              @Deprecated(since="4.1",
              -            forRemoval=true)
              -jakarta.el.ELResolver getELResolver()
              -
              Deprecated, for removal: This API element is subject to removal in a future version. -
              use ELAwareBeanManager, this method will be removed in CDI 5.0
              +
            • +
              +

              getELResolver

              +
              @Deprecated(since="4.1", + forRemoval=true) +jakarta.el.ELResolver getELResolver()
              +
              Deprecated, for removal: This API element is subject to removal in a future version. +
              use ELAwareBeanManager, this method will be removed in CDI 5.0
              Returns a ELResolver that resolves beans by EL name.
              -
              -
              Returns:
              +
              +
              Returns:
              the ELResolver
              +
            • -
            - - - -
              -
            • -

              wrapExpressionFactory

              -
              @Deprecated(since="4.1",
              -            forRemoval=true)
              -jakarta.el.ExpressionFactory wrapExpressionFactory​(jakarta.el.ExpressionFactory expressionFactory)
              -
              Deprecated, for removal: This API element is subject to removal in a future version. -
              use ELAwareBeanManager, this method will be removed in CDI 5.0
              +
            • +
              +

              wrapExpressionFactory

              +
              @Deprecated(since="4.1", + forRemoval=true) +jakarta.el.ExpressionFactory wrapExpressionFactory(jakarta.el.ExpressionFactory expressionFactory)
              +
              Deprecated, for removal: This API element is subject to removal in a future version. +
              use ELAwareBeanManager, this method will be removed in CDI 5.0
              Returns a wrapper ExpressionFactory that delegates MethodExpression and - ValueExpression creation to the given ExpressionFactory. When a Unified EL expression - is evaluated using a MethodExpression or ValueExpression returned by the wrapper - ExpressionFactory, the container handles destruction of objects with scope - Dependent.
              -
              -
              Parameters:
              + ValueExpression creation to the given ExpressionFactory. When a Unified EL + expression is evaluated using a MethodExpression or ValueExpression returned by the + wrapper ExpressionFactory, the container handles destruction of objects with scope Dependent.
    +
    +
    Parameters:
    expressionFactory - the ExpressionFactory to wrap
    -
    Returns:
    +
    Returns:
    the wrapped ExpressionFactory
    + - - - - -
      -
    • -

      createAnnotatedType

      -
      <T> AnnotatedType<T> createAnnotatedType​(java.lang.Class<T> type)
      +
    • +
      +

      createAnnotatedType

      +
      <T> AnnotatedType<T> createAnnotatedType(Class<T> type)
      Obtain an AnnotatedType that may be used to read the annotations of the given class or interface.
      -
      -
      Type Parameters:
      +
      +
      Type Parameters:
      T - the class or interface
      -
      Parameters:
      -
      type - the Class object
      -
      Returns:
      +
      Parameters:
      +
      type - the Class object
      +
      Returns:
      the AnnotatedType
      +
    • -
    - - - -
      -
    • -

      getInjectionTargetFactory

      -
      <T> InjectionTargetFactory<T> getInjectionTargetFactory​(AnnotatedType<T> annotatedType)
      +
    • +
      +

      getInjectionTargetFactory

      +
      <T> InjectionTargetFactory<T> getInjectionTargetFactory(AnnotatedType<T> annotatedType)

      An implementation of InjectionTargetFactory that provides container created InjectionTarget instances.

      - +

      This factory can be wrapped to add behavior to container created injection targets.

      -
      -
      Type Parameters:
      +
      +
      Type Parameters:
      T - the type
      -
      Parameters:
      +
      Parameters:
      annotatedType - the annotated type to create the injection target factory for
      -
      Returns:
      +
      Returns:
      an InjectionTargetFactory
      -
      Since:
      +
      Since:
      1.1
      +
    • -
    - - - -
      -
    • -

      getProducerFactory

      -
      <X> ProducerFactory<X> getProducerFactory​(AnnotatedField<? super X> field,
      -                                          Bean<X> declaringBean)
      +
    • +
      +

      getProducerFactory

      +
      <X> ProducerFactory<X> getProducerFactory(AnnotatedField<? super X> field, + Bean<X> declaringBean)

      An implementation of ProducerFactory that provides container created Producer instances for the given field.

      - +

      This factory can be wrapped to add behavior to container created producers.

      -
      -
      Type Parameters:
      +
      +
      Type Parameters:
      X - the declaring type
      -
      Parameters:
      +
      Parameters:
      field - the field to create the producer factory for
      declaringBean - the bean declaring the producer. May be null if the producer is static or the declaring object is non-contextual
      -
      Returns:
      +
      Returns:
      the producer factory for the field
      -
      Since:
      +
      Since:
      1.1
      +
    • -
    - - - -
      -
    • -

      getProducerFactory

      -
      <X> ProducerFactory<X> getProducerFactory​(AnnotatedMethod<? super X> method,
      -                                          Bean<X> declaringBean)
      +
    • +
      +

      getProducerFactory

      +
      <X> ProducerFactory<X> getProducerFactory(AnnotatedMethod<? super X> method, + Bean<X> declaringBean)

      An implementation of ProducerFactory that provides container created Producer instances for the given method.

      - +

      This factory can be wrapped to add behavior to container created producers.

      -
      -
      Type Parameters:
      +
      +
      Type Parameters:
      X - bean type
      -
      Parameters:
      +
      Parameters:
      method - the method to create the producer factory for
      declaringBean - the bean declaring the producer. May be null if the producer is static or the declaring object is non-contextual
      -
      Returns:
      +
      Returns:
      the producer factory for the method
      -
      Since:
      +
      Since:
      1.1
      +
    • -
    - - - -
      -
    • -

      createBeanAttributes

      -
      <T> BeanAttributes<T> createBeanAttributes​(AnnotatedType<T> type)
      +
    • +
      +

      createBeanAttributes

      +
      <T> BeanAttributes<T> createBeanAttributes(AnnotatedType<T> type)
      Obtains a BeanAttributes for the given AnnotatedType. The container ignores the annotations and types declared by the elements of the actual Java class and uses the metadata provided via the Annotated interface instead.
      -
      -
      Type Parameters:
      +
      +
      Type Parameters:
      T - the type
      -
      Parameters:
      +
      Parameters:
      type - the AnnotatedType
      -
      Returns:
      +
      Returns:
      a container provided implementation of InjectionTarget
      -
      Since:
      +
      Since:
      1.1
      +
    • -
    - - - - - - - - - - - - - - - - - - - - - - - -
      -
    • -

      getExtension

      -
      <T extends Extension> T getExtension​(java.lang.Class<T> extensionClass)
      +
    • +
      +

      getExtension

      +
      <T extends Extension> T getExtension(Class<T> extensionClass)
      Obtains the container's instance of an Extension class declared in META-INF/services.
      -
      -
      Type Parameters:
      +
      +
      Type Parameters:
      T - the type of the extension
      -
      Parameters:
      +
      Parameters:
      extensionClass - the type of the extension class
      -
      Returns:
      +
      Returns:
      the extension instance
      -
      Throws:
      -
      java.lang.IllegalArgumentException - if the container has no instance of the given class
      -
      Since:
      +
      Throws:
      +
      IllegalArgumentException - if the container has no instance of the given class
      +
      Since:
      1.1
      +
    • -
    - - - - + - - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeforeBeanDiscovery.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeforeBeanDiscovery.html index 6044ddda4f..eccdfe437b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeforeBeanDiscovery.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeforeBeanDiscovery.html @@ -1,472 +1,374 @@ - - + BeforeBeanDiscovery (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface BeforeBeanDiscovery

    +
    Module jakarta.cdi
    + +

    Interface BeforeBeanDiscovery

    -
    -
    -
      -
    • +

      -
      public interface BeforeBeanDiscovery
      +
      public interface BeforeBeanDiscovery

      This event type is thrown by the container before the bean discovery process begins. If any observer method of the BeforeBeanDiscovery event throws an exception, the exception is treated as a definition error by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Author:
    Pete Muir, David Allen, Antoine Sabot-Durand
    - - -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            addQualifier

            -
            void addQualifier​(java.lang.Class<? extends java.lang.annotation.Annotation> qualifier)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              addQualifier

              +
              void addQualifier(Class<? extends Annotation> qualifier)

              Declares an annotation type as a Qualifier qualifier type.

              - +

              This is only required if you wish to make an annotation a qualifier without adding Qualifier to it.

              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifier - The annotation to treat as a qualifier
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              addQualifier

              -
              void addQualifier​(AnnotatedType<? extends java.lang.annotation.Annotation> qualifier)
              +
            • +
              +

              addQualifier

              +
              void addQualifier(AnnotatedType<? extends Annotation> qualifier)

              Declares an annotation type as a Qualifier qualifier type.

              - +

              This is only required if you wish to make an annotation a qualifier without adding Qualifier to it.

              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifier - The annotation to treat as a qualifier
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              1.1
              +
            • -
            - - - -
              -
            • -

              addScope

              -
              void addScope​(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType,
              -              boolean normal,
              -              boolean passivating)
              +
            • +
              +

              addScope

              +
              void addScope(Class<? extends Annotation> scopeType, + boolean normal, + boolean passivating)

              Declares an annotation type as a scope type.

              - +

              This is only required if you wish to make an annotation a scope type without adding the NormalScope or Scope annotations to it. You can also use this method to override an existing normal scope definition.

              -
              -
              Parameters:
              +
              +
              Parameters:
              scopeType - The annotation type to treat as a scope type
              normal - Indicates if the scope is normal
              passivating - Indicates if the scope is passivation capable
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              See Also:
              -
              AfterBeanDiscovery.addContext(Context)
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              See Also:
              +
              + +
              +
            • -
            - - - -
              -
            • -

              addStereotype

              -
              void addStereotype​(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype,
              -                   java.lang.annotation.Annotation... stereotypeDef)
              +
            • +
              +

              addStereotype

              +
              void addStereotype(Class<? extends Annotation> stereotype, + Annotation... stereotypeDef)

              Declares an annotation type as a stereotype, and specifies its meta-annotations.

              - +

              This is only required if you wish to make an annotation a stereotype without adding Stereotype to it. You can also use this method to override an existing stereotype definition.

              -
              -
              Parameters:
              +
              +
              Parameters:
              stereotype - The annotation type to treat as a stereotype
              stereotypeDef - An optional list of annotations defining the stereotype
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              addInterceptorBinding

              -
              void addInterceptorBinding​(AnnotatedType<? extends java.lang.annotation.Annotation> bindingType)
              +
            • +
              +

              addInterceptorBinding

              +
              void addInterceptorBinding(AnnotatedType<? extends Annotation> bindingType)

              Declares an annotation type as an interceptor binding type.

              - +

              This is only required if you wish to make an annotation an interceptor binding type without adding InterceptorBinding to it.

              -
              -
              Parameters:
              +
              +
              Parameters:
              bindingType - The annotation type to treat as an interceptor binding type
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              addInterceptorBinding

              -
              void addInterceptorBinding​(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType,
              -                           java.lang.annotation.Annotation... bindingTypeDef)
              +
            • +
              +

              addInterceptorBinding

              +
              void addInterceptorBinding(Class<? extends Annotation> bindingType, + Annotation... bindingTypeDef)

              Declares an annotation type as an interceptor binding type, and specifies its meta-annotations.

              - +

              This is only required if you wish to make an annotation an interceptor binding type without adding InterceptorBinding to it.

              -
              -
              Parameters:
              +
              +
              Parameters:
              bindingType - The annotation type to treat as an interceptor binding type
              bindingTypeDef - An optional list of annotations defining the interceptor
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              1.1
              +
            • -
            - - - -
              -
            • -

              addAnnotatedType

              -
              void addAnnotatedType​(AnnotatedType<?> type,
              -                      java.lang.String id)
              +
            • +
              +

              addAnnotatedType

              +
              void addAnnotatedType(AnnotatedType<?> type, + String id)

              - Adds a given AnnotatedType to the set of types which will be scanned during bean - discovery. + Adds a given AnnotatedType to the set of types which will be scanned during bean discovery.

              - +

              - Thanks to the id parameter, this method allows multiple annotated types, based on the same underlying type, to be defined. AnnotatedTypes - discovered by the container use the fully qualified class name of AnnotatedType.getJavaClass() to identify the - type. + Thanks to the id parameter, this method allows multiple annotated types, based on the same underlying type, to be + defined. AnnotatedTypes discovered by the container use the fully qualified class name of + AnnotatedType.getJavaClass() to identify the type.

              - +

              AfterBeanDiscovery.getAnnotatedType(Class, String) and AfterBeanDiscovery.getAnnotatedTypes(Class) allows annotated types to be obtained by identifier.

              -
              -
              Parameters:
              +
              +
              Parameters:
              type - The AnnotatedType to add for later scanning
              id - the identifier used to distinguish this AnnotatedType from an other one based on the same underlying type
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              1.1
              +
            • -
            - - - -
              -
            • -

              addAnnotatedType

              -
              <T> AnnotatedTypeConfigurator<T> addAnnotatedType​(java.lang.Class<T> type,
              -                                                  java.lang.String id)
              +
            • +
              +

              addAnnotatedType

              +
              <T> AnnotatedTypeConfigurator<T> addAnnotatedType(Class<T> type, + String id)

              Obtains a new AnnotatedTypeConfigurator to configure a new AnnotatedType and add it to the set of types which will be scanned during bean discovery at the end of the observer invocation

              - Thanks to the id parameter, this method allows multiple annotated types, based on the same underlying type, to be defined with a builder. + Thanks to the id parameter, this method allows multiple annotated types, based on the same underlying type, to be defined + with a builder. AnnotatedTypes discovered by the container use the fully qualified class name of AnnotatedType.getJavaClass() to identify the type.

              @@ -477,28 +379,25 @@

              addAnnotatedType

              Each call returns a new AnnotatedTypeConfigurator
              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - class type
              -
              Parameters:
              +
              Parameters:
              type - class used to initialized the type and annotations on the AnnotatedTypeConfigurator
              id - the identifier used to distinguish this AnnotatedType from an other one based on the same underlying type
              -
              Returns:
              +
              Returns:
              a non reusable AnnotatedTypeConfigurator to configure the new AnnotatedType
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              2.0
              +
            • -
            - - - -
              -
            • -

              configureQualifier

              -
              <T extends java.lang.annotation.Annotation> AnnotatedTypeConfigurator<T> configureQualifier​(java.lang.Class<T> qualifier)
              +
            • +
              +

              configureQualifier

              +
              <T extends Annotation> AnnotatedTypeConfigurator<T> configureQualifier(Class<T> qualifier)

              Obtains a new AnnotatedTypeConfigurator to configure a new AnnotatedType and declares it as a Qualifier qualifier type. @@ -508,27 +407,24 @@

              configureQualifier

              This is only required if you wish to make an annotation a qualifier without adding Qualifier to it and need to easily add other annotations (like Nonbinding on its members.

              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - qualifier type
              -
              Parameters:
              +
              Parameters:
              qualifier - The annotation class used to initialized the configurator
              -
              Returns:
              +
              Returns:
              a non reusable AnnotatedTypeConfigurator to configure the qualifier
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              2.0
              +
            • -
            - - - -
              -
            • -

              configureInterceptorBinding

              -
              <T extends java.lang.annotation.Annotation> AnnotatedTypeConfigurator<T> configureInterceptorBinding​(java.lang.Class<T> bindingType)
              +
            • +
              +

              configureInterceptorBinding

              +
              <T extends Annotation> AnnotatedTypeConfigurator<T> configureInterceptorBinding(Class<T> bindingType)

              Obtains a new AnnotatedTypeConfigurator to configure a new AnnotatedType and declares it as an interceptor binding type. @@ -539,92 +435,32 @@

              configureInterceptorBinding

              InterceptorBinding to it and need to easily add other annotations (like Nonbinding on its members.

              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - binding class type
              -
              Parameters:
              +
              Parameters:
              bindingType - The annotation class used to initialized the configurator
              -
              Returns:
              +
              Returns:
              a non reusable AnnotatedTypeConfigurator to configure the interceptor binding
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              2.0
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeforeShutdown.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeforeShutdown.html index 00a56d3a76..245b572612 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeforeShutdown.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/BeforeShutdown.html @@ -1,206 +1,99 @@ - - + BeforeShutdown (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface BeforeShutdown

    +
    Module jakarta.cdi
    + +

    Interface BeforeShutdown

    -
    -
    -
      -
    • +

      -
      public interface BeforeShutdown
      +
      public interface BeforeShutdown

      The type of the final event the container fires after it has finished processing requests and destroyed all contexts. If any observer method of the BeforeShutdown event throws an exception, the exception is ignored by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Author:
    David Allen
    - - -
    -
    - + +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/CDI.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/CDI.html index 3928d479de..f0a821e562 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/CDI.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/CDI.html @@ -1,401 +1,274 @@ - - + CDI (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Class CDI<T>

    +
    Module jakarta.cdi
    + +

    Class CDI<T>

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • jakarta.enterprise.inject.spi.CDI<T>
      • -
      -
    • -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      java.lang.Object +
      jakarta.enterprise.inject.spi.CDI<T>
      +
      +
      +
      +
      Type Parameters:
      T - type inherited from Instance. Always Object for CDI
      -
      +
      All Implemented Interfaces:
      -
      Instance<T>, jakarta.inject.Provider<T>, java.lang.Iterable<T>
      +
      Instance<T>, jakarta.inject.Provider<T>, Iterable<T>

      -
      public abstract class CDI<T>
      -extends java.lang.Object
      -implements Instance<T>
      +
      public abstract class CDI<T> +extends Object +implements Instance<T>
      Provides access to the current container.

      CDI implements Instance and therefore might be used to perform programmatic lookup. If no qualifier is passed to Instance.select(java.lang.annotation.Annotation...) method, the @Default qualifier is assumed.

      -
      -
      Since:
      +
      +
      Since:
      1.1
      -
      Author:
      +
      Author:
      Pete Muir, Antoine Sabot-Durand, John D. Ament
      -
    • -
    -
    -
    -
    +
    +
    +
    +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    +
    +

    Methods inherited from interface jakarta.enterprise.inject.Instance

    +destroy, getHandle, handles, handlesStream, isAmbiguous, isResolvable, isUnsatisfied, select, select, select, stream
    +
    +

    Methods inherited from interface java.lang.Iterable

    +forEach, iterator, spliterator
    +
    +

    Methods inherited from interface jakarta.inject.Provider

    +get
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - -
            -
          • -

            discoveredProviders

            -
            protected static volatile java.util.Set<CDIProvider> discoveredProviders
            -
          • -
          - - - -
            -
          • -

            configuredProvider

            -
            protected static volatile CDIProvider configuredProvider
            +
          • +
            +

            Field Details

            +
              +
            • +
              +

              discoveredProviders

              +
              protected static volatile Set<CDIProvider> discoveredProviders
              +
              The set of discovered CDIProviders
              +
            • -
            +
          • +
            +

            configuredProvider

            +
            protected static volatile CDIProvider configuredProvider
            +
            CDIProvider set by user or retrieved by service loader
            +
        - -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            CDI

            -
            public CDI()
          • -
          + +
        • +
          +

          Constructor Details

          +
            +
          • +
            +

            CDI

            +
            public CDI()
            +
          +
        • -
          -
            -
          • - - -

            Method Detail

            - - - -
              -
            • -

              current

              -
              public static CDI<java.lang.Object> current()
              +
            • +
              +

              Method Details

              +
                +
              • +
                +

                current

                +
                public static CDI<Object> current()

                Get the CDI instance that provides access to the current container.

                - +

                - If there are no providers available, an IllegalStateException is thrown, otherwise the first provider which can + If there are no providers available, an IllegalStateException is thrown, otherwise the first provider which can access the container is used.

                -
                -
                Returns:
                +
                +
                Returns:
                the CDI instance
                -
                Throws:
                -
                java.lang.IllegalStateException - if no CDIProvider is available
                +
                Throws:
                +
                IllegalStateException - if no CDIProvider is available
                +
              • -
              - - - -
                -
              • -

                setCDIProvider

                -
                public static void setCDIProvider​(CDIProvider provider)
                +
              • +
                +

                setCDIProvider

                +
                public static void setCDIProvider(CDIProvider provider)

                Set the CDIProvider to use.

                @@ -403,116 +276,50 @@

                setCDIProvider

                If a CDIProvider is set using this method, any provider specified as a service provider will not be used.

                -
                -
                Parameters:
                +
                +
                Parameters:
                provider - the provider to use
                -
                Throws:
                -
                java.lang.IllegalArgumentException - if the provided argument is null
                +
                Throws:
                +
                IllegalArgumentException - if the provided argument is null
                +
              • -
              - - - -
                -
              • -

                getBeanManager

                -
                public abstract BeanManager getBeanManager()
                +
              • +
                +

                getBeanManager

                +
                public abstract BeanManager getBeanManager()
                Get the CDI BeanManager for the current context
                -
                -
                Returns:
                +
                +
                Returns:
                the BeanManager
                +
              • -
              - - - - +
        -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/CDIProvider.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/CDIProvider.html index 00aaf26f30..af297fa084 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/CDIProvider.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/CDIProvider.html @@ -1,350 +1,215 @@ - - + CDIProvider (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface CDIProvider

    +
    Module jakarta.cdi
    + +

    Interface CDIProvider

    -
    -
    -
      -
    • -
      +
      +
      All Superinterfaces:
      Prioritized

      -
      public interface CDIProvider
      -extends Prioritized
      +
      public interface CDIProvider +extends Prioritized
      Interface implemented by a CDI provider to provide access to the current container
      -
      -
      Since:
      +
      +
      Since:
      1.1
      -
      Author:
      +
      Author:
      Pete Muir
      -
    • -
    -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - -
            -
          • -

            DEFAULT_CDI_PROVIDER_PRIORITY

            -
            static final int DEFAULT_CDI_PROVIDER_PRIORITY
            -
            -
            See Also:
            -
            Constant Field Values
            +
          • +
            +

            Field Details

            +
              +
            • +
              +

              DEFAULT_CDI_PROVIDER_PRIORITY

              +
              static final int DEFAULT_CDI_PROVIDER_PRIORITY
              +
              The default value for getPriority()
              +
              +
              See Also:
              +
              + +
              -
            • -
            +
        + -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getCDI

            -
            CDI<java.lang.Object> getCDI()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getCDI

              +
              CDI<Object> getCDI()
              Provides access to the current container
              -
              -
              Returns:
              +
              +
              Returns:
              the CDI instance for the current container
              -
              Throws:
              -
              java.lang.IllegalStateException - if no CDI container is available
              +
              Throws:
              +
              IllegalStateException - if no CDI container is available
              +
            • -
            - - - -
              -
            • -

              getPriority

              -
              default int getPriority()
              -
              Description copied from interface: Prioritized
              +
            • +
              +

              getPriority

              +
              default int getPriority()
              +
              Description copied from interface: Prioritized

              Returns the priority for this SPI element.

              -
              -
              Specified by:
              +
              +
              Specified by:
              getPriority in interface Prioritized
              -
              Returns:
              +
              Returns:
              the priority value
              -
            • -
            +
      -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Decorator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Decorator.html index 4344b4e90f..08da033831 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Decorator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Decorator.html @@ -1,142 +1,92 @@ - - + Decorator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Decorator<T>

    +
    Module jakarta.cdi
    + +

    Interface Decorator<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the decorator bean class
      -
      +
      All Superinterfaces:
      Bean<T>, BeanAttributes<T>, Contextual<T>

      -
      public interface Decorator<T>
      -extends Bean<T>
      +
      public interface Decorator<T> +extends Bean<T>

      Represents an enabled decorator.

      @@ -145,215 +95,121 @@

      Interface Decorator<T>

      given priority value for entire application.

      -

      CDI Lite implementations are not required to provide support for decorators.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for decorators. +

    +
    +
    Author:
    Gavin King, Pete Muir
    - - -
    -
    -
    +
    + + + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.Bean

    +getBeanClass, getInjectionPoints
    +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes

    +getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
    +
    +

    Methods inherited from interface jakarta.enterprise.context.spi.Contextual

    +create, destroy
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getDelegateType

            -
            java.lang.reflect.Type getDelegateType()
            +
          • +
            +

            Method Details

            + - - - -
              -
            • -

              getDelegateQualifiers

              -
              java.util.Set<java.lang.annotation.Annotation> getDelegateQualifiers()
              +
            • +
              +

              getDelegateQualifiers

              +
              Set<Annotation> getDelegateQualifiers()

              Obtains the qualifiers of the delegate injection point.

              -
              -
              Returns:
              +
              +
              Returns:
              the delegate qualifiers
              +
            • -
            - - - -
              -
            • -

              getDecoratedTypes

              -
              java.util.Set<java.lang.reflect.Type> getDecoratedTypes()
              +
            • +
              +

              getDecoratedTypes

              +
              Set<Type> getDecoratedTypes()

              Obtains the decorated types.

              -
              -
              Returns:
              -
              the set of decorated types
              +
              +
              Returns:
              +
              the set of decorated types
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/DefinitionException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/DefinitionException.html index 299bdfa142..f012a5b565 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/DefinitionException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/DefinitionException.html @@ -1,354 +1,218 @@ - - + DefinitionException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class DefinitionException

    +
    Module jakarta.cdi
    + +

    Class DefinitionException

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • java.lang.Throwable
      • -
      • -
          -
        • java.lang.Exception
        • -
        • -
            -
          • java.lang.RuntimeException
          • -
          • -
              -
            • jakarta.enterprise.inject.spi.DefinitionException
            • -
            -
          • -
          -
        • -
        -
      • -
      -
    • -
    -
    -
      -
    • -
      +
      java.lang.Object +
      java.lang.Throwable +
      java.lang.Exception +
      java.lang.RuntimeException +
      jakarta.enterprise.inject.spi.DefinitionException
      +
      +
      +
      +
      +
      +
      All Implemented Interfaces:
      -
      java.io.Serializable
      +
      Serializable

      -
      public class DefinitionException
      -extends java.lang.RuntimeException
      +
      public class DefinitionException +extends RuntimeException

      Thrown when a definition error occurs.

      - +

      Definition errors are developer errors. They may be detected by tooling at development time, and are also detected by the container at initialization time. If a definition error exists in a deployment, initialization will be aborted by the container.

      - +

      The container is permitted to define a non-portable mode, for use at development time, in which some definition errors do not cause application initialization to abort.

      - +

      An implementation is permitted to throw a subclass of DefinitionException for any definition error which exists.

      -
      -
      Since:
      +
      +
      Since:
      1.1
      -
      Author:
      +
      Author:
      Pete Muir
      -
      See Also:
      -
      Serialized Form
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            DefinitionException

            -
            public DefinitionException​(java.lang.String message,
            -                           java.lang.Throwable t)
            -
          • -
          - - - -
            -
          • -

            DefinitionException

            -
            public DefinitionException​(java.lang.String message)
            +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              DefinitionException

              +
              public DefinitionException(String message, + Throwable cause)
              +
              Creates the exception with given detail message and cause.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              cause - the cause
              +
              +
            • -
            - - - -
              -
            • -

              DefinitionException

              -
              public DefinitionException​(java.lang.Throwable t)
              +
            • +
              +

              DefinitionException

              +
              public DefinitionException(String message)
              +
              Creates the exception with given detail message.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              +
            • -
            +
          • +
            +

            DefinitionException

            +
            public DefinitionException(Throwable cause)
            +
            Creates the exception with given cause.
            +
            +
            Parameters:
            +
            cause - the cause
            +
            +
      -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/DeploymentException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/DeploymentException.html index 2a71dfb948..fb7e98522f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/DeploymentException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/DeploymentException.html @@ -1,353 +1,217 @@ - - + DeploymentException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class DeploymentException

    +
    Module jakarta.cdi
    + +

    Class DeploymentException

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • java.lang.Throwable
      • -
      • -
          -
        • java.lang.Exception
        • -
        • -
            -
          • java.lang.RuntimeException
          • -
          • -
              -
            • jakarta.enterprise.inject.spi.DeploymentException
            • -
            -
          • -
          -
        • -
        -
      • -
      -
    • -
    -
    -
      -
    • -
      +
      java.lang.Object +
      java.lang.Throwable +
      java.lang.Exception +
      java.lang.RuntimeException +
      jakarta.enterprise.inject.spi.DeploymentException
      +
      +
      +
      +
      +
      +
      All Implemented Interfaces:
      -
      java.io.Serializable
      +
      Serializable

      -
      public class DeploymentException
      -extends java.lang.RuntimeException
      +
      public class DeploymentException +extends RuntimeException

      Thrown when a deployment problem occurs.

      - +

      Deployment problems are detected by the container at initialization time. If a deployment problem exists in a deployment, initialization will be aborted by the container.

      - +

      The container is permitted to define a non-portable mode, for use at development time, in which some deployment problems do not cause application initialization to abort.

      - +

      An implementation is permitted to throw a subclass of DeploymentException for any deployment problem.

      -
      -
      Since:
      +
      +
      Since:
      1.1
      -
      Author:
      +
      Author:
      Pete Muir
      -
      See Also:
      -
      Serialized Form
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            DeploymentException

            -
            public DeploymentException​(java.lang.String message,
            -                           java.lang.Throwable t)
            -
          • -
          - - - -
            -
          • -

            DeploymentException

            -
            public DeploymentException​(java.lang.String message)
            +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              DeploymentException

              +
              public DeploymentException(String message, + Throwable cause)
              +
              Creates the exception with given detail message and cause.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              cause - the cause
              +
              +
            • -
            - - - -
              -
            • -

              DeploymentException

              -
              public DeploymentException​(java.lang.Throwable t)
              +
            • +
              +

              DeploymentException

              +
              public DeploymentException(String message)
              +
              Creates the exception with given detail message.
              +
              +
              Parameters:
              +
              message - the detail message
              +
              +
            • -
            +
          • +
            +

            DeploymentException

            +
            public DeploymentException(Throwable cause)
            +
            Creates the exception with given cause.
            +
            +
            Parameters:
            +
            cause - the cause
            +
            +
      -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/EventContext.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/EventContext.html index 809885862d..fc1bef4574 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/EventContext.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/EventContext.html @@ -1,292 +1,167 @@ - - + EventContext (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface EventContext<T>

    +
    Module jakarta.cdi
    + +

    Interface EventContext<T>

    -
    -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getEvent

            -
            T getEvent()
            -
            -
            Returns:
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getEvent

              +
              T getEvent()
              +
              +
              Returns:
              the event object, aka the payload
              +
            • -
            - - - -
              -
            • -

              getMetadata

              -
              EventMetadata getMetadata()
              -
              -
              Returns:
              +
            • +
              +

              getMetadata

              +
              EventMetadata getMetadata()
              +
              +
              Returns:
              the event metadata
              -
            • -
            +
      -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/EventMetadata.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/EventMetadata.html index ef087451d5..45686038ef 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/EventMetadata.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/EventMetadata.html @@ -1,320 +1,190 @@ - - + EventMetadata (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface EventMetadata

    +
    Module jakarta.cdi
    + +

    Interface EventMetadata

    -
    -
    -
      -
    • +

      -
      public interface EventMetadata
      +
      public interface EventMetadata

      Provides access to metadata about an observed event payload.

      EventMetadata may only be injected into an observer method. For example:

      - +
        public void afterLogin(@Observes LoggedInEvent event, EventMetadata eventMetadata) { ... }
        
      -
      -
      Since:
      +
      +
      Since:
      1.1
      -
      Author:
      +
      Author:
      Lincoln Baxter, III, Pete Muir, Antoine Sabot-Durand
      -
      See Also:
      -
      Observes
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getQualifiers

            -
            java.util.Set<java.lang.annotation.Annotation> getQualifiers()
            -
            -
            Returns:
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getQualifiers

              +
              Set<Annotation> getQualifiers()
              +
              +
              Returns:
              the qualifiers for which event payload was fired.
              +
            • -
            - - - -
              -
            • -

              getInjectionPoint

              -
              InjectionPoint getInjectionPoint()
              +
            • +
              +

              getInjectionPoint

              +
              InjectionPoint getInjectionPoint()
              Get the InjectionPoint representing the injected Event instance which fired the event
              -
              -
              Returns:
              +
              +
              Returns:
              InjectionPoint of the Event
              +
            • -
            - - - -
              -
            • -

              getType

              -
              java.lang.reflect.Type getType()
              +
            • +
              +

              getType

              +
              Type getType()
              Get the type representing runtime class of the event object with type variables resolved.
              -
              -
              Returns:
              +
              +
              Returns:
              the runtime type of the event object
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Extension.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Extension.html index b10982c482..326802efa3 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Extension.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Extension.html @@ -1,221 +1,114 @@ - - + Extension (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Extension

    +
    Module jakarta.cdi
    + +

    Interface Extension

    -
    -
    -
      -
    • +

      -
      public interface Extension
      +
      public interface Extension

      Service interface implemented by extensions. An extension is a service provider declared in META-INF/services.

      - +

      Service providers may have observer methods, which may observe any event, including any container lifecycle event, and obtain an injected BeanManager.

      - +

      The container instantiates a single instance of each extension at the beginning of the application initialization process and maintains a reference to it until the application shuts down. The container delivers event notifications to this instance by calling its observer methods.

      - +

      Service providers are made available for injection as beans with the qualifier @Default.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Author:
    Gavin King, Pete Muir
    - - -
    -
    - + +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InjectionPoint.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InjectionPoint.html index cb1dc3a013..e23a96b9bc 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InjectionPoint.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InjectionPoint.html @@ -1,437 +1,281 @@ - - + InjectionPoint (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface InjectionPoint

    +
    Module jakarta.cdi
    + +

    Interface InjectionPoint

    -
    -
    -
      -
    • +

      -
      public interface InjectionPoint
      +
      public interface InjectionPoint

      Provides access to metadata about an injection point. May represent an injected field or a parameter of a bean constructor, initializer method, - producer method, disposer method - or observer method. + producer method, disposer method or observer method.

      - +

      If the injection point is a dynamically selected reference obtained then the metadata obtain reflects the injection point of the Instance, with the required type and any additional required qualifiers defined by Instance.select().

      - +

      - Occasionally, a bean with scope @Dependent needs to access metadata relating - to the object to which it belongs. The bean may inject an InjectionPoint representing the injection point into which - the bean was injected. + Occasionally, a bean with scope @Dependent needs to access metadata relating to the object to which it + belongs. The bean may inject an InjectionPoint representing the injection point into which the bean was injected.

      - +

      - For example, the following producer method creates injectable Logger s. The log category of a Logger - depends upon the class of the object into which it is injected. + For example, the following producer method creates injectable Logger s. The log category of a + Logger depends upon the class of the object into which it is injected.

      - +
        @Produces
        Logger createLogger(InjectionPoint injectionPoint) {
            return Logger.getLogger(injectionPoint.getMember().getDeclaringClass().getName());
        }
        
      - +

      - Only dependent objects, may obtain information about the injection point to - which they belong. + Only dependent objects, may obtain information about the injection point to which they belong.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir
      -
    • -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethodDescription
          AnnotatedgetAnnotated() +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          + + +
          Obtain an instance of AnnotatedField or AnnotatedParameter, depending upon whether the injection point is an injected field or a constructor/method parameter.
          -
        • Bean<?>getBean() + +
          Bean<?>
          + +
          Get the Bean object representing the bean that defines the injection point.
          -
          java.lang.reflect.MembergetMember() -
          Get the Field object in the case of field injection, the Method - object in the case of method parameter injection or the Constructor object in the case of +
          + + +
          +
          Get the Field object in the case of field injection, the Method + object in the case of method parameter injection or the Constructor object in the case of constructor parameter injection.
          -
          java.util.Set<java.lang.annotation.Annotation>getQualifiers() + + + +
          Get the required qualifiers of the injection point.
          -
          java.lang.reflect.TypegetType() + + + +
          Get the required type of injection point.
          -
          booleanisDelegate() + +
          boolean
          + +
          Determines if the injection point is a decorator delegate injection point.
          -
          booleanisTransient() + +
          boolean
          + +
          Determines if the injection is a transient field.
          -
          -
        • -
        +
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getType

            -
            java.lang.reflect.Type getType()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getType

              +
              Type getType()
              Get the required type of injection point.
              -
              -
              Returns:
              +
              +
              Returns:
              the required type
              +
            • -
            - - - -
              -
            • -

              getQualifiers

              -
              java.util.Set<java.lang.annotation.Annotation> getQualifiers()
              +
            • +
              +

              getQualifiers

              +
              Set<Annotation> getQualifiers()
              Get the required qualifiers of the injection point.
              -
              -
              Returns:
              +
              +
              Returns:
              the required qualifiers
              +
            • -
            - - - -
              -
            • -

              getBean

              -
              Bean<?> getBean()
              +
            • +
              +

              getBean

              +
              Bean<?> getBean()
              Get the Bean object representing the bean that defines the injection point. If the injection point does not belong to a bean, return a null value.
              -
              -
              Returns:
              +
              +
              Returns:
              the Bean object representing bean that defines the injection point, of null if the injection point does not belong to a bean
              +
            • -
            - - - -
              -
            • -

              getMember

              -
              java.lang.reflect.Member getMember()
              -
              Get the Field object in the case of field injection, the Method - object in the case of method parameter injection or the Constructor object in the case of +
            • +
              +

              getMember

              +
              Member getMember()
              +
              Get the Field object in the case of field injection, the Method + object in the case of method parameter injection or the Constructor object in the case of constructor parameter injection.
              -
              -
              Returns:
              +
              +
              Returns:
              the member
              +
            • -
            - - - -
              -
            • -

              getAnnotated

              -
              Annotated getAnnotated()
              +
            • +
              +

              getAnnotated

              +
              Annotated getAnnotated()
              Obtain an instance of AnnotatedField or AnnotatedParameter, depending upon whether the injection point is an injected field or a constructor/method parameter.
              -
              -
              Returns:
              +
              +
              Returns:
              an AnnotatedField or AnnotatedParameter
              +
            • -
            - - - -
              -
            • -

              isDelegate

              -
              boolean isDelegate()
              +
            • +
              +

              isDelegate

              +
              boolean isDelegate()
              Determines if the injection point is a decorator delegate injection point.
              -
              -
              Returns:
              -
              true if the injection point is a decorator delegate injection point, and false otherwise
              +
              +
              Returns:
              +
              true if the injection point is a decorator delegate injection point, and false + otherwise
              +
            • -
            - - - -
              -
            • -

              isTransient

              -
              boolean isTransient()
              +
            • +
              +

              isTransient

              +
              boolean isTransient()
              Determines if the injection is a transient field.
              -
              -
              Returns:
              +
              +
              Returns:
              true if the injection point is a transient field, and false otherwise
              -
            • -
            +
      -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InjectionTarget.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InjectionTarget.html index 96459252b6..cd2bcc1e4d 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InjectionTarget.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InjectionTarget.html @@ -1,357 +1,219 @@ - - + InjectionTarget (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface InjectionTarget<T>

    +
    Module jakarta.cdi
    + +

    Interface InjectionTarget<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - The class of the instance
      -
      +
      All Superinterfaces:
      Producer<T>

      -
      public interface InjectionTarget<T>
      -extends Producer<T>
      +
      public interface InjectionTarget<T> +extends Producer<T>

      Provides operations for performing dependency injection and lifecycle callbacks on an instance of a type.

      -

      CDI Lite implementations are not required to provide support for InjectionTarget.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for InjectionTarget. +

    +
    +
    Author:
    Pete Muir, David Allen
    -
    See Also:
    -
    PostConstruct, -PreDestroy
    -
    - +
    See Also:
    +
    +
      +
    • PostConstruct
    • +
    • PreDestroy
    -
    -
    -
      -
    • + + + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethodDescription
          voidinject​(T instance, - CreationalContext<T> ctx) +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          +
          void
          +
          inject(T instance, + CreationalContext<T> ctx)
          +
          Performs dependency injection upon the given object.
          -
        • voidpostConstruct​(T instance) + +
          void
          +
          postConstruct(T instance)
          +
          - Calls the PostConstruct callback, if it exists, according to the semantics required by the Java - EE platform specification.
          -
          voidpreDestroy​(T instance) + Calls the PostConstruct callback, if it exists, according to the semantics required by the + Java EE platform specification. + +
          void
          +
          preDestroy(T instance)
          +
          - Calls the PreDestroy callback, if it exists, according to the semantics required by the Java EE - platform specification.
          -
          - -
        • -
        + Calls the PreDestroy callback, if it exists, according to the semantics required by the Java + EE platform specification.
    +
    +
    + + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.Producer

    +dispose, getInjectionPoints, produce
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - - - -
            -
          • -

            inject

            -
            void inject​(T instance,
            -            CreationalContext<T> ctx)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              inject

              +
              void inject(T instance, + CreationalContext<T> ctx)

              Performs dependency injection upon the given object. Performs Java EE component environment injection, sets the value of all injected fields, and calls all initializer methods.

              -
              -
              Parameters:
              +
              +
              Parameters:
              instance - The instance upon which to perform injection
              ctx - The CreationalContext to use for creating new instances
              +
            • -
            - - - - - -
              -
            • -

              postConstruct

              -
              void postConstruct​(T instance)
              +
            • +
              +

              postConstruct

              +
              void postConstruct(T instance)

              - Calls the PostConstruct callback, if it exists, according to the semantics required by the Java - EE platform specification. + Calls the PostConstruct callback, if it exists, according to the semantics required by the + Java EE platform specification.

              -
              -
              Parameters:
              +
              +
              Parameters:
              instance - The instance on which to invoke the PostConstruct method
              +
            • -
            - - - - - -
              -
            • -

              preDestroy

              -
              void preDestroy​(T instance)
              +
            • +
              +

              preDestroy

              +
              void preDestroy(T instance)

              - Calls the PreDestroy callback, if it exists, according to the semantics required by the Java EE - platform specification. + Calls the PreDestroy callback, if it exists, according to the semantics required by the Java + EE platform specification.

              -
              -
              Parameters:
              +
              +
              Parameters:
              instance - The instance on which to invoke the PreDestroy method
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InjectionTargetFactory.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InjectionTargetFactory.html index b78e257d2a..8171a14ac0 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InjectionTargetFactory.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InjectionTargetFactory.html @@ -1,327 +1,204 @@ - - + InjectionTargetFactory (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface InjectionTargetFactory<T>

    +
    Module jakarta.cdi
    + +

    Interface InjectionTargetFactory<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - type on which this InjectionTarget operates

      -
      public interface InjectionTargetFactory<T>
      +
      public interface InjectionTargetFactory<T>

      An InjectionTargetFactory can create an InjectionTarget for a given bean.

      - +

      - The InjectionTargetFactory obtained from BeanManager.getInjectionTargetFactory(AnnotatedType) is capable of providing - container created injection targets. This factory can be wrapped to add behavior to container created injection targets. + The InjectionTargetFactory obtained from BeanManager.getInjectionTargetFactory(AnnotatedType) is capable of + providing container created injection targets. This factory can be wrapped to add behavior to container created injection + targets.

      - +

      For example:

      - +
        BeanAttributes<MyBean> myBeanAttributes = beanManager.createBeanAttributes(myBeanAnnotatedType);
        beanManager.createBean(myBeanAttributes, MyBean.class, new InjectionTargetFactory() {
      - 
      +
            public <T> InjectionTarget<T> createInjectionTarget(Bean<T> bean) {
      -         return new WrappingInjectionTarget<T>(beanManager.getInjectionTargetFactory(myBeanAnnotatedType).createInjectionTarget(
      -                 bean));
      +         return new WrappingInjectionTarget<T>(
      +                 beanManager.getInjectionTargetFactory(myBeanAnnotatedType)
      +                         .createInjectionTarget(bean));
            }
        });
        
      -

      CDI Lite implementations are not required to provide support for InjectionTargetFactory.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for InjectionTargetFactory. +

    +
    +
    Since:
    1.1
    -
    Author:
    +
    Author:
    Pete Muir, Antoine Sabot-Durand
    - - -
    -
    -
    +
    + + - -
    -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InterceptionFactory.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InterceptionFactory.html index 2eca77c0ec..d7ae678777 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InterceptionFactory.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InterceptionFactory.html @@ -1,137 +1,87 @@ - - + InterceptionFactory (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface InterceptionFactory<T>

    +
    Module jakarta.cdi
    + +

    Interface InterceptionFactory<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - type for which the wrapper is created

      -
      public interface InterceptionFactory<T>
      +
      public interface InterceptionFactory<T>
      InterceptionFactory allows to create a wrapper instance whose method invocations are intercepted by method interceptors and forwarded to a provided instance. @@ -146,8 +96,8 @@

      Interface InterceptionFa BeanManager bm; - public MyBean(BeanManager bm) { - this.bm = bm; + public MyCustomBean(BeanManager bm) { + this.bm = bm; } public MyClass create(CreationalContext<MyClass> creationalContext) { @@ -182,83 +132,67 @@

      Interface InterceptionFa Instances of this class are neither reusable nor suitable for sharing between threads.

      -

      CDI Lite implementations are not required to provide support for InterceptionFactory.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for InterceptionFactory. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Antoine Sabot-Durand
    - - -
    -
    -
    +
    + + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            ignoreFinalMethods

            -
            InterceptionFactory<T> ignoreFinalMethods()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              ignoreFinalMethods

              +
              InterceptionFactory<T> ignoreFinalMethods()
              Instructs the container to ignore all non-static, final methods with public, protected or default visibility declared by any class in the type hierarchy of the intercepted instance during invocation of createInterceptedInstance(Object). @@ -267,19 +201,16 @@

              ignoreFinalMethods

              Ignored methods should never be invoked upon the wrapper instance created by createInterceptedInstance(Object). Otherwise, unpredictable behavior results.

              -
              -
              Returns:
              +
              +
              Returns:
              self
              +
            • -
            - - - - - - - - - -
              -
            • -

              createInterceptedInstance

              -
              T createInterceptedInstance​(T instance)
              +
            • +
              +

              createInterceptedInstance

              +
              T createInterceptedInstance(T instance)
              Returns a wrapper instance whose method invocations are intercepted by method interceptors and forwarded to a provided instance.

              - This method should only be called once, subsequent calls will throw an IllegalStateException. + This method should only be called once, subsequent calls will throw an IllegalStateException.

              @@ -323,86 +249,26 @@

              createInterceptedInstance

              If the provided instance is an internal container construct (such as client proxy), non-portable behavior results.

              -
              -
              Parameters:
              +
              +
              Parameters:
              instance - The provided instance
              -
              Returns:
              +
              Returns:
              a wrapper instance
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InterceptionType.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InterceptionType.html index c844407efc..33ed929834 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InterceptionType.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/InterceptionType.html @@ -1,477 +1,284 @@ - - + InterceptionType (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Enum InterceptionType

    +
    Module jakarta.cdi
    + +

    Enum InterceptionType

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • java.lang.Enum<InterceptionType>
      • -
      • -
          -
        • jakarta.enterprise.inject.spi.InterceptionType
        • -
        -
      • -
      -
    • -
    -
    - -
    -
    -
    +
    + -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static InterceptionTypevalueOf​(java.lang.String name) +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      + + +
      Returns the enum constant of this type with the specified name.
      -
    • static InterceptionType[]values() + + + +
      Returns an array containing the constants of this enum type, in the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    +
    +
    + + +
    +

    Methods inherited from class java.lang.Enum

    +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
    +
    +

    Methods inherited from class java.lang.Object

    +getClass, notify, notifyAll, wait, wait, wait
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Enum Constant Detail

          - - - -
            -
          • -

            AROUND_INVOKE

            -
            public static final InterceptionType AROUND_INVOKE
            +
          • +
            +

            Enum Constant Details

            +
              +
            • +
              +

              AROUND_INVOKE

              +
              public static final InterceptionType AROUND_INVOKE
              Intercepts method invocation
              +
            • -
            - - - -
              -
            • -

              AROUND_TIMEOUT

              -
              public static final InterceptionType AROUND_TIMEOUT
              +
            • +
              +

              AROUND_TIMEOUT

              +
              public static final InterceptionType AROUND_TIMEOUT
              Intercepts a timeout
              +
            • -
            - - - -
              -
            • -

              AROUND_CONSTRUCT

              -
              public static final InterceptionType AROUND_CONSTRUCT
              +
            • +
              +

              AROUND_CONSTRUCT

              +
              public static final InterceptionType AROUND_CONSTRUCT
              Intercepts a constructor invocation
              +
            • -
            - - - -
              -
            • -

              POST_CONSTRUCT

              -
              public static final InterceptionType POST_CONSTRUCT
              +
            • +
              +

              POST_CONSTRUCT

              +
              public static final InterceptionType POST_CONSTRUCT
              Intercepts bean construction
              +
            • -
            - - - -
              -
            • -

              PRE_DESTROY

              -
              public static final InterceptionType PRE_DESTROY
              +
            • +
              +

              PRE_DESTROY

              +
              public static final InterceptionType PRE_DESTROY
              Intercepts bean destruction
              +
            • -
            - - - -
              -
            • -

              PRE_PASSIVATE

              -
              public static final InterceptionType PRE_PASSIVATE
              +
            • +
              +

              PRE_PASSIVATE

              +
              public static final InterceptionType PRE_PASSIVATE
              Intercepts bean passivation, only called for EJBs
              +
            • -
            - - - -
              -
            • -

              POST_ACTIVATE

              -
              public static final InterceptionType POST_ACTIVATE
              +
            • +
              +

              POST_ACTIVATE

              +
              public static final InterceptionType POST_ACTIVATE
              Intercepts bean activation, only called for EJBs
              -
            • -
            +
        + -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            values

            -
            public static InterceptionType[] values()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              values

              +
              public static InterceptionType[] values()
              Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
              -for (InterceptionType c : InterceptionType.values())
              -    System.out.println(c);
              -
              -
              -
              Returns:
              +the order they are declared.
    +
    +
    Returns:
    an array containing the constants of this enum type, in the order they are declared
    + - - - - -
      -
    • -

      valueOf

      -
      public static InterceptionType valueOf​(java.lang.String name)
      +
    • +
      +

      valueOf

      +
      public static InterceptionType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      -
      -
      Parameters:
      +
      +
      Parameters:
      name - the name of the enum constant to be returned.
      -
      Returns:
      +
      Returns:
      the enum constant with the specified name
      -
      Throws:
      -
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      -
      java.lang.NullPointerException - if the argument is null
      +
      Throws:
      +
      IllegalArgumentException - if this enum type has no constant with the specified name
      +
      NullPointerException - if the argument is null
      -
    • -
    + - - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Interceptor.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Interceptor.html index 32440aa676..0e69ecc233 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Interceptor.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Interceptor.html @@ -1,142 +1,92 @@ - - + Interceptor (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Interceptor<T>

    +
    Module jakarta.cdi
    + +

    Interface Interceptor<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the interceptor bean class
      -
      +
      All Superinterfaces:
      Bean<T>, BeanAttributes<T>, Contextual<T>

      -
      public interface Interceptor<T>
      -extends Bean<T>
      +
      public interface Interceptor<T> +extends Bean<T>

      Represents an enabled interceptor.

      @@ -144,232 +94,134 @@

      Interface Interceptor<T>Prioritized in order to enable the interceptor with given priority value for entire application.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, Pete Muir, David Allen
      -
    • -
    -
    -
    -
    +
    +
    + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.Bean

    +getBeanClass, getInjectionPoints
    +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes

    +getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
    +
    +

    Methods inherited from interface jakarta.enterprise.context.spi.Contextual

    +create, destroy
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getInterceptorBindings

            -
            java.util.Set<java.lang.annotation.Annotation> getInterceptorBindings()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getInterceptorBindings

              +
              Set<Annotation> getInterceptorBindings()

              Obtains the interceptor bindings of the interceptor.

              -
              -
              Returns:
              +
              +
              Returns:
              the set of interceptor bindings
              +
            • -
            - - - - - - - - - -
              -
            • -

              intercept

              -
              java.lang.Object intercept​(InterceptionType type,
              -                           T instance,
              -                           jakarta.interceptor.InvocationContext ctx)
              -                    throws java.lang.Exception
              +
            • +
              +

              intercept

              +
              Object intercept(InterceptionType type, + T instance, + jakarta.interceptor.InvocationContext ctx) + throws Exception

              Invokes the specified kind of lifecycle callback or method invocation interception upon the given interceptor instance.

              -
              -
              Parameters:
              +
              +
              Parameters:
              type - the kind of interception
              instance - the interceptor instance to invoke
              ctx - the context for the invocation
              -
              Returns:
              +
              Returns:
              the invocation return value
              -
              Throws:
              -
              java.lang.Exception - thrown by the target method and/or the following interceptors in the chain
              +
              Throws:
              +
              Exception - thrown by the target method and/or the following interceptors in the chain
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ObserverMethod.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ObserverMethod.html index 6c58bd84c8..8418f90325 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ObserverMethod.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ObserverMethod.html @@ -1,336 +1,245 @@ - - + ObserverMethod (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ObserverMethod<T>

    +
    Module jakarta.cdi
    + +

    Interface ObserverMethod<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the event type
      -
      +
      All Superinterfaces:
      Prioritized

      -
      public interface ObserverMethod<T>
      -extends Prioritized
      +
      public interface ObserverMethod<T> +extends Prioritized

      Represents an observer method of an enabled bean. Defines everything the container needs to know about an observer method.

      - +

      If a custom implementation of this interface does not override either notify(Object) or notify(EventContext), the container automatically detects the problem and treats it as a definition error.

      -
      -
      Author:
      +
      +
      Author:
      Gavin King, David Allen, Mark Paluch, Antoine Sabot-Durand
      -
    • -
    -
    -
    -
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - -
            -
          • -

            DEFAULT_PRIORITY

            -
            static final int DEFAULT_PRIORITY
            -
            -
            See Also:
            -
            Constant Field Values
            -
            -
          • +
          • +
            +

            Field Details

            +
              +
            • +
              +

              DEFAULT_PRIORITY

              +
              static final int DEFAULT_PRIORITY
              +
              The default observer priority
              +
              +
              See Also:
              +
              + +
              +
              +
            +
          • -
            -
              -
            • - - -

              Method Detail

              - - - -
                -
              • -

                getBeanClass

                -
                java.lang.Class<?> getBeanClass()
                +
              • +
                +

                Method Details

                +
                  +
                • +
                  +

                  getBeanClass

                  +
                  Class<?> getBeanClass()

                  - Obtains the class of the type that declares the observer method. + Obtains the class of the type that declares the observer method.

                  -
                  -
                  Returns:
                  -
                  the defining class
                  +
                  +
                  Returns:
                  +
                  the defining class
                  +
                • -
                - - - -
                  -
                • -

                  getDeclaringBean

                  -
                  default Bean<?> getDeclaringBean()
                  +
                • +
                  +

                  getDeclaringBean

                  +
                  default Bean<?> getDeclaringBean()

                  Obtains the bean that declares the observer method. For synthetic observers, the return value is undefined. @@ -340,221 +249,135 @@

                  getDeclaringBean

                  For the sake of compatibility with existing custom ObserverMethod implementations, this method by default returns null.

                  -
                  -
                  Returns:
                  +
                  +
                  Returns:
                  the declaring bean
                  -
                  Since:
                  +
                  Since:
                  4.0
                  +
                • -
                - - - -
                  -
                • -

                  getObservedType

                  -
                  java.lang.reflect.Type getObservedType()
                  +
                • +
                  +

                  getObservedType

                  +
                  Type getObservedType()
                  Obtains the observed event type.
                  -
                  -
                  Returns:
                  -
                  the observed event type
                  +
                  +
                  Returns:
                  +
                  the observed event type
                  +
                • -
                - - - -
                  -
                • -

                  getObservedQualifiers

                  -
                  java.util.Set<java.lang.annotation.Annotation> getObservedQualifiers()
                  +
                • +
                  +

                  getObservedQualifiers

                  +
                  Set<Annotation> getObservedQualifiers()
                  Obtains the set of observed event qualifiers.
                  -
                  -
                  Returns:
                  +
                  +
                  Returns:
                  the observed event qualifiers
                  +
                • -
                - - - -
                  -
                • -

                  getReception

                  -
                  Reception getReception()
                  +
                • +
                  +

                  getReception

                  +
                  Reception getReception()
                  Obtains the specified Reception for the observer method. This indicates if the observer is conditional or not.
                  -
                  -
                  Returns:
                  +
                  +
                  Returns:
                  the Reception
                  +
                • -
                - - - - - - - -
                  -
                • -

                  getPriority

                  -
                  default int getPriority()
                  +
                • +
                  +

                  getPriority

                  +
                  default int getPriority()
                  The priority that will be used by the container to determine the notification order in which event observer methods are invoked.
                  -
                  -
                  Specified by:
                  +
                  +
                  Specified by:
                  getPriority in interface Prioritized
                  -
                  Returns:
                  +
                  Returns:
                  The priority that will be used by the container to determine the notification order in which event observer methods are invoked.
                  -
                  Since:
                  +
                  Since:
                  2.0
                  +
                • -
                - - - - - -
                  -
                • -

                  notify

                  -
                  default void notify​(T event)
                  +
                • +
                  +

                  notify

                  +
                  default void notify(T event)

                  Calls the observer method, passing the given event object.

                  - +

                  The implementation of this method for a custom observer method is responsible for deciding whether to call the method if the getReception() returns Reception.IF_EXISTS.

                  -
                  -
                  Parameters:
                  +
                  +
                  Parameters:
                  event - the event object
                  +
                • -
                - - - -
                  -
                • -

                  notify

                  -
                  default void notify​(EventContext<T> eventContext)
                  +
                • +
                  +

                  notify

                  +
                  default void notify(EventContext<T> eventContext)
                  Calls the observer method, passing the given event context.

                  The container should always call this method, but the default implementation delegates to notify(Object).

                  The implementation of this method for a custom observer method is responsible for deciding whether to call the method if the getReception() returns Reception.IF_EXISTS.

                  -
                  -
                  Parameters:
                  +
                  +
                  Parameters:
                  eventContext - EventContext used to notify observers
                  +
                • -
                - - - -
                  -
                • -

                  isAsync

                  -
                  default boolean isAsync()
                  +
                • +
                  +

                  isAsync

                  +
                  default boolean isAsync()

                  - Determines if this observer method is asynchronous + Determines if this observer method is asynchronous

                  -
                  -
                  Returns:
                  -
                  returns true if the method is an asynchronous observer method (i.e. defined with ObservesAsync), - otherwise returns false
                  +
                  +
                  Returns:
                  +
                  returns true if the method is an asynchronous observer method (i.e. defined with + ObservesAsync), otherwise returns false
                  -
                • -
                +
          -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/PassivationCapable.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/PassivationCapable.html index efa4fd1cb4..f9755e2752 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/PassivationCapable.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/PassivationCapable.html @@ -1,275 +1,153 @@ - - + PassivationCapable (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface PassivationCapable

    +
    Module jakarta.cdi
    + +

    Interface PassivationCapable

    -
    -
    -
      -
    • +

      -
      public interface PassivationCapable
      +
      public interface PassivationCapable
      Indicates that a custom implementation of Bean or Contextual is passivation capable. -

      CDI Lite implementations are not required to provide support for passivation.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for passivation. +

    +
    +
    Author:
    Gavin King, David Allen
    - - -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethodDescription
          java.lang.StringgetId() +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          + + +
          A string that uniquely identifies the instance of Bean or Contextual.
          -
        • -
        • -
        +
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getId

            -
            java.lang.String getId()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getId

              +
              String getId()
              A string that uniquely identifies the instance of Bean or Contextual. It is recommended that the string contain the package name of the class that implements Bean or Contextual.
              -
              -
              Returns:
              +
              +
              Returns:
              a unique identifier for the Bean or Contextual
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Prioritized.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Prioritized.html index ddaa3b0c29..f56a77573e 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Prioritized.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Prioritized.html @@ -1,137 +1,87 @@ - - + Prioritized (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Prioritized

    +
    Module jakarta.cdi
    + +

    Interface Prioritized

    -
    -
    -
      -
    • -
      +
      +
      All Known Subinterfaces:
      BuildServices, CDIProvider, ObserverMethod<T>

      -
      public interface Prioritized
      +
      public interface Prioritized

      This interface allows some SPI implementation to change their priority programmatically.

      @@ -143,147 +93,77 @@

      Interface Prioritized

      with a given priority

      -
      -
      Since:
      +
      +
      Since:
      2.0
      -
      Author:
      +
      Author:
      Mark Paluch, Antoine Sabot-Durand
      -
      See Also:
      -
      Bean
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
      -
    • + + + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethodDescription
          intgetPriority() +
        • +
          +

          Method Summary

          +
          +
          +
          +
          +
          Modifier and Type
          +
          Method
          +
          Description
          +
          int
          + +
          Returns the priority for this SPI element.
          -
        • -
        • -
        +
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getPriority

            -
            int getPriority()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getPriority

              +
              int getPriority()

              Returns the priority for this SPI element.

              -
              -
              Returns:
              +
              +
              Returns:
              the priority value
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessAnnotatedType.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessAnnotatedType.html index f45a7bc0e4..819da7cd07 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessAnnotatedType.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessAnnotatedType.html @@ -1,155 +1,107 @@ - - + ProcessAnnotatedType (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProcessAnnotatedType<X>

    +
    Module jakarta.cdi
    + +

    Interface ProcessAnnotatedType<X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      X - The class being annotated
      -
      +
      All Known Subinterfaces:
      ProcessSyntheticAnnotatedType<X>

      -
      public interface ProcessAnnotatedType<X>
      +
      public interface ProcessAnnotatedType<X>

      The container fires an event of this type for each Java class or interface it discovers in a bean archive, before it reads the declared annotations.

      - Any observer of this event is permitted to wrap and/or replace the AnnotatedType by calling either setAnnotatedType(AnnotatedType) or configureAnnotatedType(). - If both methods are called within an observer notification an IllegalStateException is thrown. - The container must use the final value of this property, after all observers have been called, to discover the types and read the annotations of the program elements. + Any observer of this event is permitted to wrap and/or replace the AnnotatedType by calling either + setAnnotatedType(AnnotatedType) or configureAnnotatedType(). + If both methods are called within an observer notification an IllegalStateException is thrown. + The container must use the final value of this property, after all observers have been called, to discover the types and read + the annotations of the program elements.

      For example, the following observer decorates the AnnotatedType for every class that is discovered by the container.

      - +
        public <T> void decorateAnnotatedType(@Observes ProcessAnnotatedType<T> pat) {
            pat.setAnnotatedType(decorate(pat.getAnnotatedType()));
      @@ -160,220 +112,137 @@ 

      Interface ProcessAnnota error by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Author:
    David Allen, Antoine Sabot-Durand
    -
    See Also:
    -
    AnnotatedType
    -
    - +
    See Also:
    +
    + -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getAnnotatedType

            -
            AnnotatedType<X> getAnnotatedType()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getAnnotatedType

              +
              AnnotatedType<X> getAnnotatedType()
              Returns the AnnotatedType object that will be used by the container to read the declared annotations.
              -
              -
              Returns:
              +
              +
              Returns:
              the AnnotatedType object
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              setAnnotatedType

              -
              void setAnnotatedType​(AnnotatedType<X> type)
              +
            • +
              +

              setAnnotatedType

              +
              void setAnnotatedType(AnnotatedType<X> type)
              Replaces the AnnotatedType.
              -
              -
              Parameters:
              +
              +
              Parameters:
              type - the new AnnotatedType object to use
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              configureAnnotatedType

              -
              AnnotatedTypeConfigurator<X> configureAnnotatedType()
              +
            • +
              +

              configureAnnotatedType

              +
              AnnotatedTypeConfigurator<X> configureAnnotatedType()
              Returns an AnnotatedTypeConfigurator initialized with the AnnotatedType processed by this event to configure a new AnnotatedType that will replace the original one at the end of the observer invocation. Each call returns the same AnnotatedTypeConfigurator.
              -
              -
              Returns:
              +
              +
              Returns:
              a non reusable AnnotatedTypeConfigurator to configure the replacing AnnotatedType
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              2.0
              +
            • -
            - - - -
              -
            • -

              veto

              -
              void veto()
              +
            • +
              +

              veto

              +
              void veto()
              Forces the container to ignore this type.
              -
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessBean.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessBean.html index 2ea5bee9d1..09d5bcd75b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessBean.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessBean.html @@ -1,141 +1,91 @@ - - + ProcessBean (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProcessBean<X>

    +
    Module jakarta.cdi
    + +

    Interface ProcessBean<X>

    -
    -
    -
    +
    +
    Author:
    David Allen
    -
    See Also:
    -
    Bean
    -
    - +
    See Also:
    +
    + -
    -
    -
    +
    + + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getAnnotated

            -
            Annotated getAnnotated()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getAnnotated

              +
              Annotated getAnnotated()
              Returns the AnnotatedType representing the bean class, the AnnotatedMethod representing the producer method, or the AnnotatedField representing the producer field. - +

              - If invoked upon a ProcessSyntheticBean event, non-portable behavior results and the returned value should be ignored. + If invoked upon a ProcessSyntheticBean event, non-portable behavior results and the returned value should be + ignored.

              -
              -
              Returns:
              +
              +
              Returns:
              the Annotated for the bean being registered
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              getBean

              -
              Bean<X> getBean()
              +
            • +
              +

              getBean

              +
              Bean<X> getBean()
              Returns the Bean object that is about to be registered. The Bean may implement Interceptor or Decorator.
              -
              -
              Returns:
              +
              +
              Returns:
              the Bean object about to be registered
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              addDefinitionError

              -
              void addDefinitionError​(java.lang.Throwable t)
              +
            • +
              +

              addDefinitionError

              +
              void addDefinitionError(Throwable t)
              Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
              -
              -
              Parameters:
              -
              t - The definition error to register as a Throwable
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              +
              Parameters:
              +
              t - The definition error to register as a Throwable
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessBeanAttributes.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessBeanAttributes.html index 060b02e4bb..ef0e24ca13 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessBeanAttributes.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessBeanAttributes.html @@ -1,433 +1,288 @@ - - + ProcessBeanAttributes (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProcessBeanAttributes<T>

    +
    Module jakarta.cdi
    + +

    Interface ProcessBeanAttributes<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - The class of the bean

      -
      public interface ProcessBeanAttributes<T>
      +
      public interface ProcessBeanAttributes<T>

      The container fires an event of this type for each enabled bean, interceptor or decorator deployed in a bean archive before registering the Bean object.

      - Any observer of this event is permitted to wrap and/or replace the BeanAttributes by calling either setBeanAttributes(BeanAttributes) or configureBeanAttributes(). - If both methods are called within an observer notification an IllegalStateException is thrown. - The container must use the final value of this property, after all observers have been called, to manage instances of the bean. + Any observer of this event is permitted to wrap and/or replace the BeanAttributes by calling either + setBeanAttributes(BeanAttributes) or configureBeanAttributes(). + If both methods are called within an observer notification an IllegalStateException is thrown. + The container must use the final value of this property, after all observers have been called, to manage instances of the + bean.

      If any observer method of a ProcessBeanAttributes event throws an exception, the exception is treated as a definition error by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    1.1
    -
    Author:
    +
    Author:
    Pete Muir, Antoine Sabot-Durand
    - - -
    -
    -
    +
    + + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getAnnotated

            -
            Annotated getAnnotated()
            -
            -
            Returns:
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getAnnotated

              +
              Annotated getAnnotated()
              +
              +
              Returns:
              the AnnotatedType representing the managed bean class or session bean class, the AnnotatedMethod representing the producer field, or the AnnotatedField representing the producer field
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              getBeanAttributes

              -
              BeanAttributes<T> getBeanAttributes()
              -
              -
              Returns:
              +
            • +
              +

              getBeanAttributes

              +
              BeanAttributes<T> getBeanAttributes()
              +
              +
              Returns:
              the BeanAttributes object that will be used by the container to manage instances of the bean
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              setBeanAttributes

              -
              void setBeanAttributes​(BeanAttributes<T> beanAttributes)
              +
            • +
              +

              setBeanAttributes

              +
              void setBeanAttributes(BeanAttributes<T> beanAttributes)
              Replaces the BeanAttributes.
              -
              -
              Parameters:
              +
              +
              Parameters:
              beanAttributes - the new BeanAttributes to use
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              configureBeanAttributes

              -
              BeanAttributesConfigurator<T> configureBeanAttributes()
              +
            • +
              +

              configureBeanAttributes

              +
              BeanAttributesConfigurator<T> configureBeanAttributes()
              returns a BeanAttributesConfigurator initialized with the BeanAttributes processed by this event to configure a new BeanAttributes that will replace the original one at the end of the observer invocation. Each call returns the same BeanAttributesConfigurator.
              -
              -
              Returns:
              +
              +
              Returns:
              a non reusable BeanAttributesConfigurator to configure the replacing BeanAttributes
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              2.0
              +
            • -
            - - - -
              -
            • -

              addDefinitionError

              -
              void addDefinitionError​(java.lang.Throwable t)
              +
            • +
              +

              addDefinitionError

              +
              void addDefinitionError(Throwable t)
              Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
              -
              -
              Parameters:
              +
              +
              Parameters:
              t - the error to add
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              veto

              -
              void veto()
              +
            • +
              +

              veto

              +
              void veto()
              Forces the container to ignore the bean.
              -
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              ignoreFinalMethods

              -
              void ignoreFinalMethods()
              -

              Instructs the container to ignore all non-static, final methods with public, protected or default visibility - declared on any bean type of the specific bean during validation of injection points that require proxyable bean type.

              +
            • +
              +

              ignoreFinalMethods

              +
              void ignoreFinalMethods()
              +

              + Instructs the container to ignore all non-static, final methods with public, protected or default visibility + declared on any bean type of the specific bean during validation of injection points that require proxyable bean type. +

              -

              These method should never be invoked upon bean instances. Otherwise, unpredictable behavior results.

              -
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +

              + These method should never be invoked upon bean instances. Otherwise, unpredictable behavior results. +

    +
    +
    Throws:
    +
    IllegalStateException - if called outside of the observer method invocation
    +
    Since:
    2.0
    - - + - - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessInjectionPoint.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessInjectionPoint.html index 2bb0010fac..6cdf11a1b7 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessInjectionPoint.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessInjectionPoint.html @@ -1,368 +1,235 @@ - - + ProcessInjectionPoint (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProcessInjectionPoint<T,​X>

    +
    Module jakarta.cdi
    + +

    Interface ProcessInjectionPoint<T,X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      X - the declared type of the injection point.
      T - the bean class of the bean that declares the injection point

      -
      public interface ProcessInjectionPoint<T,​X>
      +
      public interface ProcessInjectionPoint<T,X>

      The container fires an event of this type for every injection point of every Java EE component class supporting injection - that may be instantiated by the container at runtime, including every managed bean declared using - jakarta.annotation.ManagedBean, EJB session or message-driven bean, enabled bean, enabled interceptor or enabled - decorator. + that may be instantiated by the container at runtime, including every EJB session or message-driven bean, enabled + bean, enabled interceptor or enabled decorator.

      - Any observer of this event is permitted to wrap and/or replace the InjectionPoint by calling either setInjectionPoint(InjectionPoint) or configureInjectionPoint(). - If both methods are called within an observer notification an IllegalStateException is thrown. - The container must use the final value of this property, after all observers have been called, he container must use the final - value of this property, after all observers have been called, whenever it performs injection upon the injection point. + Any observer of this event is permitted to wrap and/or replace the InjectionPoint by calling either + setInjectionPoint(InjectionPoint) or configureInjectionPoint(). + If both methods are called within an observer notification an IllegalStateException is thrown. + The container must use the final value of this property, after all observers have been called, he container must use the + final value of this property, after all observers have been called, whenever it performs injection upon the injection point.

      If any observer method of a ProcessInjectionPoint event throws an exception, the exception is treated as a definition error by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Author:
    Pete Muir, Antoine Sabot-Durand
    -
    See Also:
    -
    InjectionPoint
    -
    - +
    See Also:
    +
    + -
    -
    -
    +
    + + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getInjectionPoint

            -
            InjectionPoint getInjectionPoint()
            -
            -
            Returns:
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getInjectionPoint

              +
              InjectionPoint getInjectionPoint()
              +
              +
              Returns:
              the InjectionPoint object that will be used by the container to perform injection
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              setInjectionPoint

              -
              void setInjectionPoint​(InjectionPoint injectionPoint)
              +
            • +
              +

              setInjectionPoint

              +
              void setInjectionPoint(InjectionPoint injectionPoint)
              Replaces the InjectionPoint.
              -
              -
              Parameters:
              +
              +
              Parameters:
              injectionPoint - the new injection point
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              configureInjectionPoint

              -
              InjectionPointConfigurator configureInjectionPoint()
              +
            • +
              +

              configureInjectionPoint

              +
              InjectionPointConfigurator configureInjectionPoint()
              Returns an InjectionPointConfigurator initialized with the InjectionPoint processed by this event to configure a new InjectionPoint that will replace the original one at the end of the observer invocation. Each call returns the same InjectionPointConfigurator
              -
              -
              Returns:
              +
              +
              Returns:
              a non reusable InjectionPointConfigurator to configure the replacing InjectionPoint
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              2.0
              +
            • -
            - - - -
              -
            • -

              addDefinitionError

              -
              void addDefinitionError​(java.lang.Throwable t)
              +
            • +
              +

              addDefinitionError

              +
              void addDefinitionError(Throwable t)
              Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
              -
              -
              Parameters:
              +
              +
              Parameters:
              t - the definition error
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessInjectionTarget.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessInjectionTarget.html index 47754bdf5a..0d709375e6 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessInjectionTarget.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessInjectionTarget.html @@ -1,141 +1,91 @@ - - + ProcessInjectionTarget (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProcessInjectionTarget<X>

    +
    Module jakarta.cdi
    + +

    Interface ProcessInjectionTarget<X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      X - The managed bean class, session bean class or Java EE component class supporting injection

      -
      public interface ProcessInjectionTarget<X>
      +
      public interface ProcessInjectionTarget<X>

      The container fires an event of this type for every Java EE component class supporting injection that may be instantiated by - the container at runtime, including every managed bean declared using jakarta.annotation.ManagedBean, EJB session or - message-driven bean, enabled bean, enabled interceptor or enabled decorator. + the container at runtime, including EJB session or message-driven bean, enabled bean, enabled interceptor or + enabled decorator.

      Any observer of this event is permitted to wrap and/or replace the InjectionTarget. The @@ -145,7 +95,7 @@

      Interface ProcessInje

      For example, this observer decorates the InjectionTarget for all servlets.

      - +
        public <T extends Servlet> void decorateServlet(@Observes ProcessInjectionTarget<T> pit) {
            pit.setInjectionTarget(decorate(pit.getInjectionTarget()));
      @@ -156,220 +106,137 @@ 

      Interface ProcessInje definition error by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Author:
    David Allen
    -
    See Also:
    -
    InjectionTarget
    -
    - +
    See Also:
    +
    + -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getAnnotatedType

            -
            AnnotatedType<X> getAnnotatedType()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getAnnotatedType

              +
              AnnotatedType<X> getAnnotatedType()
              Returns the AnnotatedType representing the managed bean class, session bean class or other Java EE component class supporting injection.
              -
              -
              Returns:
              +
              +
              Returns:
              the AnnotatedType of the bean with an injection target
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              getInjectionTarget

              -
              InjectionTarget<X> getInjectionTarget()
              +
            • +
              +

              getInjectionTarget

              +
              InjectionTarget<X> getInjectionTarget()
              Returns the InjectionTarget object that will be used by the container to perform injection.
              -
              -
              Returns:
              +
              +
              Returns:
              the InjectionTarget object which performs the injection
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              setInjectionTarget

              -
              void setInjectionTarget​(InjectionTarget<X> injectionTarget)
              +
            • +
              +

              setInjectionTarget

              +
              void setInjectionTarget(InjectionTarget<X> injectionTarget)
              Replaces the InjectionTarget which performs injection for this target.
              -
              -
              Parameters:
              +
              +
              Parameters:
              injectionTarget - The new InjectionTarget to use
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              addDefinitionError

              -
              void addDefinitionError​(java.lang.Throwable t)
              +
            • +
              +

              addDefinitionError

              +
              void addDefinitionError(Throwable t)
              Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
              -
              -
              Parameters:
              -
              t - A Throwable representing the definition error
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              +
              Parameters:
              +
              t - A Throwable representing the definition error
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessManagedBean.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessManagedBean.html index 70f672243f..336cbfca09 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessManagedBean.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessManagedBean.html @@ -1,146 +1,96 @@ - - + ProcessManagedBean (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProcessManagedBean<X>

    +
    Module jakarta.cdi
    + +

    Interface ProcessManagedBean<X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      X - The class of the bean
      -
      +
      All Superinterfaces:
      ProcessBean<X>
      -
      +
      All Known Subinterfaces:
      ProcessSessionBean<X>

      -
      public interface ProcessManagedBean<X>
      -extends ProcessBean<X>
      +
      public interface ProcessManagedBean<X> +extends ProcessBean<X>

      The container fires an event of this type for each enabled managed bean, before registering the Bean object. @@ -150,179 +100,98 @@

      Interface ProcessManagedB error by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Author:
    David Allen
    - - -
    -
    -
    +
    + + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.ProcessBean

    +addDefinitionError, getAnnotated, getBean
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getAnnotatedBeanClass

            -
            AnnotatedType<X> getAnnotatedBeanClass()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getAnnotatedBeanClass

              +
              AnnotatedType<X> getAnnotatedBeanClass()
              Returns the AnnotatedType representing the bean class.
              -
              -
              Returns:
              +
              +
              Returns:
              the AnnotatedType for the bean being registered
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              createInvoker

              -
              InvokerBuilder<Invoker<X,​?>> createInvoker​(AnnotatedMethod<? super X> method)
              +
            • +
              +

              createInvoker

              +
              InvokerBuilder<Invoker<X,?>> createInvoker(AnnotatedMethod<? super X> method)
              Returns a new InvokerBuilder for given method. The builder eventually produces an invoker for the given method.

              The method must be declared on the bean class or inherited from a supertype of the bean class of the bean being registered, otherwise an exception is thrown.

              -
              -
              Parameters:
              +
              +
              Parameters:
              method - method of the bean being registered, must not be null
              -
              Returns:
              +
              Returns:
              the invoker builder, never null
              -
              Since:
              +
              Since:
              4.1
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessObserverMethod.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessObserverMethod.html index 15c3232b6f..36a138cc2d 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessObserverMethod.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessObserverMethod.html @@ -1,431 +1,291 @@ - - + ProcessObserverMethod (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProcessObserverMethod<T,​X>

    +
    Module jakarta.cdi
    + +

    Interface ProcessObserverMethod<T,X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - The type of the event being observed
      X - The bean type containing the observer method
      -
      +
      All Known Subinterfaces:
      -
      ProcessSyntheticObserverMethod<T,​X>
      +
      ProcessSyntheticObserverMethod<T,X>

      -
      public interface ProcessObserverMethod<T,​X>
      +
      public interface ProcessObserverMethod<T,X>

      The container fires an event of this type for each observer method of each enabled bean, before registering the ObserverMethod object.

      - For a custom implementation of ObserverMethod, the container must raise an event of type ProcessSyntheticObserverMethod. + For a custom implementation of ObserverMethod, the container must raise an event of type + ProcessSyntheticObserverMethod.

      - Any observer of this event is permitted to wrap and/or replace the ObserverMethod by calling either setObserverMethod(ObserverMethod) or configureObserverMethod(). - If both methods are called within an observer notification an IllegalStateException is thrown. - The container must use the final value of this property, after all observers have been called, he container must use the final - value of this property, after all observers have been called, whenever it performs observer resolution. + Any observer of this event is permitted to wrap and/or replace the ObserverMethod by calling either + setObserverMethod(ObserverMethod) or configureObserverMethod(). + If both methods are called within an observer notification an IllegalStateException is thrown. + The container must use the final value of this property, after all observers have been called, he container must use the + final value of this property, after all observers have been called, whenever it performs observer resolution.

      If any observer method of a ProcessObserverMethod event throws an exception, the exception is treated as a definition error by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Author:
    Gavin King, David Allen, Antoine Sabot-Durand
    -
    See Also:
    -
    ObserverMethod
    -
    - +
    See Also:
    +
    + -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getAnnotatedMethod

            -
            AnnotatedMethod<X> getAnnotatedMethod()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getAnnotatedMethod

              +
              AnnotatedMethod<X> getAnnotatedMethod()
              The AnnotatedMethod representing the observer method. - +

              - If invoked upon a ProcessSyntheticObserverMethod event, non-portable behavior results and the returned value should be ignored. + If invoked upon a ProcessSyntheticObserverMethod event, non-portable behavior results and the returned value + should be ignored.

              -
              -
              Returns:
              +
              +
              Returns:
              the AnnotatedMethod representing the observer method
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              getObserverMethod

              -
              ObserverMethod<T> getObserverMethod()
              +
            • +
              +

              getObserverMethod

              +
              ObserverMethod<T> getObserverMethod()
              The ObserverMethod object that will be used by the container to invoke the observer when a matching event is fired.
              -
              -
              Returns:
              +
              +
              Returns:
              the ObserverMethod object that will be used by the container to call the observer method
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              addDefinitionError

              -
              void addDefinitionError​(java.lang.Throwable t)
              +
            • +
              +

              addDefinitionError

              +
              void addDefinitionError(Throwable t)
              Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
              -
              -
              Parameters:
              -
              t - A Throwable representing the definition error
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              +
              Parameters:
              +
              t - A Throwable representing the definition error
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              setObserverMethod

              -
              void setObserverMethod​(ObserverMethod<T> observerMethod)
              +
            • +
              +

              setObserverMethod

              +
              void setObserverMethod(ObserverMethod<T> observerMethod)
              Replaces the ObserverMethod.
              -
              -
              Parameters:
              +
              +
              Parameters:
              observerMethod - the new ObserverMethod object to use
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              2.0
              +
            • -
            - - - -
              -
            • -

              configureObserverMethod

              -
              ObserverMethodConfigurator<T> configureObserverMethod()
              +
            • +
              +

              configureObserverMethod

              +
              ObserverMethodConfigurator<T> configureObserverMethod()
              Returns a ObserverMethodConfigurator initialized with the ObserverMethod processed by this event, to configure a new ObserverMethod that will replace the original one at the end of the observer invocation. Each call returns the same ObserverMethodConfigurator
              -
              -
              Returns:
              +
              +
              Returns:
              a non reusable ObserverMethodConfigurator to configure the replacing ObserverMethod
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              2.0
              +
            • -
            - - - -
              -
            • -

              veto

              -
              void veto()
              +
            • +
              +

              veto

              +
              void veto()
              Forces the container to ignore the observer method.
              -
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              2.0
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessProducer.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessProducer.html index 6b2556ecef..f5b31e39b4 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessProducer.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessProducer.html @@ -1,138 +1,88 @@ - - + ProcessProducer (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProcessProducer<T,​X>

    +
    Module jakarta.cdi
    + +

    Interface ProcessProducer<T,X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - The bean class of the bean that declares the producer method or field
      X - The return type of the producer method or the type of the producer field

      -
      public interface ProcessProducer<T,​X>
      +
      public interface ProcessProducer<T,X>

      The container fires an event of this type for each producer method or field of each enabled bean, including resources. @@ -140,14 +90,14 @@

      Interface ProcessProducer<

      Any observer of this event is permitted to wrap and/or replace the Producer by calling either setProducer(Producer) or configureProducer(). If both methods are called within an observer notification an - IllegalStateException is thrown. The container must use the final value of this property, after all observers have + IllegalStateException is thrown. The container must use the final value of this property, after all observers have been called, whenever it calls the producer or disposer.

      For example, this observer decorates the Producer for the all producer methods and field of type EntityManager.

      - +
        void decorateEntityManager(@Observes ProcessProducer<?, EntityManager> pp) {
            pit.setProducer(decorate(pp.getProducer()));
      @@ -158,254 +108,166 @@ 

      Interface ProcessProducer< by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Author:
    David Allen
    -
    See Also:
    -
    Producer
    -
    - +
    See Also:
    +
    + -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getAnnotatedMember

            -
            AnnotatedMember<T> getAnnotatedMember()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getAnnotatedMember

              +
              AnnotatedMember<T> getAnnotatedMember()
              Returns the AnnotatedField representing the producer field or the AnnotatedMethod representing the producer method.
              -
              -
              Returns:
              +
              +
              Returns:
              the AnnotatedMember representing the producer
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              getProducer

              -
              Producer<X> getProducer()
              +
            • +
              +

              getProducer

              +
              Producer<X> getProducer()
              Returns the Producer object that will be used by the container to call the producer method or read the producer field.
              -
              -
              Returns:
              +
              +
              Returns:
              the Producer invoker object used by the container
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              setProducer

              -
              void setProducer​(Producer<X> producer)
              +
            • +
              +

              setProducer

              +
              void setProducer(Producer<X> producer)
              Replaces the Producer object that will be used by the container to call the producer method or read the producer field.
              -
              -
              Parameters:
              +
              +
              Parameters:
              producer - the new Producer object to use
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              configureProducer

              -
              ProducerConfigurator<X> configureProducer()
              +
            • +
              +

              configureProducer

              +
              ProducerConfigurator<X> configureProducer()
              Returns a ProducerConfigurator initialized with the Producer processed by this event, to configure a new Producer that will replace the original one at the end of the observer invocation. - +

              Each call returns the same configurator instance within an observer notification.

              -
              -
              Returns:
              +
              +
              Returns:
              a non reusable ProducerConfigurator to configure the original Producer.
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              2.0
              +
            • -
            - - - -
              -
            • -

              addDefinitionError

              -
              void addDefinitionError​(java.lang.Throwable t)
              +
            • +
              +

              addDefinitionError

              +
              void addDefinitionError(Throwable t)
              Registers a definition error with the container, causing the container to abort deployment after bean discovery is complete.
              -
              -
              Parameters:
              -
              t - The definition error to register as a Throwable
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              +
              Parameters:
              +
              t - The definition error to register as a Throwable
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              -
            • -
            +
      -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessProducerField.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessProducerField.html index f61cb1186f..1d134a9c55 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessProducerField.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessProducerField.html @@ -1,143 +1,93 @@ - - + ProcessProducerField (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProcessProducerField<T,​X>

    +
    Module jakarta.cdi
    + +

    Interface ProcessProducerField<T,X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - The type of the producer field
      X - The class of the bean declaring the producer field
      -
      +
      All Superinterfaces:
      ProcessBean<X>

      -
      public interface ProcessProducerField<T,​X>
      -extends ProcessBean<X>
      +
      public interface ProcessProducerField<T,X> +extends ProcessBean<X>

      The container fires an event of this type for each enabled producer field, before registering the Bean object. Resources are considered to be producer fields. @@ -147,177 +97,96 @@

      Interface ProcessProduc error by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Author:
    David Allen
    - - -
    -
    -
    +
    + + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.ProcessBean

    +addDefinitionError, getAnnotated, getBean
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getAnnotatedProducerField

            -
            AnnotatedField<T> getAnnotatedProducerField()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getAnnotatedProducerField

              +
              AnnotatedField<T> getAnnotatedProducerField()
              Returns the AnnotatedField representing the producer field.
              -
              -
              Returns:
              +
              +
              Returns:
              the AnnotatedField for the producer field being registered
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              getAnnotatedDisposedParameter

              -
              AnnotatedParameter<T> getAnnotatedDisposedParameter()
              +
            • +
              +

              getAnnotatedDisposedParameter

              +
              AnnotatedParameter<T> getAnnotatedDisposedParameter()
              Returns the AnnotatedParameter for any matching injection point of the same type as the producer field return type found on a disposal method.
              -
              -
              Returns:
              +
              +
              Returns:
              the disposal method's AnnotatedParameter
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              -
              Since:
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
              Since:
              1.1
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessProducerMethod.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessProducerMethod.html index d1f48fc6a0..ab7642a79e 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessProducerMethod.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessProducerMethod.html @@ -1,143 +1,93 @@ - - + ProcessProducerMethod (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProcessProducerMethod<T,​X>

    +
    Module jakarta.cdi
    + +

    Interface ProcessProducerMethod<T,X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - The return type of the producer method
      X - The class of the bean declaring the producer method
      -
      +
      All Superinterfaces:
      ProcessBean<X>

      -
      public interface ProcessProducerMethod<T,​X>
      -extends ProcessBean<X>
      +
      public interface ProcessProducerMethod<T,X> +extends ProcessBean<X>

      The container fires an event of this type for each enabled producer method, before registering the Bean object. @@ -147,175 +97,94 @@

      Interface ProcessProdu error by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Author:
    David Allen
    - - -
    -
    -
    +
    + + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.ProcessBean

    +addDefinitionError, getAnnotated, getBean
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getAnnotatedProducerMethod

            -
            AnnotatedMethod<T> getAnnotatedProducerMethod()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getAnnotatedProducerMethod

              +
              AnnotatedMethod<T> getAnnotatedProducerMethod()
              Returns the AnnotatedMethod representing the producer method.
              -
              -
              Returns:
              +
              +
              Returns:
              the AnnotatedMethod for the producer method being registered
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              getAnnotatedDisposedParameter

              -
              AnnotatedParameter<T> getAnnotatedDisposedParameter()
              +
            • +
              +

              getAnnotatedDisposedParameter

              +
              AnnotatedParameter<T> getAnnotatedDisposedParameter()
              Returns the AnnotatedParameter for any matching injection point of the same type as the producer method return type found on a disposal method.
              -
              -
              Returns:
              +
              +
              Returns:
              the disposal method's AnnotatedParameter
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSessionBean.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSessionBean.html index 6067df9aa0..9f35087d81 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSessionBean.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSessionBean.html @@ -1,332 +1,197 @@ - - + ProcessSessionBean (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProcessSessionBean<X>

    +
    Module jakarta.cdi
    + +

    Interface ProcessSessionBean<X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      X - session bean type
      -
      +
      All Superinterfaces:
      -
      ProcessBean<java.lang.Object>, ProcessManagedBean<java.lang.Object>
      +
      ProcessBean<Object>, ProcessManagedBean<Object>

      -
      public interface ProcessSessionBean<X>
      -extends ProcessManagedBean<java.lang.Object>
      +
      public interface ProcessSessionBean<X> +extends ProcessManagedBean<Object>

      The container fires an event of this type for each enabled session bean, before registering the Bean object.

      - +

      If any observer method of a ProcessSessionBean event throws an exception, the exception is treated as a definition error by the container.

      - +

      - Note that the type parameter of the super-interface of ProcessSessionBean is Object as ProcessBean + Note that the type parameter of the super-interface of ProcessSessionBean is Object as ProcessBean allows you access to the Bean, which in turn allows you to instantiate an instance, which, for interface-view EJBs will not be an instance of X.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Author:
    David Allen
    - - -
    -
    -
    +
    + + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.ProcessBean

    +addDefinitionError, getAnnotated, getBean
    +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.ProcessManagedBean

    +createInvoker, getAnnotatedBeanClass
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getEjbName

            -
            java.lang.String getEjbName()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getEjbName

              +
              String getEjbName()
              Returns the EJB name of the session bean.
              -
              -
              Returns:
              +
              +
              Returns:
              the name of the EJB
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              +
            • -
            - - - -
              -
            • -

              getSessionBeanType

              -
              SessionBeanType getSessionBeanType()
              +
            • +
              +

              getSessionBeanType

              +
              SessionBeanType getSessionBeanType()
              Returns a SessionBeanType representing the kind of session bean.
              -
              -
              Returns:
              +
              +
              Returns:
              the SessionBeanType
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSyntheticAnnotatedType.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSyntheticAnnotatedType.html index 2790c40e97..e8d86d2530 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSyntheticAnnotatedType.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSyntheticAnnotatedType.html @@ -1,142 +1,92 @@ - - + ProcessSyntheticAnnotatedType (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProcessSyntheticAnnotatedType<X>

    +
    Module jakarta.cdi
    + +

    Interface ProcessSyntheticAnnotatedType<X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      X - The class being annotated
      -
      +
      All Superinterfaces:
      ProcessAnnotatedType<X>

      -
      public interface ProcessSyntheticAnnotatedType<X>
      -extends ProcessAnnotatedType<X>
      +
      public interface ProcessSyntheticAnnotatedType<X> +extends ProcessAnnotatedType<X>

      The container fires an event of this type for each Java class or interface added by BeforeBeanDiscovery.addAnnotatedType(AnnotatedType, String) or @@ -151,7 +101,7 @@

      Interface Proc For example, the following observer decorates the AnnotatedType for every class that is added by BeforeBeanDiscovery.addAnnotatedType(AnnotatedType, String).

      - +
        public <T> void decorateAnnotatedType(@Observes ProcessSyntheticAnnotatedType<T> pat) {
            pat.setAnnotatedType(decorate(pat.getAnnotatedType()));
      @@ -162,155 +112,83 @@ 

      Interface Proc definition error by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    1.1
    -
    Author:
    +
    Author:
    David Allen, Pete Muir
    -
    See Also:
    -
    AnnotatedType, -ProcessAnnotatedType
    -
    - +
    See Also:
    +
    + -
    -
    -
    +
    + + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.ProcessAnnotatedType

    +configureAnnotatedType, getAnnotatedType, setAnnotatedType, veto
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getSource

            -
            Extension getSource()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getSource

              +
              Extension getSource()
              Get the extension instance which added the AnnotatedType for which this event is being fired.
              -
              -
              Returns:
              +
              +
              Returns:
              the extension instance
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSyntheticBean.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSyntheticBean.html index 06f554a82b..adc8e6cdaa 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSyntheticBean.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSyntheticBean.html @@ -1,142 +1,92 @@ - - + ProcessSyntheticBean (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProcessSyntheticBean<X>

    +
    Module jakarta.cdi
    + +

    Interface ProcessSyntheticBean<X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      X - The class of the bean
      -
      +
      All Superinterfaces:
      ProcessBean<X>

      -
      public interface ProcessSyntheticBean<X>
      -extends ProcessBean<X>
      +
      public interface ProcessSyntheticBean<X> +extends ProcessBean<X>

      The container fires an event of this type for each custom bean implementation added through AfterBeanDiscovery.addBean() or AfterBeanDiscovery.addBean(Bean), before registering the @@ -147,152 +97,76 @@

      Interface ProcessSynthe error by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Martin Kouba
    - - -
    -
    -
    +
    +
    + +
    +

    Methods inherited from interface jakarta.enterprise.inject.spi.ProcessBean

    +addDefinitionError, getAnnotated, getBean
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getSource

            -
            Extension getSource()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getSource

              +
              Extension getSource()
              Get the extension instance which added the Bean for which this event is being fired.
              -
              -
              Returns:
              +
              +
              Returns:
              the extension instance
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSyntheticObserverMethod.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSyntheticObserverMethod.html index fdfffb3180..46ac8f11d9 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSyntheticObserverMethod.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProcessSyntheticObserverMethod.html @@ -1,301 +1,179 @@ - - + ProcessSyntheticObserverMethod (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProcessSyntheticObserverMethod<T,​X>

    +
    Module jakarta.cdi
    + +

    Interface ProcessSyntheticObserverMethod<T,X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - The type of the event being observed
      X - The bean type containing the observer method, i.e. ObserverMethod.getBeanClass()
      -
      +
      All Superinterfaces:
      -
      ProcessObserverMethod<T,​X>
      +
      ProcessObserverMethod<T,X>

      -
      public interface ProcessSyntheticObserverMethod<T,​X>
      -extends ProcessObserverMethod<T,​X>
      +
      public interface ProcessSyntheticObserverMethod<T,X> +extends ProcessObserverMethod<T,X>

      The container fires an event of this type for each custom implementation of ObserverMethod added through AfterBeanDiscovery.addObserverMethod(ObserverMethod) or AfterBeanDiscovery.addObserverMethod(), before registering the ObserverMethod object.

      - If any observer method of a ProcessSyntheticObserverMethod event throws an exception, the exception is treated as a definition - error by the container. + If any observer method of a ProcessSyntheticObserverMethod event throws an exception, the exception is treated as a + definition error by the container.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Martin Kouba
    -
    See Also:
    -
    ObserverMethod
    -
    - +
    See Also:
    +
    + -
    -
    -
    +
    +
    + + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getSource

            -
            Extension getSource()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              getSource

              +
              Extension getSource()
              Get the extension instance which added the ObserverMethod for which this event is being fired.
              -
              -
              Returns:
              +
              +
              Returns:
              the extension instance
              -
              Throws:
              -
              java.lang.IllegalStateException - if called outside of the observer method invocation
              +
              Throws:
              +
              IllegalStateException - if called outside of the observer method invocation
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Producer.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Producer.html index 2eaa33ea0f..659cf6798c 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Producer.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Producer.html @@ -1,247 +1,176 @@ - - + Producer (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Producer<T>

    +
    Module jakarta.cdi
    + +

    Interface Producer<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - The class of object produced by the producer
      -
      +
      All Known Subinterfaces:
      InjectionTarget<T>

      -
      public interface Producer<T>
      +
      public interface Producer<T>

      Provides a generic operation for producing an instance of a type.

      -

      CDI Lite implementations are not required to provide support for Producer.

      -
      -
      Author:
      +

      + CDI Lite implementations are not required to provide support for Producer. +

    +
    +
    Author:
    Pete Muir, David Allen
    - - -
    -
    -
    +
    + + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            produce

            -
            T produce​(CreationalContext<T> ctx)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              produce

              +
              T produce(CreationalContext<T> ctx)

              Causes an instance to be produced via the Producer.

              - If the Producer represents a class, this will invoke the constructor annotated Inject if it - exists, or the constructor with no parameters otherwise. If the class has interceptors, produce() is responsible - for building the interceptors and decorators of the instance. + If the Producer represents a class, this will invoke the constructor annotated Inject if + it exists, or the constructor with no parameters otherwise. If the class has interceptors, produce() is + responsible for building the interceptors and decorators of the instance.

              If the Producer represents a producer field or method, this will invoke the producer method on, or access the producer field of, a contextual instance of the bean that declares the producer.

              -
              -
              Parameters:
              +
              +
              Parameters:
              ctx - The CreationalContext to use for the produced object
              -
              Returns:
              +
              Returns:
              the instance produced
              +
            • -
            - - - - - -
              -
            • -

              dispose

              -
              void dispose​(T instance)
              +
            • +
              +

              dispose

              +
              void dispose(T instance)

              Destroys the instance.

              @@ -253,103 +182,40 @@

              dispose

              instance of the bean that declares the disposer method or performs any additional required cleanup, if any, to destroy state associated with a resource.

              -
              -
              Parameters:
              +
              +
              Parameters:
              instance - The instance to dispose
              +
            • -
            - - - -
              -
            • -

              getInjectionPoints

              -
              java.util.Set<InjectionPoint> getInjectionPoints()
              +
            • +
              +

              getInjectionPoints

              +
              Set<InjectionPoint> getInjectionPoints()

              Returns the set of all InjectionPoints. If the Producer represents a class, then this returns returns the set of InjectionPoint objects representing all injected fields, bean constructor parameters and initializer method parameters. For a producer method, this returns the set of InjectionPoint objects representing all parameters of the producer method.

              -
              -
              Returns:
              +
              +
              Returns:
              the set of all injection points for the producer
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProducerFactory.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProducerFactory.html index 1cd92ab4a8..17e2dd4875 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProducerFactory.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/ProducerFactory.html @@ -1,302 +1,180 @@ - - + ProducerFactory (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProducerFactory<X>

    +
    Module jakarta.cdi
    + +

    Interface ProducerFactory<X>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      X - type of the bean containing the producer

      -
      public interface ProducerFactory<X>
      +
      public interface ProducerFactory<X>

      An ProducerFactory can create an Producer for a given bean.

      - +

      The ProducerFactory obtained from BeanManager.getProducerFactory(AnnotatedMethod, Bean) or BeanManager.getProducerFactory(AnnotatedField, Bean) is capable of providing container created producers. This factory can be wrapped to add behavior to container created producers.

      - +

      For example:

      - +
        BeanAttributes<MyBean> myBeanAttributes = beanManager.createBeanAttributes(myBeanAnnotatedFieldField);
        beanManager.createBean(myBeanAttributes, MyBean.class, new ProducerFactory() {
      - 
      +
            public <T> Producer<T> createProducer(Bean<T> bean) {
                return new WrappingProducer<T>(beanManager.getProducerFactory(myBeanAnnotatedField).createProducer(bean));
            }
        });
        
      -

      CDI Lite implementations are not required to provide support for ProducerFactory.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for ProducerFactory. +

    +
    +
    Since:
    1.1
    -
    Author:
    +
    Author:
    Pete Muir
    - - -
    -
    -
    +
    + + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            createProducer

            -
            <T> Producer<T> createProducer​(Bean<T> bean)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              createProducer

              +
              <T> Producer<T> createProducer(Bean<T> bean)
              Create a new producer for a bean.
              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              T - bean type
              -
              Parameters:
              +
              Parameters:
              bean - the bean to create the producer for, or null if creating a non-contextual object
              -
              Returns:
              +
              Returns:
              the producer
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/SessionBeanType.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/SessionBeanType.html index a4ea2911aa..30a8336aff 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/SessionBeanType.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/SessionBeanType.html @@ -1,411 +1,238 @@ - - + SessionBeanType (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Enum SessionBeanType

    +
    Module jakarta.cdi
    + +

    Enum SessionBeanType

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • java.lang.Enum<SessionBeanType>
      • -
      • -
          -
        • jakarta.enterprise.inject.spi.SessionBeanType
        • -
        -
      • -
      -
    • -
    -
    - -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Enum Constant Summary

          - - - - - - - - - - - - - - - - - - -
          Enum Constants 
          Enum ConstantDescription
          SINGLETON +
        • +
          +

          Enum Constant Summary

          +
          Enum Constants
          +
          +
          Enum Constant
          +
          Description
          + +
          A singleton (jakarta.ejb.Singleton) session bean
          -
        • STATEFUL + + +
          A stateful (jakarta.ejb.Stateful) session bean
          -
          STATELESS + + +
          A stateless (jakarta.ejb.Stateless) session bean
          -
          -
        • -
        +
    +
    + -
    -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static SessionBeanTypevalueOf​(java.lang.String name) +
    • +
      +

      Method Summary

      +
      +
      +
      +
      +
      Modifier and Type
      +
      Method
      +
      Description
      + + +
      Returns the enum constant of this type with the specified name.
      -
    • static SessionBeanType[]values() + + + +
      Returns an array containing the constants of this enum type, in the order they are declared.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Enum

        -clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -getClass, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    +
    +
    + + +
    +

    Methods inherited from class java.lang.Enum

    +clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
    +
    +

    Methods inherited from class java.lang.Object

    +getClass, notify, notifyAll, wait, wait, wait
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Enum Constant Detail

          - - - -
            -
          • -

            STATELESS

            -
            public static final SessionBeanType STATELESS
            +
          • +
            +

            Enum Constant Details

            +
              +
            • +
              +

              STATELESS

              +
              public static final SessionBeanType STATELESS
              A stateless (jakarta.ejb.Stateless) session bean
              +
            • -
            - - - -
              -
            • -

              STATEFUL

              -
              public static final SessionBeanType STATEFUL
              +
            • +
              +

              STATEFUL

              +
              public static final SessionBeanType STATEFUL
              A stateful (jakarta.ejb.Stateful) session bean
              +
            • -
            - - - -
              -
            • -

              SINGLETON

              -
              public static final SessionBeanType SINGLETON
              +
            • +
              +

              SINGLETON

              +
              public static final SessionBeanType SINGLETON
              A singleton (jakarta.ejb.Singleton) session bean
              -
            • -
            +
        + -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            values

            -
            public static SessionBeanType[] values()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              values

              +
              public static SessionBeanType[] values()
              Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
              -for (SessionBeanType c : SessionBeanType.values())
              -    System.out.println(c);
              -
              -
              -
              Returns:
              +the order they are declared.
    +
    +
    Returns:
    an array containing the constants of this enum type, in the order they are declared
    + - - - - -
      -
    • -

      valueOf

      -
      public static SessionBeanType valueOf​(java.lang.String name)
      +
    • +
      +

      valueOf

      +
      public static SessionBeanType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      -
      -
      Parameters:
      +
      +
      Parameters:
      name - the name of the enum constant to be returned.
      -
      Returns:
      +
      Returns:
      the enum constant with the specified name
      -
      Throws:
      -
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      -
      java.lang.NullPointerException - if the argument is null
      +
      Throws:
      +
      IllegalArgumentException - if this enum type has no constant with the specified name
      +
      NullPointerException - if the argument is null
      -
    • -
    + - - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Unmanaged.UnmanagedInstance.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Unmanaged.UnmanagedInstance.html index d611725b3f..9d247b4bf8 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Unmanaged.UnmanagedInstance.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Unmanaged.UnmanagedInstance.html @@ -1,408 +1,254 @@ - - + Unmanaged.UnmanagedInstance (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class Unmanaged.UnmanagedInstance<T>

    +
    Module jakarta.cdi
    + +

    Class Unmanaged.UnmanagedInstance<T>

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance<T>
      • -
      -
    • -
    -
    -
      -
    • -
      +
      java.lang.Object +
      jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance<T>
      +
      +
      +
      Enclosing class:
      Unmanaged<T>

      -
      public static class Unmanaged.UnmanagedInstance<T>
      -extends java.lang.Object
      +
      public static class Unmanaged.UnmanagedInstance<T> +extends Object
      Represents a non-contextual instance.
      -
      -
      See Also:
      -
      Unmanaged
      -
      -
    • +
      +
      See Also:
      +
      + -
    -
    -
    +
    +
    + +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            get

            -
            public T get()
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              get

              +
              public T get()
              Get the instance
              -
              -
              Returns:
              +
              +
              Returns:
              the instance
              +
            • -
            - - - -
              -
            • -

              produce

              -
              public Unmanaged.UnmanagedInstance<T> produce()
              +
            • +
              +

              produce

              +
              public Unmanaged.UnmanagedInstance<T> produce()
              Create the instance
              -
              -
              Returns:
              +
              +
              Returns:
              self
              -
              Throws:
              -
              java.lang.IllegalStateException - if produce() is called on an already produced instance
              -
              java.lang.IllegalStateException - if produce() is called on an instance that has already been disposed
              +
              Throws:
              +
              IllegalStateException - if produce() is called on an already produced instance
              +
              IllegalStateException - if produce() is called on an instance that has already been disposed
              +
            • -
            - - - -
              -
            • -

              inject

              -
              public Unmanaged.UnmanagedInstance<T> inject()
              +
            • +
              +

              inject

              +
              public Unmanaged.UnmanagedInstance<T> inject()
              Inject the instance
              -
              -
              Returns:
              +
              +
              Returns:
              self
              -
              Throws:
              -
              java.lang.IllegalStateException - if inject() is called before produce() is called
              -
              java.lang.IllegalStateException - if inject() is called on an instance that has already been disposed
              +
              Throws:
              +
              IllegalStateException - if inject() is called before produce() is called
              +
              IllegalStateException - if inject() is called on an instance that has already been disposed
              +
            • -
            - - - -
              -
            • -

              postConstruct

              -
              public Unmanaged.UnmanagedInstance<T> postConstruct()
              +
            • +
              +

              postConstruct

              +
              public Unmanaged.UnmanagedInstance<T> postConstruct()
              Call the @PostConstruct callback
              -
              -
              Returns:
              +
              +
              Returns:
              self
              -
              Throws:
              -
              java.lang.IllegalStateException - if postConstruct() is called before produce() is called
              -
              java.lang.IllegalStateException - if postConstruct() is called on an instance that has already been disposed
              +
              Throws:
              +
              IllegalStateException - if postConstruct() is called before produce() is called
              +
              IllegalStateException - if postConstruct() is called on an instance that has already been disposed
              +
            • -
            - - - -
              -
            • -

              preDestroy

              -
              public Unmanaged.UnmanagedInstance<T> preDestroy()
              +
            • +
              +

              preDestroy

              +
              public Unmanaged.UnmanagedInstance<T> preDestroy()
              Call the @PreDestroy callback
              -
              -
              Returns:
              +
              +
              Returns:
              self
              -
              Throws:
              -
              java.lang.IllegalStateException - if preDestroy() is called before produce() is called
              -
              java.lang.IllegalStateException - if preDestroy() is called on an instance that has already been disposed
              +
              Throws:
              +
              IllegalStateException - if preDestroy() is called before produce() is called
              +
              IllegalStateException - if preDestroy() is called on an instance that has already been disposed
              +
            • -
            - - - -
              -
            • -

              dispose

              -
              public Unmanaged.UnmanagedInstance<T> dispose()
              +
            • +
              +

              dispose

              +
              public Unmanaged.UnmanagedInstance<T> dispose()
              Dispose of the instance, doing any necessary cleanup
              -
              -
              Returns:
              +
              +
              Returns:
              self
              -
              Throws:
              -
              java.lang.IllegalStateException - if dispose() is called before produce() is called
              -
              java.lang.IllegalStateException - if dispose() is called on an instance that has already been disposed
              +
              Throws:
              +
              IllegalStateException - if dispose() is called before produce() is called
              +
              IllegalStateException - if dispose() is called on an instance that has already been disposed
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Unmanaged.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Unmanaged.html index e3cceb57ef..64dd8afc09 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Unmanaged.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/Unmanaged.html @@ -1,150 +1,95 @@ - - + Unmanaged (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class Unmanaged<T>

    +
    Module jakarta.cdi
    + +

    Class Unmanaged<T>

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • jakarta.enterprise.inject.spi.Unmanaged<T>
      • -
      -
    • -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      java.lang.Object +
      jakarta.enterprise.inject.spi.Unmanaged<T>
      +
      +
      +
      +
      Type Parameters:
      T - type of unmanaged instances

      -
      public class Unmanaged<T>
      -extends java.lang.Object
      +
      public class Unmanaged<T> +extends Object

      Helper class for injecting and calling lifecycle callbacks unmanaged instances for use by framework and library integrators.

      - +
        Unmanaged<Foo> unmanagedFoo = new Unmanaged<Foo>(Foo.class);
        UnmanagedInstance<Foo> fooInstance = unmanagedFoo.newInstance();
      @@ -152,254 +97,152 @@ 

      Class Unmanaged<T>

      ... // Use the foo instance fooInstance.preDestroy().dispose();
      - +

      An instance of this class can be safely held for the lifetime of the application.

      - +

      Unmanaged.UnmanagedInstances created by this class are not suitable for sharing between threads.

      -

      CDI Lite implementations are not required to provide support for Unmanaged.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Unmanaged. +

    +
    +
    Since:
    1.1
    -
    Author:
    +
    Author:
    Pete Muir
    - - -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Nested Class Summary

          - - - - - - - - - - - - -
          Nested Classes 
          Modifier and TypeClassDescription
          static class Unmanaged.UnmanagedInstance<T> +
        • +
          +

          Nested Class Summary

          +
          Nested Classes
          +
          +
          Modifier and Type
          +
          Class
          +
          Description
          +
          static class 
          + +
          Represents a non-contextual instance.
          -
        • -
        • -
        +
    +
    + -
    -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - - - - -
      Constructors 
      ConstructorDescription
      Unmanaged​(BeanManager manager, - java.lang.Class<T> clazz) +
    • +
      +

      Constructor Summary

      +
      Constructors
      +
      +
      Constructor
      +
      Description
      +
      Unmanaged(BeanManager manager, + Class<T> clazz)
      +
      Create an injector for the given class
      -
    • Unmanaged​(java.lang.Class<T> clazz) + +
      Unmanaged(Class<T> clazz)
      +
      Create an injector for the given class, using the current bean manager
      -
      -
    • -
    + +
    + -
    - + + + + +
    +

    Methods inherited from class java.lang.Object

    +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            Unmanaged

            -
            public Unmanaged​(BeanManager manager,
            -                 java.lang.Class<T> clazz)
            +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              Unmanaged

              +
              public Unmanaged(BeanManager manager, + Class<T> clazz)
              Create an injector for the given class
              -
              -
              Parameters:
              +
              +
              Parameters:
              manager - the BeanManager
              clazz - class of the unmanaged instances
              +
            • -
            - - - -
              -
            • -

              Unmanaged

              -
              public Unmanaged​(java.lang.Class<T> clazz)
              +
            • +
              +

              Unmanaged

              +
              public Unmanaged(Class<T> clazz)
              Create an injector for the given class, using the current bean manager
              -
              -
              Parameters:
              +
              +
              Parameters:
              clazz - class of the unmanaged instances
              -
            • -
            +
        + -
        -
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/WithAnnotations.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/WithAnnotations.html index 22aafef412..9858e7e638 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/WithAnnotations.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/WithAnnotations.html @@ -1,267 +1,154 @@ - - + WithAnnotations (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type WithAnnotations

    +
    Module jakarta.cdi
    + +

    Annotation Type WithAnnotations

    -
    -
    -
      -
    • +

      -
      @Retention(RUNTIME)
      -@Target(PARAMETER)
      -public @interface WithAnnotations
      +
      @Retention(RUNTIME) +@Target(PARAMETER) +public @interface WithAnnotations

      WithAnnotations may be applied to any portable extension observer method with an event parameter type of ProcessAnnotatedType to filter the events delivered.

      - +

      If the WithAnnotations annotation is applied to a portable extension observer method, then only ProcessAnnotatedType events for types which have at least one of the annotations specified are observed. The - annotation can appear on the annotated type, or on any member, or any parameter of any member of the annotated type, as defined - in section 11.4 Alternative metadata sources. - The annotation may be applied as a meta-annotation on any annotation considered. + annotation can appear on the annotated type, or on any member, or any parameter of any member of the annotated type, as + defined in section 11.4 Alternative + metadata sources. The annotation may be applied as a meta-annotation on any annotation considered. -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    1.1
    -
    Author:
    +
    Author:
    Pete Muir
    - - -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Required Element Summary

          - - - - - - - - - - - - -
          Required Elements 
          Modifier and TypeRequired ElementDescription
          java.lang.Class<? extends java.lang.annotation.Annotation>[]value 
          -
        • -
        +
      • +
        +

        Required Element Summary

        +
        Required Elements
        +
        +
        Modifier and Type
        +
        Required Element
        +
        Description
        +
        Class<? extends Annotation>[]
        + +
        +
        The annotation types that must be present on the AnnotatedType + for the ProcessAnnotatedType observer to be notified.
        +
        +
      -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Element Detail

          - - - -
            -
          • -

            value

            -
            java.lang.Class<? extends java.lang.annotation.Annotation>[] value
            -
          • -
          +
        • +
          +

          Element Details

          +
            +
          • +
            +

            value

            +
            Class<? extends Annotation>[] value
            +
            The annotation types that must be present on the AnnotatedType + for the ProcessAnnotatedType observer to be notified.
            +
            +
            Returns:
            +
            required annotation types
            +
            +
        -
    -
    - + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AfterBeanDiscovery.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AfterBeanDiscovery.html index d997f79c62..8a315205a5 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AfterBeanDiscovery.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AfterBeanDiscovery.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.AfterBeanDiscovery (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.AfterBeanDiscovery

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.AfterBeanDiscovery

    -
    No usage of jakarta.enterprise.inject.spi.AfterBeanDiscovery
    -
    +No usage of jakarta.enterprise.inject.spi.AfterBeanDiscovery
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AfterDeploymentValidation.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AfterDeploymentValidation.html index 37b203ce7a..8ee679b302 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AfterDeploymentValidation.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AfterDeploymentValidation.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.AfterDeploymentValidation (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.AfterDeploymentValidation

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.AfterDeploymentValidation

    -
    No usage of jakarta.enterprise.inject.spi.AfterDeploymentValidation
    -
    +No usage of jakarta.enterprise.inject.spi.AfterDeploymentValidation
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AfterTypeDiscovery.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AfterTypeDiscovery.html index f993cb030a..eb28669da7 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AfterTypeDiscovery.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AfterTypeDiscovery.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.AfterTypeDiscovery (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.AfterTypeDiscovery

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.AfterTypeDiscovery

    -
    No usage of jakarta.enterprise.inject.spi.AfterTypeDiscovery
    -
    +No usage of jakarta.enterprise.inject.spi.AfterTypeDiscovery
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Annotated.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Annotated.html index 9b3944fe09..4ce5254033 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Annotated.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Annotated.html @@ -1,283 +1,154 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.Annotated (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.Annotated

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.Annotated

    -
    -
    + +
    ProcessBeanAttributes.getAnnotated()
    +
     
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedCallable.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedCallable.html index bda17dea07..be9f98332b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedCallable.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedCallable.html @@ -1,228 +1,113 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.AnnotatedCallable (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.AnnotatedCallable

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.AnnotatedCallable

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedConstructor.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedConstructor.html index 97a8329c3e..c817076ebd 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedConstructor.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedConstructor.html @@ -1,243 +1,120 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.AnnotatedConstructor (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.AnnotatedConstructor

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.AnnotatedConstructor

    -
    -
    +
    -
  • -
    - - -

    Uses of AnnotatedConstructor in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator that return AnnotatedConstructor 
    Modifier and TypeMethodDescription
    AnnotatedConstructor<T>AnnotatedConstructorConfigurator.getAnnotated() 
    - - - - - - - - - - - - - - -
    Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type AnnotatedConstructor 
    Modifier and TypeMethodDescription
    default java.util.stream.Stream<AnnotatedConstructorConfigurator<T>>AnnotatedTypeConfigurator.filterConstructors​(java.util.function.Predicate<AnnotatedConstructor<T>> predicate) 
    +
  • +
    +

    Uses of AnnotatedConstructor in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    AnnotatedConstructorConfigurator.getAnnotated()
    +
     
    +
    +
    Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type AnnotatedConstructor
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    AnnotatedTypeConfigurator.filterConstructors(Predicate<AnnotatedConstructor<T>> predicate)
    +
     
    +
  • -
  • - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedField.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedField.html index 752fc2eef5..9df0d1bc03 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedField.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedField.html @@ -1,287 +1,150 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.AnnotatedField (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.AnnotatedField

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.AnnotatedField

    -
    -
    +
    -
  • -
    - - -

    Uses of AnnotatedField in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator that return AnnotatedField 
    Modifier and TypeMethodDescription
    AnnotatedField<T>AnnotatedFieldConfigurator.getAnnotated() 
    - - - - - - - - - - - - - - -
    Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type AnnotatedField 
    Modifier and TypeMethodDescription
    default java.util.stream.Stream<AnnotatedFieldConfigurator<? super T>>AnnotatedTypeConfigurator.filterFields​(java.util.function.Predicate<AnnotatedField<? super T>> predicate) 
    +
  • +
    +

    Uses of AnnotatedField in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    AnnotatedFieldConfigurator.getAnnotated()
    +
     
    +
    +
    Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type AnnotatedField
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    AnnotatedTypeConfigurator.filterFields(Predicate<AnnotatedField<? super T>> predicate)
    +
     
    +
  • -
  • - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedMember.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedMember.html index 0e4f765952..9a76296e95 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedMember.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedMember.html @@ -1,261 +1,136 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.AnnotatedMember (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.AnnotatedMember

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.AnnotatedMember

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedMethod.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedMethod.html index b43eba1d79..e8ce14680d 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedMethod.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedMethod.html @@ -1,311 +1,166 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.AnnotatedMethod (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.AnnotatedMethod

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.AnnotatedMethod

    -
    -
    +
    -
  • -
    - - -

    Uses of AnnotatedMethod in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator that return AnnotatedMethod 
    Modifier and TypeMethodDescription
    AnnotatedMethod<T>AnnotatedMethodConfigurator.getAnnotated() 
    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator with parameters of type AnnotatedMethod 
    Modifier and TypeMethodDescription
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.read​(AnnotatedMethod<?> method) +
  • +
    +

    Uses of AnnotatedMethod in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    AnnotatedMethodConfigurator.getAnnotated()
    +
     
    +
    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    ObserverMethodConfigurator.read(AnnotatedMethod<?> method)
    +
    Read observer meta data from a existing AnnotatedMethod
    -
  • - - - - - - - - - - - - - - -
    Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type AnnotatedMethod 
    Modifier and TypeMethodDescription
    default java.util.stream.Stream<AnnotatedMethodConfigurator<? super T>>AnnotatedTypeConfigurator.filterMethods​(java.util.function.Predicate<AnnotatedMethod<? super T>> predicate) 
    +
  • + +
    Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type AnnotatedMethod
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    AnnotatedTypeConfigurator.filterMethods(Predicate<AnnotatedMethod<? super T>> predicate)
    +
     
    +
    - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedParameter.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedParameter.html index 07faf56f0e..54ad3b6d51 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedParameter.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedParameter.html @@ -1,291 +1,152 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.AnnotatedParameter (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.AnnotatedParameter

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.AnnotatedParameter

    -
    -
    +
    -
  • -
    - - -

    Uses of AnnotatedParameter in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator that return AnnotatedParameter 
    Modifier and TypeMethodDescription
    AnnotatedParameter<T>AnnotatedParameterConfigurator.getAnnotated() 
    - - - - - - - - - - - - - - - - - - - -
    Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type AnnotatedParameter 
    Modifier and TypeMethodDescription
    default java.util.stream.Stream<AnnotatedParameterConfigurator<T>>AnnotatedConstructorConfigurator.filterParams​(java.util.function.Predicate<AnnotatedParameter<T>> predicate) 
    default java.util.stream.Stream<AnnotatedParameterConfigurator<T>>AnnotatedMethodConfigurator.filterParams​(java.util.function.Predicate<AnnotatedParameter<T>> predicate) 
    +
  • +
    +

    Uses of AnnotatedParameter in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    AnnotatedParameterConfigurator.getAnnotated()
    +
     
    +
    +
    Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type AnnotatedParameter
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    AnnotatedConstructorConfigurator.filterParams(Predicate<AnnotatedParameter<T>> predicate)
    +
     
    + +
    AnnotatedMethodConfigurator.filterParams(Predicate<AnnotatedParameter<T>> predicate)
    +
     
    +
  • -
  • - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedType.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedType.html index e2ef68657c..0760170809 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedType.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/AnnotatedType.html @@ -1,370 +1,211 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.AnnotatedType (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.AnnotatedType

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.AnnotatedType

    -
    -
    +
    -
  • -
    - - -

    Uses of AnnotatedType in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator that return AnnotatedType 
    Modifier and TypeMethodDescription
    AnnotatedType<T>AnnotatedTypeConfigurator.getAnnotated() 
    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator with parameters of type AnnotatedType 
    Modifier and TypeMethodDescription
    <U extends T>
    BeanConfigurator<U>
    BeanConfigurator.read​(AnnotatedType<U> type) +
  • +
    +

    Uses of AnnotatedType in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    AnnotatedTypeConfigurator.getAnnotated()
    +
     
    +
    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    <U extends T>
    BeanConfigurator<U>
    +
    BeanConfigurator.read(AnnotatedType<U> type)
    +
    Read the information from the given annotated type.
    -
  • +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Bean.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Bean.html index 4c655d2314..743643f83e 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Bean.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Bean.html @@ -1,413 +1,247 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.Bean (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.Bean

    -
    -
    -
    +
    Packages that use Bean
    +
    +
    Package
    +
    Description
    + +
     
    + +
    +
    + The portable extension integration SPI.
    +
    +
    +
    +
    +
    - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeanAttributes.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeanAttributes.html index 4ed2414c46..6d6cb05f52 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeanAttributes.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeanAttributes.html @@ -1,312 +1,172 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.BeanAttributes (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.BeanAttributes

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.BeanAttributes

    -
    -
    +
    -
  • -
    - - -

    Uses of BeanAttributes in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator with parameters of type BeanAttributes 
    Modifier and TypeMethodDescription
    BeanConfigurator<T>BeanConfigurator.read​(BeanAttributes<?> beanAttributes) +
  • +
    +

    Uses of BeanAttributes in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    BeanConfigurator.read(BeanAttributes<?> beanAttributes)
    +
    Read the information from the given bean attributes.
    -
  • +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeanContainer.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeanContainer.html index 55c5229fa1..7e036e6f64 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeanContainer.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeanContainer.html @@ -1,247 +1,124 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.BeanContainer (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.BeanContainer

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.BeanContainer

    -
    -
    +
    -
  • -
    - - -

    Uses of BeanContainer in jakarta.enterprise.inject.spi

    - - - - - - - - - - - - - - -
    Subinterfaces of BeanContainer in jakarta.enterprise.inject.spi 
    Modifier and TypeInterfaceDescription
    interface BeanManager +
  • +
    +

    Uses of BeanContainer in jakarta.enterprise.inject.spi

    + +
    +
    Modifier and Type
    +
    Interface
    +
    Description
    +
    interface 
    + +
    Allows a portable extension to interact directly with the container.
    -
  • - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi that return BeanContainer 
    Modifier and TypeMethodDescription
    BeanContainerCDI.getBeanContainer() + + + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + + +
    Get the CDI BeanContainer for the current context.
    -
    +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeanManager.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeanManager.html index 7b7a159747..73aec790a0 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeanManager.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeanManager.html @@ -1,245 +1,124 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.BeanManager (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.BeanManager

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.BeanManager

    -
    -
    +
    -
  • -
    - - -

    Uses of BeanManager in jakarta.enterprise.inject.spi

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi that return BeanManager 
    Modifier and TypeMethodDescription
    abstract BeanManagerCDI.getBeanManager() +
  • +
    +

    Uses of BeanManager in jakarta.enterprise.inject.spi

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    abstract BeanManager
    + +
    Get the CDI BeanManager for the current context
    -
  • - - - - - - - - - - - - -
    Constructors in jakarta.enterprise.inject.spi with parameters of type BeanManager 
    ConstructorDescription
    Unmanaged​(BeanManager manager, - java.lang.Class<T> clazz) + + +
    Constructors in jakarta.enterprise.inject.spi with parameters of type BeanManager
    +
    +
    Modifier
    +
    Constructor
    +
    Description
    +
     
    +
    Unmanaged(BeanManager manager, + Class<T> clazz)
    +
    Create an injector for the given class
    -
    +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeforeBeanDiscovery.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeforeBeanDiscovery.html index 7a758442dc..891cecc052 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeforeBeanDiscovery.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeforeBeanDiscovery.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.BeforeBeanDiscovery (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.BeforeBeanDiscovery

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.BeforeBeanDiscovery

    -
    No usage of jakarta.enterprise.inject.spi.BeforeBeanDiscovery
    -
    +No usage of jakarta.enterprise.inject.spi.BeforeBeanDiscovery
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeforeShutdown.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeforeShutdown.html index 6f9c92a128..3b007addc0 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeforeShutdown.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/BeforeShutdown.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.BeforeShutdown (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.BeforeShutdown

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.BeforeShutdown

    -
    No usage of jakarta.enterprise.inject.spi.BeforeShutdown
    -
    +No usage of jakarta.enterprise.inject.spi.BeforeShutdown
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/CDI.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/CDI.html index 4042e83250..a292a8c4e2 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/CDI.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/CDI.html @@ -1,209 +1,100 @@ - - + Uses of Class jakarta.enterprise.inject.spi.CDI (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.spi.CDI

    +

    Uses of Class
    jakarta.enterprise.inject.spi.CDI

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/CDIProvider.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/CDIProvider.html index 77206eb542..00a7e9235e 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/CDIProvider.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/CDIProvider.html @@ -1,232 +1,117 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.CDIProvider (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.CDIProvider

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.CDIProvider

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Decorator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Decorator.html index 940005ecbb..8cf20d79c6 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Decorator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Decorator.html @@ -1,204 +1,97 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.Decorator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.Decorator

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.Decorator

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/DefinitionException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/DefinitionException.html index 00f096a588..745eb7c243 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/DefinitionException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/DefinitionException.html @@ -1,153 +1,64 @@ - - + Uses of Class jakarta.enterprise.inject.spi.DefinitionException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.spi.DefinitionException

    +

    Uses of Class
    jakarta.enterprise.inject.spi.DefinitionException

    -
    No usage of jakarta.enterprise.inject.spi.DefinitionException
    -
    +No usage of jakarta.enterprise.inject.spi.DefinitionException
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/DeploymentException.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/DeploymentException.html index 42c14af965..3aa32e1711 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/DeploymentException.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/DeploymentException.html @@ -1,153 +1,64 @@ - - + Uses of Class jakarta.enterprise.inject.spi.DeploymentException (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.spi.DeploymentException

    +

    Uses of Class
    jakarta.enterprise.inject.spi.DeploymentException

    -
    No usage of jakarta.enterprise.inject.spi.DeploymentException
    -
    +No usage of jakarta.enterprise.inject.spi.DeploymentException
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/EventContext.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/EventContext.html index b68d65f271..9a2fa8e98b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/EventContext.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/EventContext.html @@ -1,258 +1,132 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.EventContext (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.EventContext

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.EventContext

    -
    -
    +
    -
  • -
    - - -

    Uses of EventContext in jakarta.enterprise.inject.spi

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi with parameters of type EventContext 
    Modifier and TypeMethodDescription
    default voidObserverMethod.notify​(EventContext<T> eventContext) +
  • +
    +

    Uses of EventContext in jakarta.enterprise.inject.spi

    +
    Methods in jakarta.enterprise.inject.spi with parameters of type EventContext
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    default void
    +
    ObserverMethod.notify(EventContext<T> eventContext)
    +
    Calls the observer method, passing the given event context.
    -
  • +
  • +
    -
  • -
    - - -

    Uses of EventContext in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator with parameters of type EventContext 
    Modifier and TypeMethodDescription
    voidObserverMethodConfigurator.EventConsumer.accept​(EventContext<T> eventContext) 
    +
  • +
    +

    Uses of EventContext in jakarta.enterprise.inject.spi.configurator

    +
    Methods in jakarta.enterprise.inject.spi.configurator with parameters of type EventContext
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    void
    +
    ObserverMethodConfigurator.EventConsumer.accept(EventContext<T> eventContext)
    +
     
    +
  • -
  • - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/EventMetadata.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/EventMetadata.html index 7489a574e1..02230ce58f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/EventMetadata.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/EventMetadata.html @@ -1,199 +1,92 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.EventMetadata (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.EventMetadata

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.EventMetadata

    +
    +
    Packages that use EventMetadata
    +
    +
    Package
    +
    Description
    + +
    +
    + The portable extension integration SPI.
    +
    +
    +
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Extension.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Extension.html index a3a8c16857..b90420a380 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Extension.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Extension.html @@ -1,291 +1,133 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.Extension (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.Extension

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.Extension

    -
    -
    +
    -
  • -
    - - -

    Uses of Extension in jakarta.enterprise.inject.spi

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi with type parameters of type Extension 
    Modifier and TypeMethodDescription
    <T extends Extension>
    T
    BeanManager.getExtension​(java.lang.Class<T> extensionClass) +
  • +
    +

    Uses of Extension in jakarta.enterprise.inject.spi

    +
    Methods in jakarta.enterprise.inject.spi with type parameters of type Extension
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    <T extends Extension>
    T
    +
    BeanManager.getExtension(Class<T> extensionClass)
    +
    Obtains the container's instance of an Extension class declared in META-INF/services.
    -
  • - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi that return Extension 
    Modifier and TypeMethodDescription
    ExtensionProcessSyntheticAnnotatedType.getSource() + + + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    ProcessSyntheticAnnotatedType.getSource()
    +
    Get the extension instance which added the AnnotatedType for which this event is being fired.
    -
    ExtensionProcessSyntheticBean.getSource() + + +
    ProcessSyntheticBean.getSource()
    +
    Get the extension instance which added the Bean for which this event is being fired.
    -
    ExtensionProcessSyntheticObserverMethod.getSource() + + +
    ProcessSyntheticObserverMethod.getSource()
    +
    Get the extension instance which added the ObserverMethod for which this event is being fired.
    -
    +
  • +
    - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InjectionPoint.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InjectionPoint.html index 99eb36cc1d..b73a89d8f2 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InjectionPoint.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InjectionPoint.html @@ -1,345 +1,192 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.InjectionPoint (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.InjectionPoint

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.InjectionPoint

    -
    -
    +
    -
  • -
    - - -

    Uses of InjectionPoint in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator with parameters of type InjectionPoint 
    Modifier and TypeMethodDescription
    BeanConfigurator<T>BeanConfigurator.addInjectionPoint​(InjectionPoint injectionPoint) +
  • +
    +

    Uses of InjectionPoint in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    BeanConfigurator.addInjectionPoint(InjectionPoint injectionPoint)
    +
    Add an InjectionPoint to the configured bean
    -
  • BeanConfigurator<T>BeanConfigurator.addInjectionPoints​(InjectionPoint... injectionPoints) + + +
    BeanConfigurator.addInjectionPoints(InjectionPoint... injectionPoints)
    +
    Add InjectionPoints to the configured bean
    -
    BeanConfigurator<T>BeanConfigurator.injectionPoints​(InjectionPoint... injectionPoints) + + +
    BeanConfigurator.injectionPoints(InjectionPoint... injectionPoints)
    +
    Replace InjectionPoints for the configured bean
    -
    - - - - - - - - - - - - - - - - - - - -
    Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type InjectionPoint 
    Modifier and TypeMethodDescription
    BeanConfigurator<T>BeanConfigurator.addInjectionPoints​(java.util.Set<InjectionPoint> injectionPoints) + + +
    Method parameters in jakarta.enterprise.inject.spi.configurator with type arguments of type InjectionPoint
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    BeanConfigurator.addInjectionPoints(Set<InjectionPoint> injectionPoints)
    +
    Add InjectionPoints to the configured bean
    -
    BeanConfigurator<T>BeanConfigurator.injectionPoints​(java.util.Set<InjectionPoint> injectionPoints) + + +
    BeanConfigurator.injectionPoints(Set<InjectionPoint> injectionPoints)
    +
    Replace InjectionPoints for the configured bean
    -
    +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InjectionTarget.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InjectionTarget.html index 7d0d56ec39..1c4f4b0b35 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InjectionTarget.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InjectionTarget.html @@ -1,226 +1,111 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.InjectionTarget (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.InjectionTarget

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.InjectionTarget

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InjectionTargetFactory.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InjectionTargetFactory.html index 3cf7ffb7ec..af51cf3f70 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InjectionTargetFactory.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InjectionTargetFactory.html @@ -1,222 +1,109 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.InjectionTargetFactory (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.InjectionTargetFactory

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.InjectionTargetFactory

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InterceptionFactory.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InterceptionFactory.html index 1b1df286c1..ae7d8af4d6 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InterceptionFactory.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InterceptionFactory.html @@ -1,211 +1,102 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.InterceptionFactory (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.InterceptionFactory

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.InterceptionFactory

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InterceptionType.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InterceptionType.html index 0a1bdd6be7..9a3df514af 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InterceptionType.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/InterceptionType.html @@ -1,282 +1,154 @@ - - -Uses of Class jakarta.enterprise.inject.spi.InterceptionType (Jakarta Contexts and Dependency Injection API) + +Uses of Enum jakarta.enterprise.inject.spi.InterceptionType (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.spi.InterceptionType

    +

    Uses of Enum
    jakarta.enterprise.inject.spi.InterceptionType

    -
    -
    +
    -
  • -
    - - -

    Uses of InterceptionType in jakarta.enterprise.inject.spi

    - - - - - - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi that return InterceptionType 
    Modifier and TypeMethodDescription
    static InterceptionTypeInterceptionType.valueOf​(java.lang.String name) +
  • +
    +

    Uses of InterceptionType in jakarta.enterprise.inject.spi

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    InterceptionType.valueOf(String name)
    +
    Returns the enum constant of this type with the specified name.
    -
  • static InterceptionType[]InterceptionType.values() + + +
    InterceptionType.values()
    +
    Returns an array containing the constants of this enum type, in the order they are declared.
    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi with parameters of type InterceptionType 
    Modifier and TypeMethodDescription
    java.lang.ObjectInterceptor.intercept​(InterceptionType type, - T instance, - jakarta.interceptor.InvocationContext ctx) + + +
    Methods in jakarta.enterprise.inject.spi with parameters of type InterceptionType
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    Interceptor.intercept(InterceptionType type, + T instance, + jakarta.interceptor.InvocationContext ctx)
    +
    Invokes the specified kind of lifecycle callback or method invocation interception upon the given interceptor instance.
    -
    booleanInterceptor.intercepts​(InterceptionType type) + +
    boolean
    +
    Interceptor.intercepts(InterceptionType type)
    +
    Determines if the interceptor intercepts the specified kind of lifecycle callback or method invocation.
    -
    java.util.List<Interceptor<?>>BeanContainer.resolveInterceptors​(InterceptionType type, - java.lang.annotation.Annotation... interceptorBindings) + + +
    BeanContainer.resolveInterceptors(InterceptionType type, + Annotation... interceptorBindings)
    +
    Return an ordered list of enabled interceptors for a set of interceptor bindings and a type of interception and which are enabled in the module or library containing the class into which the BeanManager/BeanContainer was injected or, in the Jakarta EE environment, the Jakarta EE component from whose JNDI environment namespace the BeanManager/BeanContainer was obtained.
    -
    +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Interceptor.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Interceptor.html index 1a111e0173..96aa72eb0f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Interceptor.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Interceptor.html @@ -1,206 +1,99 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.Interceptor (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.Interceptor

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.Interceptor

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ObserverMethod.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ObserverMethod.html index 60b02822c7..b4184543a8 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ObserverMethod.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ObserverMethod.html @@ -1,275 +1,144 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ObserverMethod (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ObserverMethod

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ObserverMethod

    -
    -
    +
    -
  • -
    - - -

    Uses of ObserverMethod in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator with parameters of type ObserverMethod 
    Modifier and TypeMethodDescription
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.read​(ObserverMethod<T> method) +
  • +
    +

    Uses of ObserverMethod in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    ObserverMethodConfigurator.read(ObserverMethod<T> method)
    +
    Read observer meta data from a existing ObserverMethod
    -
  • +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/PassivationCapable.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/PassivationCapable.html index b044b7f1a2..27cc202d39 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/PassivationCapable.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/PassivationCapable.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.PassivationCapable (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.PassivationCapable

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.PassivationCapable

    -
    No usage of jakarta.enterprise.inject.spi.PassivationCapable
    -
    +No usage of jakarta.enterprise.inject.spi.PassivationCapable
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Prioritized.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Prioritized.html index e7ada75742..9d9f106be0 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Prioritized.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Prioritized.html @@ -1,240 +1,122 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.Prioritized (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.Prioritized

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.Prioritized

    -
    -
    +
    -
  • -
    - - -

    Uses of Prioritized in jakarta.enterprise.inject.spi

    - - - - - - - - - - - - - - - - - - - -
    Subinterfaces of Prioritized in jakarta.enterprise.inject.spi 
    Modifier and TypeInterfaceDescription
    interface CDIProvider +
  • +
    +

    Uses of Prioritized in jakarta.enterprise.inject.spi

    + +
    +
    Modifier and Type
    +
    Interface
    +
    Description
    +
    interface 
    + +
    Interface implemented by a CDI provider to provide access to the current container
    -
  • interface ObserverMethod<T> + +
    interface 
    + +
    Represents an observer method of an enabled bean.
    -
    +
  • +
    - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessAnnotatedType.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessAnnotatedType.html index 2ec4e5ec74..bd3b41018f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessAnnotatedType.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessAnnotatedType.html @@ -1,204 +1,97 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProcessAnnotatedType (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessAnnotatedType

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessAnnotatedType

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessBean.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessBean.html index 34f3dd615e..01a653cf96 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessBean.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessBean.html @@ -1,240 +1,125 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProcessBean (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessBean

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessBean

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessBeanAttributes.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessBeanAttributes.html index 57505aa875..1275231090 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessBeanAttributes.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessBeanAttributes.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProcessBeanAttributes (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessBeanAttributes

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessBeanAttributes

    -
    No usage of jakarta.enterprise.inject.spi.ProcessBeanAttributes
    -
    +No usage of jakarta.enterprise.inject.spi.ProcessBeanAttributes
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessInjectionPoint.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessInjectionPoint.html index 6377560714..812a8482cc 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessInjectionPoint.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessInjectionPoint.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProcessInjectionPoint (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessInjectionPoint

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessInjectionPoint

    -
    No usage of jakarta.enterprise.inject.spi.ProcessInjectionPoint
    -
    +No usage of jakarta.enterprise.inject.spi.ProcessInjectionPoint
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessInjectionTarget.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessInjectionTarget.html index 75be9c9e41..e63eae7625 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessInjectionTarget.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessInjectionTarget.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProcessInjectionTarget (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessInjectionTarget

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessInjectionTarget

    -
    No usage of jakarta.enterprise.inject.spi.ProcessInjectionTarget
    -
    +No usage of jakarta.enterprise.inject.spi.ProcessInjectionTarget
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessManagedBean.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessManagedBean.html index 329c436b0c..e42a113589 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessManagedBean.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessManagedBean.html @@ -1,203 +1,96 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProcessManagedBean (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessManagedBean

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessManagedBean

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessObserverMethod.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessObserverMethod.html index d054276a1c..8eed61e6ce 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessObserverMethod.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessObserverMethod.html @@ -1,204 +1,97 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProcessObserverMethod (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessObserverMethod

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessObserverMethod

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessProducer.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessProducer.html index 90eab2b330..fb1b69893c 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessProducer.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessProducer.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProcessProducer (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessProducer

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessProducer

    -
    No usage of jakarta.enterprise.inject.spi.ProcessProducer
    -
    +No usage of jakarta.enterprise.inject.spi.ProcessProducer
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessProducerField.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessProducerField.html index 3c088c9ccd..2a55ad277d 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessProducerField.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessProducerField.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProcessProducerField (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessProducerField

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessProducerField

    -
    No usage of jakarta.enterprise.inject.spi.ProcessProducerField
    -
    +No usage of jakarta.enterprise.inject.spi.ProcessProducerField
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessProducerMethod.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessProducerMethod.html index 636d0b92bb..a177f70cba 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessProducerMethod.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessProducerMethod.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProcessProducerMethod (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessProducerMethod

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessProducerMethod

    -
    No usage of jakarta.enterprise.inject.spi.ProcessProducerMethod
    -
    +No usage of jakarta.enterprise.inject.spi.ProcessProducerMethod
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSessionBean.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSessionBean.html index f5052d1e66..3e0a1f5521 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSessionBean.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSessionBean.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProcessSessionBean (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessSessionBean

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessSessionBean

    -
    No usage of jakarta.enterprise.inject.spi.ProcessSessionBean
    -
    +No usage of jakarta.enterprise.inject.spi.ProcessSessionBean
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSyntheticAnnotatedType.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSyntheticAnnotatedType.html index d52aa1b679..4ef77a3f55 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSyntheticAnnotatedType.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSyntheticAnnotatedType.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProcessSyntheticAnnotatedType (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessSyntheticAnnotatedType

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessSyntheticAnnotatedType

    -
    No usage of jakarta.enterprise.inject.spi.ProcessSyntheticAnnotatedType
    -
    +No usage of jakarta.enterprise.inject.spi.ProcessSyntheticAnnotatedType
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSyntheticBean.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSyntheticBean.html index a83af437fc..c84a8b5a14 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSyntheticBean.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSyntheticBean.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProcessSyntheticBean (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessSyntheticBean

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessSyntheticBean

    -
    No usage of jakarta.enterprise.inject.spi.ProcessSyntheticBean
    -
    +No usage of jakarta.enterprise.inject.spi.ProcessSyntheticBean
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSyntheticObserverMethod.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSyntheticObserverMethod.html index 363f11479c..f241b80774 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSyntheticObserverMethod.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProcessSyntheticObserverMethod.html @@ -1,153 +1,64 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProcessSyntheticObserverMethod (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessSyntheticObserverMethod

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProcessSyntheticObserverMethod

    -
    No usage of jakarta.enterprise.inject.spi.ProcessSyntheticObserverMethod
    -
    +No usage of jakarta.enterprise.inject.spi.ProcessSyntheticObserverMethod
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Producer.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Producer.html index 4f40fbc00e..e1dff42ff7 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Producer.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Producer.html @@ -1,246 +1,125 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.Producer (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.Producer

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.Producer

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProducerFactory.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProducerFactory.html index 85497800f8..67f907d7da 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProducerFactory.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/ProducerFactory.html @@ -1,234 +1,120 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.ProducerFactory (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.ProducerFactory

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.ProducerFactory

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/SessionBeanType.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/SessionBeanType.html index d51bbdc660..1d244aafc8 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/SessionBeanType.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/SessionBeanType.html @@ -1,216 +1,105 @@ - - -Uses of Class jakarta.enterprise.inject.spi.SessionBeanType (Jakarta Contexts and Dependency Injection API) + +Uses of Enum jakarta.enterprise.inject.spi.SessionBeanType (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.spi.SessionBeanType

    +

    Uses of Enum
    jakarta.enterprise.inject.spi.SessionBeanType

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Unmanaged.UnmanagedInstance.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Unmanaged.UnmanagedInstance.html index 9384410b06..32dea1a6e9 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Unmanaged.UnmanagedInstance.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Unmanaged.UnmanagedInstance.html @@ -1,236 +1,119 @@ - - + Uses of Class jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance

    +

    Uses of Class
    jakarta.enterprise.inject.spi.Unmanaged.UnmanagedInstance

    -
    -
    +
    - - -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Unmanaged.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Unmanaged.html index f746c5f922..af4b3e27de 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Unmanaged.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/Unmanaged.html @@ -1,153 +1,64 @@ - - + Uses of Class jakarta.enterprise.inject.spi.Unmanaged (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.spi.Unmanaged

    +

    Uses of Class
    jakarta.enterprise.inject.spi.Unmanaged

    -
    No usage of jakarta.enterprise.inject.spi.Unmanaged
    -
    +No usage of jakarta.enterprise.inject.spi.Unmanaged
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/WithAnnotations.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/WithAnnotations.html index 6dfac48af3..c8ab5f35ce 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/WithAnnotations.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/class-use/WithAnnotations.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.inject.spi.WithAnnotations (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.inject.spi.WithAnnotations (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.inject.spi.WithAnnotations

    +

    Uses of Annotation Type
    jakarta.enterprise.inject.spi.WithAnnotations

    -
    No usage of jakarta.enterprise.inject.spi.WithAnnotations
    -
    +No usage of jakarta.enterprise.inject.spi.WithAnnotations
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedConstructorConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedConstructorConfigurator.html index f8823bac4e..9e33a946b9 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedConstructorConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedConstructorConfigurator.html @@ -1,402 +1,259 @@ - - + AnnotatedConstructorConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AnnotatedConstructorConfigurator<T>

    +
    Module jakarta.cdi
    + +

    Interface AnnotatedConstructorConfigurator<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the class declaring the constructor

      -
      public interface AnnotatedConstructorConfigurator<T>
      +
      public interface AnnotatedConstructorConfigurator<T>
      This interface is part of the AnnotatedTypeConfigurator SPI and helps defining an AnnotatedConstructor -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Martin Kouba, Antoine Sabot-Durand
    - - -
    -
    -
    +
    +
    +
    -
    -
    -
    -
    - + +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedFieldConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedFieldConfigurator.html index 5c0f41e912..e0bfef1157 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedFieldConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedFieldConfigurator.html @@ -1,361 +1,224 @@ - - + AnnotatedFieldConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AnnotatedFieldConfigurator<T>

    +
    Module jakarta.cdi
    + +

    Interface AnnotatedFieldConfigurator<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the class declaring the field

      -
      public interface AnnotatedFieldConfigurator<T>
      +
      public interface AnnotatedFieldConfigurator<T>
      This interface is part of the AnnotatedTypeConfigurator SPI and helps defining an AnnotatedField -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Martin Kouba, Antoine Sabot-Durand
    - - -
    -
    -
    +
    +
    +
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getAnnotated

            -
            AnnotatedField<T> getAnnotated()
            -
            -
            Returns:
            +
          • +
            +

            Method Details

            + - - - - - - - -
              -
            • -

              remove

              -
              AnnotatedFieldConfigurator<T> remove​(java.util.function.Predicate<java.lang.annotation.Annotation> predicate)
              +
            • +
              +

              remove

              +
              Remove annotations that match the specified predicate.

              Example predicates:

              - +
                 
                // To remove all the annotations:
                (a) -> true
              - 
              +
                // To remove annotations with a concrete annotation type:
                (a) -> a.annotationType().equals(Foo.class)
              - 
              +
                // To remove annotation equal to a specified object:
                (a) -> a.equals(fooAnnotation)
              - 
              +
                // To remove annotations that are considered equivalent for the purposes of typesafe resolution:
                (a) -> beanManager.areQualifiersEquivalent(a, fooQualifier)
                (a) -> beanManager.areInterceptorBindingsEquivalent(a, fooInterceptorBinding)
                
                
              -
              -
              Parameters:
              -
              predicate - Predicate used to filter annotations to remove
              -
              Returns:
              +
              +
              Parameters:
              +
              predicate - Predicate used to filter annotations to remove
              +
              Returns:
              self
              +
            • -
            - - - - +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedMethodConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedMethodConfigurator.html index d2774aaae9..96ac7763f0 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedMethodConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedMethodConfigurator.html @@ -1,402 +1,259 @@ - - + AnnotatedMethodConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AnnotatedMethodConfigurator<T>

    +
    Module jakarta.cdi
    + +

    Interface AnnotatedMethodConfigurator<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the class declaring the method

      -
      public interface AnnotatedMethodConfigurator<T>
      +
      public interface AnnotatedMethodConfigurator<T>
      This interface is part of the AnnotatedTypeConfigurator SPI and helps defining an AnnotatedMethod -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Martin Kouba, Antoine Sabot-Durand
    - - -
    -
    -
    +
    +
    + - -
    -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedParameterConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedParameterConfigurator.html index faa7486955..0989280968 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedParameterConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedParameterConfigurator.html @@ -1,361 +1,224 @@ - - + AnnotatedParameterConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AnnotatedParameterConfigurator<T>

    +
    Module jakarta.cdi
    + +

    Interface AnnotatedParameterConfigurator<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the class containing the method declaring the parameter

      -
      public interface AnnotatedParameterConfigurator<T>
      +
      public interface AnnotatedParameterConfigurator<T>
      This interface is part of the AnnotatedTypeConfigurator SPI and helps defining an AnnotatedParameter -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Martin Kouba, Antoine Sabot-Durand
    - - -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            getAnnotated

            -
            AnnotatedParameter<T> getAnnotated()
            -
            -
            Returns:
            +
          • +
            +

            Method Details

            + - - - - - - - -
              -
            • -

              remove

              -
              AnnotatedParameterConfigurator<T> remove​(java.util.function.Predicate<java.lang.annotation.Annotation> predicate)
              +
            • +
              +

              remove

              +
              Remove annotations that match the specified predicate.

              Example predicates:

              - +
                 
                // To remove all the annotations:
                (a) -> true
              - 
              +
                // To remove annotations with a concrete annotation type:
                (a) -> a.annotationType().equals(Foo.class)
              - 
              +
                // To remove annotation equal to a specified object:
                (a) -> a.equals(fooAnnotation)
              - 
              +
                // To remove annotations that are considered equivalent for the purposes of typesafe resolution:
                (a) -> beanManager.areQualifiersEquivalent(a, fooQualifier)
                (a) -> beanManager.areInterceptorBindingsEquivalent(a, fooInterceptorBinding)
                
                
              -
              -
              Parameters:
              -
              predicate - Predicate used to filter annotations to remove
              -
              Returns:
              +
              +
              Parameters:
              +
              predicate - Predicate used to filter annotations to remove
              +
              Returns:
              self
              +
            • -
            - - - - +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedTypeConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedTypeConfigurator.html index 35649253e8..26e56c80b3 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedTypeConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/AnnotatedTypeConfigurator.html @@ -1,497 +1,346 @@ - - + AnnotatedTypeConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface AnnotatedTypeConfigurator<T>

    +
    Module jakarta.cdi
    + +

    Interface AnnotatedTypeConfigurator<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the class represented by the configured AnnotatedType

      -
      public interface AnnotatedTypeConfigurator<T>
      +
      public interface AnnotatedTypeConfigurator<T>

      This API is a helper to configure a new AnnotatedType instance. The container must provide an implementation of this interface.

      - +

      AnnotatedTypeConfigurator is not reusable.

      - +

      This configurator is not thread safe and shall not be used concurrently.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Martin Kouba, Antoine Sabot-Durand
    -
    See Also:
    -
    BeforeBeanDiscovery.addAnnotatedType(Class, String), -AfterTypeDiscovery.addAnnotatedType(Class, String), -ProcessAnnotatedType.configureAnnotatedType()
    -
    - +
    See Also:
    +
    + -
    -
    -
    +
    + + - -
    -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/BeanAttributesConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/BeanAttributesConfigurator.html index 99303a05b7..f3d9bda596 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/BeanAttributesConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/BeanAttributesConfigurator.html @@ -1,676 +1,473 @@ - - + BeanAttributesConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface BeanAttributesConfigurator<T>

    +
    Module jakarta.cdi
    + +

    Interface BeanAttributesConfigurator<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the class of the bean instance

      -
      public interface BeanAttributesConfigurator<T>
      +
      public interface BeanAttributesConfigurator<T>
      This API is an helper to configure a new BeanAttributes instance. CDI container must provides an implementation of this interface. This configurator is not thread safe and shall not be used concurrently. -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Antoine Sabot-Durand
    -
    See Also:
    -
    ProcessBeanAttributes.configureBeanAttributes()
    -
    - +
    See Also:
    +
    + -
    -
    -
    +
    +
    + - -
    -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/BeanConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/BeanConfigurator.html index 904d33b0b3..e54d442373 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/BeanConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/BeanConfigurator.html @@ -1,940 +1,735 @@ - - + BeanConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface BeanConfigurator<T>

    +
    Module jakarta.cdi
    + +

    Interface BeanConfigurator<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - the class of the bean instance

      -
      public interface BeanConfigurator<T>
      +
      public interface BeanConfigurator<T>
      This API is an helper to configure a new Bean instance. CDI container must provides an implementation of this interface. This builder is not thread safe and shall not be used concurrently. -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Martin Kouba, Antoine Sabot-Durand
    -
    See Also:
    -
    AfterBeanDiscovery.addBean()
    -
    - +
    See Also:
    +
    + -
    -
    -
    +
    +
    + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            beanClass

            -
            BeanConfigurator<T> beanClass​(java.lang.Class<?> beanClass)
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              beanClass

              +
              BeanConfigurator<T> beanClass(Class<?> beanClass)
              Set the class of the configured Bean. If not set, the extension class is used.
              -
              -
              Parameters:
              +
              +
              Parameters:
              beanClass - class of the configured bean
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              addInjectionPoint

              -
              BeanConfigurator<T> addInjectionPoint​(InjectionPoint injectionPoint)
              +
            • +
              +

              addInjectionPoint

              +
              BeanConfigurator<T> addInjectionPoint(InjectionPoint injectionPoint)
              Add an InjectionPoint to the configured bean
              -
              -
              Parameters:
              +
              +
              Parameters:
              injectionPoint - the injectionPoint to add
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              addInjectionPoints

              -
              BeanConfigurator<T> addInjectionPoints​(InjectionPoint... injectionPoints)
              +
            • +
              +

              addInjectionPoints

              +
              BeanConfigurator<T> addInjectionPoints(InjectionPoint... injectionPoints)
              Add InjectionPoints to the configured bean
              -
              -
              Parameters:
              +
              +
              Parameters:
              injectionPoints - the injectionPoints to add
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              addInjectionPoints

              -
              BeanConfigurator<T> addInjectionPoints​(java.util.Set<InjectionPoint> injectionPoints)
              +
            • +
              +

              addInjectionPoints

              +
              BeanConfigurator<T> addInjectionPoints(Set<InjectionPoint> injectionPoints)
              Add InjectionPoints to the configured bean
              -
              -
              Parameters:
              +
              +
              Parameters:
              injectionPoints - the injectionPoints to add
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              injectionPoints

              -
              BeanConfigurator<T> injectionPoints​(InjectionPoint... injectionPoints)
              +
            • +
              +

              injectionPoints

              +
              BeanConfigurator<T> injectionPoints(InjectionPoint... injectionPoints)
              Replace InjectionPoints for the configured bean
              -
              -
              Parameters:
              +
              +
              Parameters:
              injectionPoints - the injectionPoints for the configured bean
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              injectionPoints

              -
              BeanConfigurator<T> injectionPoints​(java.util.Set<InjectionPoint> injectionPoints)
              +
            • +
              +

              injectionPoints

              +
              BeanConfigurator<T> injectionPoints(Set<InjectionPoint> injectionPoints)
              Replace InjectionPoints for the configured bean
              -
              -
              Parameters:
              +
              +
              Parameters:
              injectionPoints - the injectionPoints for the configured bean
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - - - - - - - - - -
              -
            • -

              produceWith

              -
              <U extends TBeanConfigurator<U> produceWith​(java.util.function.Function<Instance<java.lang.Object>,​U> callback)
              +
            • +
              +

              produceWith

              +
              <U extends T> BeanConfigurator<U> produceWith(Function<Instance<Object>,U> callback)
              Set a callback to create a bean instance.

              The Instance argument might be used to simulate producer method parameter injection. However, dependent scoped bean instances obtained from Instance during the callback execution remain managed until the produced bean instance is destroyed. Therefore, applications are encouraged to always destroy unneeded dependent scoped bean instances obtained from Instance.

              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              U - instance type
              -
              Parameters:
              +
              Parameters:
              callback - the callback to create the instance
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              destroyWith

              -
              BeanConfigurator<T> destroyWith​(java.util.function.BiConsumer<T,​CreationalContext<T>> callback)
              +
            • +
              +

              destroyWith

              +
              BeanConfigurator<T> destroyWith(BiConsumer<T,CreationalContext<T>> callback)
              Set a callback to destroy a bean instance.

              If no destroy callback is specified, a NOOP callback is automatically set.

              -
              -
              Parameters:
              +
              +
              Parameters:
              callback - the callback to destroy the instance
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              disposeWith

              -
              BeanConfigurator<T> disposeWith​(java.util.function.BiConsumer<T,​Instance<java.lang.Object>> callback)
              +
            • +
              +

              disposeWith

              +
              BeanConfigurator<T> disposeWith(BiConsumer<T,Instance<Object>> callback)
              Set a callback to destroy a bean instance.

              If no dispose callback is specified, a NOOP callback is automatically set.

              The Instance argument might be used to simulate disposer method parameter injection. All dependent scoped bean instances obtained from Instance during the callback execution are destroyed when the execution completes.

              -
              -
              Parameters:
              +
              +
              Parameters:
              callback - the callback to dispose the instance
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              read

              -
              <U extends TBeanConfigurator<U> read​(AnnotatedType<U> type)
              +
            • +
              +

              read

              +
              <U extends T> BeanConfigurator<U> read(AnnotatedType<U> type)
              Read the information from the given annotated type. All relevant information is overwritten.
              -
              -
              Type Parameters:
              +
              +
              Type Parameters:
              U - instance type
              -
              Parameters:
              +
              Parameters:
              type - class to read information from
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              read

              -
              BeanConfigurator<T> read​(BeanAttributes<?> beanAttributes)
              +
            • +
              +

              read

              +
              BeanConfigurator<T> read(BeanAttributes<?> beanAttributes)
              Read the information from the given bean attributes. All relevant information is overwritten.
              -
              -
              Parameters:
              +
              +
              Parameters:
              beanAttributes - beanAttributes to read information from
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              addType

              -
              BeanConfigurator<T> addType​(java.lang.reflect.Type type)
              +
            • +
              +

              addType

              +
              BeanConfigurator<T> addType(Type type)
              Add a type to the bean types
              -
              -
              Parameters:
              +
              +
              Parameters:
              type - the type to add
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - - - - - -
              -
            • -

              addTypes

              -
              BeanConfigurator<T> addTypes​(java.lang.reflect.Type... types)
              +
            • +
              +

              addTypes

              +
              BeanConfigurator<T> addTypes(Type... types)
              Add types to the bean types
              -
              -
              Parameters:
              +
              +
              Parameters:
              types - types to add
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              addTypes

              -
              BeanConfigurator<T> addTypes​(java.util.Set<java.lang.reflect.Type> types)
              +
            • +
              +

              addTypes

              +
              BeanConfigurator<T> addTypes(Set<Type> types)
              Add types to the bean types
              -
              -
              Parameters:
              +
              +
              Parameters:
              types - types to add
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              addTransitiveTypeClosure

              -
              BeanConfigurator<T> addTransitiveTypeClosure​(java.lang.reflect.Type type)
              +
            • +
              +

              addTransitiveTypeClosure

              +
              BeanConfigurator<T> addTransitiveTypeClosure(Type type)
              Adds an unrestricted set of bean types for the given type as if it represented a bean class of a managed bean. Illegal bean types are omitted.
              -
              -
              Parameters:
              +
              +
              Parameters:
              type - to build the closure from
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              types

              -
              BeanConfigurator<T> types​(java.lang.reflect.Type... types)
              +
            • +
              +

              types

              +
              BeanConfigurator<T> types(Type... types)
              Replace bean types
              -
              -
              Parameters:
              +
              +
              Parameters:
              types - the types of the configured bean
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              types

              -
              BeanConfigurator<T> types​(java.util.Set<java.lang.reflect.Type> types)
              +
            • +
              +

              types

              +
              BeanConfigurator<T> types(Set<Type> types)
              Replace bean types
              -
              -
              Parameters:
              +
              +
              Parameters:
              types - the types of the configured bean
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              scope

              -
              BeanConfigurator<T> scope​(java.lang.Class<? extends java.lang.annotation.Annotation> scope)
              +
            • +
              +

              scope

              +
              BeanConfigurator<T> scope(Class<? extends Annotation> scope)
              Replace Bean scope
              -
              -
              Parameters:
              +
              +
              Parameters:
              scope - new scope for the configured bean
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              addQualifier

              -
              BeanConfigurator<T> addQualifier​(java.lang.annotation.Annotation qualifier)
              +
            • +
              +

              addQualifier

              +
              BeanConfigurator<T> addQualifier(Annotation qualifier)
              Add a qualifier to the configured bean
              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifier - qualifier to add
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              addQualifiers

              -
              BeanConfigurator<T> addQualifiers​(java.lang.annotation.Annotation... qualifiers)
              +
            • +
              +

              addQualifiers

              +
              BeanConfigurator<T> addQualifiers(Annotation... qualifiers)
              Add qualifiers to the bean.
              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifiers - qualifiers to add
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              addQualifiers

              -
              BeanConfigurator<T> addQualifiers​(java.util.Set<java.lang.annotation.Annotation> qualifiers)
              +
            • +
              +

              addQualifiers

              +
              BeanConfigurator<T> addQualifiers(Set<Annotation> qualifiers)
              Add qualifiers to the bean.
              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifiers - qualifiers to add
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              qualifiers

              -
              BeanConfigurator<T> qualifiers​(java.lang.annotation.Annotation... qualifiers)
              +
            • +
              +

              qualifiers

              +
              BeanConfigurator<T> qualifiers(Annotation... qualifiers)
              Replace all qualifiers.
              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifiers - qualifiers for the build bean
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              qualifiers

              -
              BeanConfigurator<T> qualifiers​(java.util.Set<java.lang.annotation.Annotation> qualifiers)
              +
            • +
              +

              qualifiers

              +
              BeanConfigurator<T> qualifiers(Set<Annotation> qualifiers)
              Replace all qualifiers.
              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifiers - for the configured bean
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              addStereotype

              -
              BeanConfigurator<T> addStereotype​(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype)
              +
            • +
              +

              addStereotype

              +
              BeanConfigurator<T> addStereotype(Class<? extends Annotation> stereotype)
              Add a stereotype to the configured bean
              -
              -
              Parameters:
              +
              +
              Parameters:
              stereotype - stereotype to add
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              addStereotypes

              -
              BeanConfigurator<T> addStereotypes​(java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> stereotypes)
              +
            • +
              +

              addStereotypes

              +
              BeanConfigurator<T> addStereotypes(Set<Class<? extends Annotation>> stereotypes)
              Add stereotypes to the configured bean
              -
              -
              Parameters:
              +
              +
              Parameters:
              stereotypes - stereotypes to add
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              stereotypes

              -
              BeanConfigurator<T> stereotypes​(java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> stereotypes)
              +
            • +
              +

              stereotypes

              +
              BeanConfigurator<T> stereotypes(Set<Class<? extends Annotation>> stereotypes)
              Replace stereotypes on the configured bean
              -
              -
              Parameters:
              +
              +
              Parameters:
              stereotypes - for the configured bean
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              name

              -
              BeanConfigurator<T> name​(java.lang.String name)
              +
            • +
              +

              name

              +
              BeanConfigurator<T> name(String name)
              Set the name of the configured bean
              -
              -
              Parameters:
              +
              +
              Parameters:
              name - name for the configured bean
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              alternative

              -
              BeanConfigurator<T> alternative​(boolean value)
              +
            • +
              +

              alternative

              +
              BeanConfigurator<T> alternative(boolean value)
              Change the alternative status of the configured bean. By default the configured bean is not an alternative.
              -
              -
              Parameters:
              +
              +
              Parameters:
              value - value for alternative property
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              priority

              -
              BeanConfigurator<T> priority​(int priority)
              +
            • +
              +

              priority

              +
              BeanConfigurator<T> priority(int priority)
              Set the priority of the configured bean. By default, the configured bean does not have a priority.

              @@ -944,86 +739,26 @@

              priority

              Prioritized.

              This method has no effect if the configured bean is not an alternative.

              -
              -
              Parameters:
              +
              +
              Parameters:
              priority - the priority value
              -
              Returns:
              +
              Returns:
              self
              -
            • -
            +
      -
    - - + + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/InjectionPointConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/InjectionPointConfigurator.html index 7ab9b3ea60..e256b70abb 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/InjectionPointConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/InjectionPointConfigurator.html @@ -1,444 +1,291 @@ - - + InjectionPointConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface InjectionPointConfigurator

    +
    Module jakarta.cdi
    + +

    Interface InjectionPointConfigurator

    -
    -
    -
      -
    • +

      -
      public interface InjectionPointConfigurator
      +
      public interface InjectionPointConfigurator
      This API is an helper to configure an existing InjectionPoint instance. CDI container must provides an implementation of this interface. This builder is not thread safe and shall not be used concurrently. -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Antoine Sabot-Durand
    -
    See Also:
    -
    ProcessInjectionPoint.configureInjectionPoint()
    -
    - +
    See Also:
    +
    + -
    -
    -
    +
    + + - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            type

            -
            InjectionPointConfigurator type​(java.lang.reflect.Type requiredType)
            -
            Set the required Type (that will be used during typesafe resolution) +
          • +
            +

            Method Details

            +
              +
            • +
              +

              type

              +
              InjectionPointConfigurator type(Type requiredType)
              +
              Set the required Type (that will be used during typesafe resolution) of the InjectionPoint to build.
              -
              -
              Parameters:
              +
              +
              Parameters:
              requiredType - for the InjectionPoint to build
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              addQualifier

              -
              InjectionPointConfigurator addQualifier​(java.lang.annotation.Annotation qualifier)
              +
            • +
              +

              addQualifier

              +
              InjectionPointConfigurator addQualifier(Annotation qualifier)
              Add the qualifier to the InjectionPoint to build
              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifier - the qualifier to add
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              addQualifiers

              -
              InjectionPointConfigurator addQualifiers​(java.lang.annotation.Annotation... qualifiers)
              +
            • +
              +

              addQualifiers

              +
              InjectionPointConfigurator addQualifiers(Annotation... qualifiers)
              Add all the qualifiers to the InjectionPoint to build
              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifiers - a varargs or array of qualifiers to add
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              addQualifiers

              -
              InjectionPointConfigurator addQualifiers​(java.util.Set<java.lang.annotation.Annotation> qualifiers)
              +
            • +
              +

              addQualifiers

              +
              InjectionPointConfigurator addQualifiers(Set<Annotation> qualifiers)
              Add all the qualifiers to the InjectionPoint to build
              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifiers - a Set of qualifiers to add
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              qualifiers

              -
              InjectionPointConfigurator qualifiers​(java.lang.annotation.Annotation... qualifiers)
              +
            • +
              +

              qualifiers

              +
              InjectionPointConfigurator qualifiers(Annotation... qualifiers)
              Replace all qualifiers.
              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifiers - a varargs or array of qualifiers to replace to existing ones
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              qualifiers

              -
              InjectionPointConfigurator qualifiers​(java.util.Set<java.lang.annotation.Annotation> qualifiers)
              +
            • +
              +

              qualifiers

              +
              InjectionPointConfigurator qualifiers(Set<Annotation> qualifiers)
              Replace all qualifiers.
              -
              -
              Parameters:
              +
              +
              Parameters:
              qualifiers - a Set of qualifiers to replace to existing ones
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              delegate

              -
              InjectionPointConfigurator delegate​(boolean delegate)
              +
            • +
              +

              delegate

              +
              InjectionPointConfigurator delegate(boolean delegate)
              Change the delegate status of the built InjectionPoint. By default the InjectionPoint is not a delegate one.
              -
              -
              Parameters:
              +
              +
              Parameters:
              delegate - boolean to define or undefine the delegate nature of the configured InjectionPoint
              -
              Returns:
              +
              Returns:
              self
              +
            • -
            - - - -
              -
            • -

              transientField

              -
              InjectionPointConfigurator transientField​(boolean trans)
              +
            • +
              +

              transientField

              +
              InjectionPointConfigurator transientField(boolean trans)
              Change the transient status of the built InjectionPoint. By default the InjectionPoint is not transient.
              -
              -
              Parameters:
              +
              +
              Parameters:
              trans - boolean to define or undefine the transient nature of the configured InjectionPoint
              -
              Returns:
              +
              Returns:
              self
              -
            • -
            +
      -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/ObserverMethodConfigurator.EventConsumer.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/ObserverMethodConfigurator.EventConsumer.html index c583595b65..40c5e820ee 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/ObserverMethodConfigurator.EventConsumer.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/ObserverMethodConfigurator.EventConsumer.html @@ -1,283 +1,163 @@ - - + ObserverMethodConfigurator.EventConsumer (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ObserverMethodConfigurator.EventConsumer<T>

    +
    Module jakarta.cdi
    + +

    Interface ObserverMethodConfigurator.EventConsumer<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - event type
      -
      +
      Enclosing interface:
      ObserverMethodConfigurator<T>
      -
      +
      Functional Interface:
      This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      -
      @FunctionalInterface
      -public static interface ObserverMethodConfigurator.EventConsumer<T>
      +
      @FunctionalInterface +public static interface ObserverMethodConfigurator.EventConsumer<T>
      Represents an operation that accepts a context of a fired event.
      -
      -
      Author:
      +
      +
      Author:
      Martin Kouba
      -
      See Also:
      -
      EventContext
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            accept

            -
            void accept​(EventContext<T> eventContext)
            -     throws java.lang.Exception
            -
            -
            Parameters:
            +
          • +
            +

            Method Details

            + +
      -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/ObserverMethodConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/ObserverMethodConfigurator.html index 9f7a9172f8..6d5148587b 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/ObserverMethodConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/ObserverMethodConfigurator.html @@ -1,635 +1,439 @@ - - + ObserverMethodConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ObserverMethodConfigurator<T>

    +
    Module jakarta.cdi
    + +

    Interface ObserverMethodConfigurator<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - type of the event the configured ObserverMethod will observe

      -
      public interface ObserverMethodConfigurator<T>
      +
      public interface ObserverMethodConfigurator<T>

      An ObserverMethodConfigurator can configure an ObserverMethod. The container must provide an implementation of this interface.

      - +

      This configurator is not thread safe and shall not be used concurrently.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Antoine Sabot-Durand
    -
    See Also:
    -
    ProcessObserverMethod.configureObserverMethod(), -AfterBeanDiscovery.addObserverMethod()
    -
    - +
    See Also:
    +
    + -
    -
    -
    +
    + -
    - + + + +
    - -
    -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/ProducerConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/ProducerConfigurator.html index 102a68f695..630c2534d2 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/ProducerConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/ProducerConfigurator.html @@ -1,316 +1,201 @@ - - + ProducerConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface ProducerConfigurator<T>

    +
    Module jakarta.cdi
    + +

    Interface ProducerConfigurator<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - The return type of the producer method or the type of the producer field

      -
      public interface ProducerConfigurator<T>
      +
      public interface ProducerConfigurator<T>

      A ProducerConfigurator can configure a Producer. The container must provide an implementation of this interface.

      - +

      This configurator is not thread safe and shall not be used concurrently.

      -

      CDI Lite implementations are not required to provide support for Portable Extensions.

      -
      -
      Since:
      +

      + CDI Lite implementations are not required to provide support for Portable Extensions. +

    +
    +
    Since:
    2.0
    -
    Author:
    +
    Author:
    Martin Kouba
    -
    See Also:
    -
    ProcessProducer.configureProducer()
    -
    - +
    See Also:
    +
    + -
    -
    -
    +
    + + - -
    -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedConstructorConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedConstructorConfigurator.html index 652e9032dd..b116364723 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedConstructorConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedConstructorConfigurator.html @@ -1,233 +1,113 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.AnnotatedConstructorConfigurator

    -
    -
    +
    +
    Methods in jakarta.enterprise.inject.spi.configurator that return types with arguments of type AnnotatedConstructorConfigurator
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    AnnotatedTypeConfigurator.constructors()
    +
     
    + +
    AnnotatedTypeConfigurator.filterConstructors(Predicate<AnnotatedConstructor<T>> predicate)
    +
     
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedFieldConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedFieldConfigurator.html index cd7fc4fdc3..f2ae67c5a8 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedFieldConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedFieldConfigurator.html @@ -1,233 +1,113 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.configurator.AnnotatedFieldConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.AnnotatedFieldConfigurator

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.AnnotatedFieldConfigurator

    -
    -
    +
    +
    Methods in jakarta.enterprise.inject.spi.configurator that return types with arguments of type AnnotatedFieldConfigurator
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    AnnotatedTypeConfigurator.fields()
    +
     
    + +
    AnnotatedTypeConfigurator.filterFields(Predicate<AnnotatedField<? super T>> predicate)
    +
     
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedMethodConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedMethodConfigurator.html index c2d9c62251..09ed02bd35 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedMethodConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedMethodConfigurator.html @@ -1,233 +1,113 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.AnnotatedMethodConfigurator

    -
    -
    +
    +
    Methods in jakarta.enterprise.inject.spi.configurator that return types with arguments of type AnnotatedMethodConfigurator
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    AnnotatedTypeConfigurator.filterMethods(Predicate<AnnotatedMethod<? super T>> predicate)
    +
     
    + +
    AnnotatedTypeConfigurator.methods()
    +
     
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedParameterConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedParameterConfigurator.html index d9a826340c..ce09305977 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedParameterConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedParameterConfigurator.html @@ -1,243 +1,119 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.configurator.AnnotatedParameterConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.AnnotatedParameterConfigurator

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.AnnotatedParameterConfigurator

    -
    -
    +
    +
    Methods in jakarta.enterprise.inject.spi.configurator that return types with arguments of type AnnotatedParameterConfigurator
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    AnnotatedConstructorConfigurator.filterParams(Predicate<AnnotatedParameter<T>> predicate)
    +
     
    + +
    AnnotatedMethodConfigurator.filterParams(Predicate<AnnotatedParameter<T>> predicate)
    +
     
    + +
    AnnotatedConstructorConfigurator.params()
    +
     
    + +
    AnnotatedMethodConfigurator.params()
    +
     
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedTypeConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedTypeConfigurator.html index 2f097fe332..b64d9500cd 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedTypeConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/AnnotatedTypeConfigurator.html @@ -1,298 +1,166 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.AnnotatedTypeConfigurator

    -
    -
    +
    -
  • -
    - - -

    Uses of AnnotatedTypeConfigurator in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator that return AnnotatedTypeConfigurator 
    Modifier and TypeMethodDescription
    AnnotatedTypeConfigurator<T>AnnotatedTypeConfigurator.add​(java.lang.annotation.Annotation annotation) +
  • +
    +

    Uses of AnnotatedTypeConfigurator in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    AnnotatedTypeConfigurator.add(Annotation annotation)
    +
    Add an annotation to the type.
    -
  • AnnotatedTypeConfigurator<T>AnnotatedTypeConfigurator.remove​(java.util.function.Predicate<java.lang.annotation.Annotation> predicate) + + +
    AnnotatedTypeConfigurator.remove(Predicate<Annotation> predicate)
    +
    Remove annotations that match the specified predicate.
    -
    default AnnotatedTypeConfigurator<T>AnnotatedTypeConfigurator.removeAll() + + +
    AnnotatedTypeConfigurator.removeAll()
    +
    Remove all the annotations.
    -
    +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/BeanAttributesConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/BeanAttributesConfigurator.html index a4f3b28f61..7a83d420ec 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/BeanAttributesConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/BeanAttributesConfigurator.html @@ -1,349 +1,198 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.BeanAttributesConfigurator

    -
    -
    +
    -
  • -
    - - -

    Uses of BeanAttributesConfigurator in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator that return BeanAttributesConfigurator 
    Modifier and TypeMethodDescription
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.addQualifier​(java.lang.annotation.Annotation qualifier) +
  • +
    +

    Uses of BeanAttributesConfigurator in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    BeanAttributesConfigurator.addQualifier(Annotation qualifier)
    +
    Add a qualifier to the configured bean
    -
  • BeanAttributesConfigurator<T>BeanAttributesConfigurator.addQualifiers​(java.lang.annotation.Annotation... qualifiers) + + +
    BeanAttributesConfigurator.addQualifiers(Annotation... qualifiers)
    +
    Add qualifiers to the bean.
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.addQualifiers​(java.util.Set<java.lang.annotation.Annotation> qualifiers) + + +
    BeanAttributesConfigurator.addQualifiers(Set<Annotation> qualifiers)
    +
    Add qualifiers to the bean.
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.addStereotype​(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype) + + +
    BeanAttributesConfigurator.addStereotype(Class<? extends Annotation> stereotype)
    +
    Add a stereotype to the configured bean
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.addStereotypes​(java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> stereotypes) + + +
    BeanAttributesConfigurator.addStereotypes(Set<Class<? extends Annotation>> stereotypes)
    +
    Add stereotypes to the configured bean
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.addTransitiveTypeClosure​(java.lang.reflect.Type type) + + +
    BeanAttributesConfigurator.addTransitiveTypeClosure(Type type)
    +
    Adds an unrestricted set of bean types for the given type as if it represented a bean class of a managed bean.
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.addType​(TypeLiteral<?> typeLiteral) + + +
    BeanAttributesConfigurator.addType(TypeLiteral<?> typeLiteral)
    +
    Add a type to the bean types
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.addType​(java.lang.reflect.Type type) + + +
    BeanAttributesConfigurator.addType(Type type)
    +
    Add a type to the bean types
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.addTypes​(java.lang.reflect.Type... types) + + +
    BeanAttributesConfigurator.addTypes(Type... types)
    +
    Add types to the bean types
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.addTypes​(java.util.Set<java.lang.reflect.Type> types) + + +
    BeanAttributesConfigurator.addTypes(Set<Type> types)
    +
    Add types to the bean types
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.alternative​(boolean value) + + +
    BeanAttributesConfigurator.alternative(boolean value)
    +
    Change the alternative status of the configured bean.
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.name​(java.lang.String name) + + +
    BeanAttributesConfigurator.name(String name)
    +
    Set the name of the configured bean
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.qualifiers​(java.lang.annotation.Annotation... qualifiers) + + +
    BeanAttributesConfigurator.qualifiers(Annotation... qualifiers)
    +
    Replace all qualifiers.
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.qualifiers​(java.util.Set<java.lang.annotation.Annotation> qualifiers) + + +
    BeanAttributesConfigurator.qualifiers(Set<Annotation> qualifiers)
    +
    Replace all qualifiers.
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.scope​(java.lang.Class<? extends java.lang.annotation.Annotation> scope) + + +
    BeanAttributesConfigurator.scope(Class<? extends Annotation> scope)
    +
    Replace Bean scope
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.stereotypes​(java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> stereotypes) + + +
    BeanAttributesConfigurator.stereotypes(Set<Class<? extends Annotation>> stereotypes)
    +
    Replace stereotypes on the configured bean
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.types​(java.lang.reflect.Type... types) + + +
    BeanAttributesConfigurator.types(Type... types)
    +
    Replace bean types
    -
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.types​(java.util.Set<java.lang.reflect.Type> types) + + +
    BeanAttributesConfigurator.types(Set<Type> types)
    +
    Replace bean types
    -
    +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/BeanConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/BeanConfigurator.html index 1c62392115..a3782a4558 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/BeanConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/BeanConfigurator.html @@ -1,446 +1,267 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.configurator.BeanConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.BeanConfigurator

    -
    -
    -
    +
    -
  • -
    - - -

    Uses of BeanConfigurator in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator that return BeanConfigurator 
    Modifier and TypeMethodDescription
    BeanConfigurator<T>BeanConfigurator.addInjectionPoint​(InjectionPoint injectionPoint) +
  • +
    +

    Uses of BeanConfigurator in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    BeanConfigurator.addInjectionPoint(InjectionPoint injectionPoint)
    +
    Add an InjectionPoint to the configured bean
    -
  • BeanConfigurator<T>BeanConfigurator.addInjectionPoints​(InjectionPoint... injectionPoints) + + +
    BeanConfigurator.addInjectionPoints(InjectionPoint... injectionPoints)
    +
    Add InjectionPoints to the configured bean
    -
    BeanConfigurator<T>BeanConfigurator.addInjectionPoints​(java.util.Set<InjectionPoint> injectionPoints) + + +
    BeanConfigurator.addInjectionPoints(Set<InjectionPoint> injectionPoints)
    +
    Add InjectionPoints to the configured bean
    -
    BeanConfigurator<T>BeanConfigurator.addQualifier​(java.lang.annotation.Annotation qualifier) + + +
    BeanConfigurator.addQualifier(Annotation qualifier)
    +
    Add a qualifier to the configured bean
    -
    BeanConfigurator<T>BeanConfigurator.addQualifiers​(java.lang.annotation.Annotation... qualifiers) + + +
    BeanConfigurator.addQualifiers(Annotation... qualifiers)
    +
    Add qualifiers to the bean.
    -
    BeanConfigurator<T>BeanConfigurator.addQualifiers​(java.util.Set<java.lang.annotation.Annotation> qualifiers) + + +
    BeanConfigurator.addQualifiers(Set<Annotation> qualifiers)
    +
    Add qualifiers to the bean.
    -
    BeanConfigurator<T>BeanConfigurator.addStereotype​(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype) + + +
    BeanConfigurator.addStereotype(Class<? extends Annotation> stereotype)
    +
    Add a stereotype to the configured bean
    -
    BeanConfigurator<T>BeanConfigurator.addStereotypes​(java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> stereotypes) + + +
    BeanConfigurator.addStereotypes(Set<Class<? extends Annotation>> stereotypes)
    +
    Add stereotypes to the configured bean
    -
    BeanConfigurator<T>BeanConfigurator.addTransitiveTypeClosure​(java.lang.reflect.Type type) + + +
    BeanConfigurator.addTransitiveTypeClosure(Type type)
    +
    Adds an unrestricted set of bean types for the given type as if it represented a bean class of a managed bean.
    -
    BeanConfigurator<T>BeanConfigurator.addType​(TypeLiteral<?> typeLiteral) + + +
    BeanConfigurator.addType(TypeLiteral<?> typeLiteral)
    +
    Add a type to the bean types
    -
    BeanConfigurator<T>BeanConfigurator.addType​(java.lang.reflect.Type type) + + +
    BeanConfigurator.addType(Type type)
    +
    Add a type to the bean types
    -
    BeanConfigurator<T>BeanConfigurator.addTypes​(java.lang.reflect.Type... types) + + +
    BeanConfigurator.addTypes(Type... types)
    +
    Add types to the bean types
    -
    BeanConfigurator<T>BeanConfigurator.addTypes​(java.util.Set<java.lang.reflect.Type> types) + + +
    BeanConfigurator.addTypes(Set<Type> types)
    +
    Add types to the bean types
    -
    BeanConfigurator<T>BeanConfigurator.alternative​(boolean value) + + +
    BeanConfigurator.alternative(boolean value)
    +
    Change the alternative status of the configured bean.
    -
    BeanConfigurator<T>BeanConfigurator.beanClass​(java.lang.Class<?> beanClass) + + +
    BeanConfigurator.beanClass(Class<?> beanClass)
    +
    Set the class of the configured Bean.
    -
    <U extends T>
    BeanConfigurator<U>
    BeanConfigurator.createWith​(java.util.function.Function<CreationalContext<U>,​U> callback) + +
    <U extends T>
    BeanConfigurator<U>
    +
    BeanConfigurator.createWith(Function<CreationalContext<U>,U> callback)
    +
    Set a callback to create a bean instance.
    -
    BeanConfigurator<T>BeanConfigurator.destroyWith​(java.util.function.BiConsumer<T,​CreationalContext<T>> callback) + + +
    BeanConfigurator.destroyWith(BiConsumer<T,CreationalContext<T>> callback)
    +
    Set a callback to destroy a bean instance.
    -
    BeanConfigurator<T>BeanConfigurator.disposeWith​(java.util.function.BiConsumer<T,​Instance<java.lang.Object>> callback) + + +
    BeanConfigurator.disposeWith(BiConsumer<T,Instance<Object>> callback)
    +
    Set a callback to destroy a bean instance.
    -
    BeanConfigurator<T>BeanConfigurator.id​(java.lang.String id) + + +
    BeanConfigurator.id(String id)
    +
    Make the configured bean implements PassivationCapable and its Id for passivation.
    -
    BeanConfigurator<T>BeanConfigurator.injectionPoints​(InjectionPoint... injectionPoints) + + +
    BeanConfigurator.injectionPoints(InjectionPoint... injectionPoints)
    +
    Replace InjectionPoints for the configured bean
    -
    BeanConfigurator<T>BeanConfigurator.injectionPoints​(java.util.Set<InjectionPoint> injectionPoints) + + +
    BeanConfigurator.injectionPoints(Set<InjectionPoint> injectionPoints)
    +
    Replace InjectionPoints for the configured bean
    -
    BeanConfigurator<T>BeanConfigurator.name​(java.lang.String name) + + +
    BeanConfigurator.name(String name)
    +
    Set the name of the configured bean
    -
    BeanConfigurator<T>BeanConfigurator.priority​(int priority) + + +
    BeanConfigurator.priority(int priority)
    +
    Set the priority of the configured bean.
    -
    <U extends T>
    BeanConfigurator<U>
    BeanConfigurator.produceWith​(java.util.function.Function<Instance<java.lang.Object>,​U> callback) + +
    <U extends T>
    BeanConfigurator<U>
    +
    BeanConfigurator.produceWith(Function<Instance<Object>,U> callback)
    +
    Set a callback to create a bean instance.
    -
    BeanConfigurator<T>BeanConfigurator.qualifiers​(java.lang.annotation.Annotation... qualifiers) + + +
    BeanConfigurator.qualifiers(Annotation... qualifiers)
    +
    Replace all qualifiers.
    -
    BeanConfigurator<T>BeanConfigurator.qualifiers​(java.util.Set<java.lang.annotation.Annotation> qualifiers) + + +
    BeanConfigurator.qualifiers(Set<Annotation> qualifiers)
    +
    Replace all qualifiers.
    -
    <U extends T>
    BeanConfigurator<U>
    BeanConfigurator.read​(AnnotatedType<U> type) + +
    <U extends T>
    BeanConfigurator<U>
    +
    BeanConfigurator.read(AnnotatedType<U> type)
    +
    Read the information from the given annotated type.
    -
    BeanConfigurator<T>BeanConfigurator.read​(BeanAttributes<?> beanAttributes) + + +
    BeanConfigurator.read(BeanAttributes<?> beanAttributes)
    +
    Read the information from the given bean attributes.
    -
    BeanConfigurator<T>BeanConfigurator.scope​(java.lang.Class<? extends java.lang.annotation.Annotation> scope) + + +
    BeanConfigurator.scope(Class<? extends Annotation> scope)
    +
    Replace Bean scope
    -
    BeanConfigurator<T>BeanConfigurator.stereotypes​(java.util.Set<java.lang.Class<? extends java.lang.annotation.Annotation>> stereotypes) + + +
    BeanConfigurator.stereotypes(Set<Class<? extends Annotation>> stereotypes)
    +
    Replace stereotypes on the configured bean
    -
    BeanConfigurator<T>BeanConfigurator.types​(java.lang.reflect.Type... types) + + +
    BeanConfigurator.types(Type... types)
    +
    Replace bean types
    -
    BeanConfigurator<T>BeanConfigurator.types​(java.util.Set<java.lang.reflect.Type> types) + + +
    BeanConfigurator.types(Set<Type> types)
    +
    Replace bean types
    -
    +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/InjectionPointConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/InjectionPointConfigurator.html index 195a2edc9f..00579186dd 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/InjectionPointConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/InjectionPointConfigurator.html @@ -1,280 +1,149 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.InjectionPointConfigurator

    -
    -
    +
    -
  • -
    - - -

    Uses of InjectionPointConfigurator in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator that return InjectionPointConfigurator 
    Modifier and TypeMethodDescription
    InjectionPointConfiguratorInjectionPointConfigurator.addQualifier​(java.lang.annotation.Annotation qualifier) +
  • +
    +

    Uses of InjectionPointConfigurator in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    InjectionPointConfigurator.addQualifier(Annotation qualifier)
    +
    Add the qualifier to the InjectionPoint to build
    -
  • InjectionPointConfiguratorInjectionPointConfigurator.addQualifiers​(java.lang.annotation.Annotation... qualifiers) + + +
    InjectionPointConfigurator.addQualifiers(Annotation... qualifiers)
    +
    Add all the qualifiers to the InjectionPoint to build
    -
    InjectionPointConfiguratorInjectionPointConfigurator.addQualifiers​(java.util.Set<java.lang.annotation.Annotation> qualifiers) + + +
    InjectionPointConfigurator.addQualifiers(Set<Annotation> qualifiers)
    +
    Add all the qualifiers to the InjectionPoint to build
    -
    InjectionPointConfiguratorInjectionPointConfigurator.delegate​(boolean delegate) + + +
    InjectionPointConfigurator.delegate(boolean delegate)
    +
    Change the delegate status of the built InjectionPoint.
    -
    InjectionPointConfiguratorInjectionPointConfigurator.qualifiers​(java.lang.annotation.Annotation... qualifiers) + + +
    InjectionPointConfigurator.qualifiers(Annotation... qualifiers)
    +
    Replace all qualifiers.
    -
    InjectionPointConfiguratorInjectionPointConfigurator.qualifiers​(java.util.Set<java.lang.annotation.Annotation> qualifiers) + + +
    InjectionPointConfigurator.qualifiers(Set<Annotation> qualifiers)
    +
    Replace all qualifiers.
    -
    InjectionPointConfiguratorInjectionPointConfigurator.transientField​(boolean trans) + + +
    InjectionPointConfigurator.transientField(boolean trans)
    +
    Change the transient status of the built InjectionPoint.
    -
    InjectionPointConfiguratorInjectionPointConfigurator.type​(java.lang.reflect.Type requiredType) -
    Set the required Type (that will be used during typesafe resolution) +
    + +
    InjectionPointConfigurator.type(Type requiredType)
    +
    +
    Set the required Type (that will be used during typesafe resolution) of the InjectionPoint to build.
    -
    +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/ObserverMethodConfigurator.EventConsumer.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/ObserverMethodConfigurator.EventConsumer.html index ec882c1c0a..31785f6e9d 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/ObserverMethodConfigurator.EventConsumer.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/ObserverMethodConfigurator.EventConsumer.html @@ -1,199 +1,91 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator.EventConsumer (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator.EventConsumer

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator.EventConsumer

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/ObserverMethodConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/ObserverMethodConfigurator.html index a256258b09..ac3ae842ec 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/ObserverMethodConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/ObserverMethodConfigurator.html @@ -1,335 +1,189 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.ObserverMethodConfigurator

    -
    -
    +
    -
  • -
    - - -

    Uses of ObserverMethodConfigurator in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator that return ObserverMethodConfigurator 
    Modifier and TypeMethodDescription
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.addQualifier​(java.lang.annotation.Annotation qualifier) +
  • +
    +

    Uses of ObserverMethodConfigurator in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    ObserverMethodConfigurator.addQualifier(Annotation qualifier)
    +
    Add the qualifier to the observed event
    -
  • ObserverMethodConfigurator<T>ObserverMethodConfigurator.addQualifiers​(java.lang.annotation.Annotation... qualifiers) + + +
    ObserverMethodConfigurator.addQualifiers(Annotation... qualifiers)
    +
    Add all the qualifiers to the Observed event
    -
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.addQualifiers​(java.util.Set<java.lang.annotation.Annotation> qualifiers) + + +
    ObserverMethodConfigurator.addQualifiers(Set<Annotation> qualifiers)
    +
    Add all the qualifiers to the Observed event
    -
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.async​(boolean async) + + +
    ObserverMethodConfigurator.async(boolean async)
    +
    Allows modification of the asynchronous status of the observer to build.
    -
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.beanClass​(java.lang.Class<?> type) + + +
    ObserverMethodConfigurator.beanClass(Class<?> type)
    +
    Set the class of the Bean containing this observer.
    -
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.notifyWith​(ObserverMethodConfigurator.EventConsumer<T> callback) + + +
    ObserverMethodConfigurator.notifyWith(ObserverMethodConfigurator.EventConsumer<T> callback)
    +
    Define an operation that accepts a context of a fired event.
    -
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.observedType​(java.lang.reflect.Type type) + + +
    ObserverMethodConfigurator.observedType(Type type)
    +
    Set the type of the observed event
    -
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.priority​(int priority) + + +
    ObserverMethodConfigurator.priority(int priority)
    +
    Set the priority for the observer to build
    -
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.qualifiers​(java.lang.annotation.Annotation... qualifiers) + + +
    ObserverMethodConfigurator.qualifiers(Annotation... qualifiers)
    +
    Replace all qualifiers on the Observed event.
    -
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.qualifiers​(java.util.Set<java.lang.annotation.Annotation> qualifiers) + + +
    ObserverMethodConfigurator.qualifiers(Set<Annotation> qualifiers)
    +
    Replace all qualifiers on the Observed event.
    -
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.read​(AnnotatedMethod<?> method) + + +
    ObserverMethodConfigurator.read(AnnotatedMethod<?> method)
    +
    Read observer meta data from a existing AnnotatedMethod
    -
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.read​(ObserverMethod<T> method) + + +
    ObserverMethodConfigurator.read(ObserverMethod<T> method)
    +
    Read observer meta data from a existing ObserverMethod
    -
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.read​(java.lang.reflect.Method method) -
    Read observer meta data from a existing Method
    -
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.reception​(Reception reception) + + +
    ObserverMethodConfigurator.read(Method method)
    +
    +
    Read observer meta data from a existing Method
    +
    + +
    ObserverMethodConfigurator.reception(Reception reception)
    +
    Set the Reception mode for the observer to build
    -
    ObserverMethodConfigurator<T>ObserverMethodConfigurator.transactionPhase​(TransactionPhase transactionPhase) + + +
    ObserverMethodConfigurator.transactionPhase(TransactionPhase transactionPhase)
    +
    Set the TransactionPhase for the observer to build
    -
    +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/ProducerConfigurator.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/ProducerConfigurator.html index 1d7065c16c..75deea5432 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/ProducerConfigurator.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/class-use/ProducerConfigurator.html @@ -1,237 +1,118 @@ - - + Uses of Interface jakarta.enterprise.inject.spi.configurator.ProducerConfigurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.ProducerConfigurator

    +

    Uses of Interface
    jakarta.enterprise.inject.spi.configurator.ProducerConfigurator

    -
    -
    +
    -
  • -
    - - -

    Uses of ProducerConfigurator in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator that return ProducerConfigurator 
    Modifier and TypeMethodDescription
    ProducerConfigurator<T>ProducerConfigurator.disposeWith​(java.util.function.Consumer<T> callback) +
  • +
    +

    Uses of ProducerConfigurator in jakarta.enterprise.inject.spi.configurator

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    ProducerConfigurator.disposeWith(Consumer<T> callback)
    +
    Set a callback to destroy the produced instance.
    -
  • <U extends T>
    ProducerConfigurator<T>
    ProducerConfigurator.produceWith​(java.util.function.Function<CreationalContext<U>,​U> callback) + + +
    ProducerConfigurator.produceWith(Function<CreationalContext<U>,U> callback)
    +
    Set a callback to produce a new instance.
    -
    +
  • + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/package-summary.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/package-summary.html index aaefe93793..e680d347fe 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/package-summary.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/package-summary.html @@ -1,237 +1,149 @@ - - + jakarta.enterprise.inject.spi.configurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -
    Module jakarta.cdi
    -

    Package jakarta.enterprise.inject.spi.configurator

    -
    -
    -
    +
    +
    - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/package-tree.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/package-tree.html index 6b353ab680..0d50a9ebe0 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/package-tree.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/package-tree.html @@ -1,174 +1,84 @@ - - + jakarta.enterprise.inject.spi.configurator Class Hierarchy (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Hierarchy For Package jakarta.enterprise.inject.spi.configurator

    -Package Hierarchies: +Package Hierarchies:
    -
    -
    +

    Interface Hierarchy

    -
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/package-use.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/package-use.html index fe588c6221..293361f112 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/package-use.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/configurator/package-use.html @@ -1,311 +1,172 @@ - - + Uses of Package jakarta.enterprise.inject.spi.configurator (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Uses of Package
    jakarta.enterprise.inject.spi.configurator

    -
    -
    +
    + -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.inject.spi.configurator used by jakarta.enterprise.inject.spi.configurator 
    ClassDescription
    AnnotatedConstructorConfigurator +
  • +
    + +
    +
    Class
    +
    Description
    + +
    This interface is part of the AnnotatedTypeConfigurator SPI and helps defining an AnnotatedConstructor
    -
  • AnnotatedFieldConfigurator + + +
    This interface is part of the AnnotatedTypeConfigurator SPI and helps defining an AnnotatedField
    -
    AnnotatedMethodConfigurator + + +
    This interface is part of the AnnotatedTypeConfigurator SPI and helps defining an AnnotatedMethod
    -
    AnnotatedParameterConfigurator + + +
    This interface is part of the AnnotatedTypeConfigurator SPI and helps defining an AnnotatedParameter
    -
    AnnotatedTypeConfigurator + + +
    This API is a helper to configure a new AnnotatedType instance.
    -
    BeanAttributesConfigurator + + +
    This API is an helper to configure a new BeanAttributes instance.
    -
    BeanConfigurator + + +
    This API is an helper to configure a new Bean instance.
    -
    InjectionPointConfigurator + + +
    This API is an helper to configure an existing InjectionPoint instance.
    -
    ObserverMethodConfigurator + + +
    ObserverMethodConfigurator.EventConsumer + + +
    Represents an operation that accepts a context of a fired event.
    -
    ProducerConfigurator + + +
    A ProducerConfigurator can configure a Producer.
    -
    +
  • +
    + - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/package-summary.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/package-summary.html index 5332110d49..582230462e 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/package-summary.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/package-summary.html @@ -1,729 +1,549 @@ - - + jakarta.enterprise.inject.spi (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -
    Module jakarta.cdi
    -

    Package jakarta.enterprise.inject.spi

    -
    -
    -
    - - -

    The portable extension integration SPI.

    - -

    A portable extension may integrate with the container by:

    - +
    Module jakarta.cdi
    +

    Package jakarta.enterprise.inject.spi

    +
    +
    +
    package jakarta.enterprise.inject.spi
    +
    +

    + The portable extension integration SPI. +

    + +

    + A portable extension may integrate with the container by: +

    +
      -
    • Providing its own beans, interceptors and decorators to the +
    • Providing its own beans, interceptors and decorators to the container
    • -
    • Injecting dependencies into its own objects using the +
    • Injecting dependencies into its own objects using the dependency injection service
    • Providing a context implementation for a custom scope
    • -
    • Augmenting or overriding the annotation-based metadata with +
    • Augmenting or overriding the annotation-based metadata with metadata from some other source
    - +

    The BeanManager object

    - -

    Portable extensions sometimes interact directly with the container - via programmatic API call. The interface - BeanManager provides operations - for obtaining contextual references for beans, along with many other - operations of use to portable extensions.

    - + +

    + Portable extensions sometimes interact directly with the container + via programmatic API call. The interface + BeanManager provides operations + for obtaining contextual references for beans, along with many other + operations of use to portable extensions. +

    +

    Container lifecycle events

    - -

    During the application initialization process, the container fires - a series of events, allowing - portable extensions to integrate with the container initialization + +

    + During the application initialization process, the container fires + a series of events, allowing + portable extensions to integrate with the container initialization process. Observer methods of these events must belong to - extensions declared - in META-INF/services.

    - -

    Lifecycle events include + extensions declared + in META-INF/services. +

    + +

    + Lifecycle events include BeforeBeanDiscovery, AfterBeanDiscovery, AfterDeploymentValidation and - BeforeShutdown.

    - + BeforeShutdown. +

    +

    Interfaces representing enabled beans

    - -

    The interfaces + +

    + The interfaces Bean, Decorator, Interceptor and ObserverMethod - define everything the container needs to manage instances of - a bean, interceptor, decorator or observer method.

    - -

    An instance of Bean exists for every - enabled bean. A portable - extension may add support for new kinds of beans by implementing + define everything the container needs to manage instances of + a bean, interceptor, decorator or observer method. +

    + +

    + An instance of Bean exists for every + enabled bean. A portable + extension may add support for new kinds of beans by implementing Bean, observing the event - AfterBeanDiscovery event - registering beans with the container. An instance of + AfterBeanDiscovery event + registering beans with the container. An instance of ObserverMethod exists for every - observer method of every - enabled bean. A portable extension may add observers by implementing + observer method of every + enabled bean. A portable extension may add observers by implementing ObserverMethod and - registering an instance with the container.

    - -

    A portable extension may be notified of the existence of an - enabled bean by observing the container lifecycle event type - ProcessBean or one of its + registering an instance with the container. +

    + +

    + A portable extension may be notified of the existence of an + enabled bean by observing the container lifecycle event type + ProcessBean or one of its subtypes, - or of the existence of an observer method of an enabled bean by + or of the existence of an observer method of an enabled bean by observing the event type - ProcessObserverMethod.

    - + ProcessObserverMethod. +

    +

    Alternate metadata sources

    - -

    A portable extension may provide an alternative metadata - source, such as configuration by XML.

    - -

    Annotated - and its subtypes allow a portable extension to specify - metadata that overrides the annotations that exist on a - bean class. The portable extension is responsible for - implementing the interfaces, thereby exposing the metadata - to the container. The container must use the operations of + +

    + A portable extension may provide an alternative metadata + source, such as configuration by XML. +

    + +

    + Annotated + and its subtypes allow a portable extension to specify + metadata that overrides the annotations that exist on a + bean class. The portable extension is responsible for + implementing the interfaces, thereby exposing the metadata + to the container. The container must use the operations of Annotated and its subinterfaces to discover program - element types and annotations, instead of directly calling the - Java Reflection API.

    - -

    A portable extension provides its metadata to the - container by observing the event - ProcessAnnotatedType and - wrapping the AnnotatedType.

    - + element types and annotations, instead of directly calling the + Java Reflection API. +

    + +

    + A portable extension provides its metadata to the + container by observing the event + ProcessAnnotatedType and + wrapping the AnnotatedType. +

    +

    Producer and InjectionTarget

    - -

    The interfaces Producer and - InjectionTarget abstract the - basic lifecycle of (contextual or non-contextual) container managed - objects, including instantiation and destruction, dependency injection - and lifecycle callbacks.

    - -

    An instance of InjectionTarget + +

    + The interfaces Producer and + InjectionTarget abstract the + basic lifecycle of (contextual or non-contextual) container managed + objects, including instantiation and destruction, dependency injection + and lifecycle callbacks. +

    + +

    + An instance of InjectionTarget may be product of BeanManager.getInjectionTargetFactory(AnnotatedType) obtained from the BeanManager, allowing a portable extension to request these container services for - objects under the control of the portable extension.

    - -

    Furthermore, a portable extension may replace the implementation + objects under the control of the portable extension. +

    + +

    + Furthermore, a portable extension may replace the implementation of InjectionTarget or Producer used by the container with its own implementation by observing the events ProcessInjectionTarget or - ProcessProducer.

    -
    -
    See Also:
    -
    jakarta.enterprise.inject, -jakarta.enterprise.context.spi
    + ProcessProducer. +

    +
    +
    See Also:
    +
    + +
    -
    +
    + + - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/package-tree.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/package-tree.html index b89b212e73..3ebc6cc24f 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/package-tree.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/package-tree.html @@ -1,302 +1,212 @@ - - + jakarta.enterprise.inject.spi Class Hierarchy (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Hierarchy For Package jakarta.enterprise.inject.spi

    -Package Hierarchies: +Package Hierarchies:
    -
    -
    +

    Class Hierarchy

    -
    +

    Interface Hierarchy

    -
    +

    Annotation Type Hierarchy

    -
    +

    Enum Hierarchy

    -
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/package-use.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/package-use.html index ea2ac8efd8..ff1e6adbb8 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/package-use.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/inject/spi/package-use.html @@ -1,613 +1,384 @@ - - + Uses of Package jakarta.enterprise.inject.spi (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Uses of Package
    jakarta.enterprise.inject.spi

    -
    -
    +
    + -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.inject.spi used by jakarta.enterprise.inject.build.compatible.spi 
    ClassDescription
    EventContext +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Represents a context of a fired event.
    -
  • Extension -
    - Service interface implemented by extensions.
    -
    InterceptionType + + +
    Identifies the kind of lifecycle callback, EJB timeout method or business method interception.
    -
    Prioritized + + +
    This interface allows some SPI implementation to change their priority programmatically.
    -
    +
  • +
    + -
  • - - - - - - - - - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.inject.spi used by jakarta.enterprise.inject.se 
    ClassDescription
    BeanContainer +
  • +
    + +
    +
    Class
    +
    Description
    + +
    BeanContainer is a superclass of BeanManager containing capabilities that are portable across all CDI environments.
    -
  • BeanManager + + +
    Allows a portable extension to interact directly with the container.
    -
    Extension + + +
    Service interface implemented by extensions.
    -
    + + +
  • -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.inject.spi used by jakarta.enterprise.inject.spi 
    ClassDescription
    Annotated +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Represents a Java program element that can be annotated.
    -
  • AnnotatedCallable + + +
    Represents a callable member of a Java type.
    -
    AnnotatedConstructor + + +
    Represents a constructor of a Java class.
    -
    AnnotatedField + + +
    Represents a field of a Java class.
    -
    AnnotatedMember + + +
    Represents a member of a Java type.
    -
    AnnotatedMethod + + +
    Represents a method of a Java type.
    -
    AnnotatedParameter + + +
    Represents a parameter of a method or constructor.
    -
    AnnotatedType + + +
    Represents a Java class or interface.
    -
    Bean + + +
    Represents an enabled bean.
    -
    BeanAttributes + + +
    The BeanAttributes interface exposes the basic attributes of a bean.
    -
    BeanContainer + + +
    BeanContainer is a superclass of BeanManager containing capabilities that are portable across all CDI environments.
    -
    BeanManager + + +
    Allows a portable extension to interact directly with the container.
    -
    CDI + + +
    Provides access to the current container.
    -
    CDIProvider + + +
    Interface implemented by a CDI provider to provide access to the current container
    -
    Decorator + + +
    Represents an enabled decorator.
    -
    EventContext + + +
    Represents a context of a fired event.
    -
    EventMetadata + + +
    Provides access to metadata about an observed event payload.
    -
    Extension + + +
    Service interface implemented by extensions.
    -
    InjectionPoint + + +
    Provides access to metadata about an injection point.
    -
    InjectionTarget + + +
    Provides operations for performing dependency injection and lifecycle callbacks on an instance of a type.
    -
    InjectionTargetFactory + + +
    An InjectionTargetFactory can create an InjectionTarget for a given bean.
    -
    InterceptionFactory + + +
    InterceptionFactory allows to create a wrapper instance whose method invocations are intercepted by method interceptors and forwarded to a provided instance.
    -
    InterceptionType + + +
    Identifies the kind of lifecycle callback, EJB timeout method or business method interception.
    -
    Interceptor + + +
    Represents an enabled interceptor.
    -
    ObserverMethod + + +
    Represents an observer method of an enabled bean.
    -
    Prioritized + + +
    This interface allows some SPI implementation to change their priority programmatically.
    -
    ProcessAnnotatedType + + +
    The container fires an event of this type for each Java class or interface it discovers in a bean archive, before it reads the declared annotations.
    -
    ProcessBean + + +
    The container fires an event of this type for each enabled bean, interceptor or decorator deployed in a bean archive, before registering the Bean object.
    -
    ProcessManagedBean + + +
    The container fires an event of this type for each enabled managed bean, before registering the Bean object.
    -
    ProcessObserverMethod + + +
    The container fires an event of this type for each observer method of each enabled bean, before registering the ObserverMethod object.
    -
    Producer + + +
    Provides a generic operation for producing an instance of a type.
    -
    ProducerFactory + + +
    An ProducerFactory can create an Producer for a given bean.
    -
    SessionBeanType + + +
    Identifies the kind of EJB session bean.
    -
    Unmanaged.UnmanagedInstance + + +
    Represents a non-contextual instance.
    -
    + + +
  • -
  • - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.inject.spi used by jakarta.enterprise.inject.spi.configurator 
    ClassDescription
    AnnotatedConstructor +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Represents a constructor of a Java class.
    -
  • AnnotatedField + + +
    Represents a field of a Java class.
    -
    AnnotatedMethod + + +
    Represents a method of a Java type.
    -
    AnnotatedParameter + + +
    Represents a parameter of a method or constructor.
    -
    AnnotatedType + + +
    Represents a Java class or interface.
    -
    BeanAttributes + + +
    The BeanAttributes interface exposes the basic attributes of a bean.
    -
    EventContext + + +
    Represents a context of a fired event.
    -
    InjectionPoint + + +
    Provides access to metadata about an injection point.
    -
    ObserverMethod + + +
    Represents an observer method of an enabled bean.
    -
    + + +
  • - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/Invoker.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/Invoker.html index 2526d7f6ab..350b1ee1ca 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/Invoker.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/Invoker.html @@ -1,385 +1,198 @@ - - + Invoker (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Interface Invoker<T,​R>

    +
    Module jakarta.cdi
    + +

    Interface Invoker<T,R>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      -
      T - type of the target instance
      -
      R - return type of the method
      +
      +
      +
      Type Parameters:
      +
      T - type of the target bean
      +
      R - return type of the target method

      -
      public interface Invoker<T,​R>
      -
      Allows indirectly invoking a method that belongs to a managed bean (the target method). - To invoke the method, the caller must provide all the arguments that the target method accepts, - as well as the instance on which the target method is to be invoked, if it is not static. -

      - Whenever a direct invocation of a method is a business method invocation, an indirect invocation - of that method through an invoker is also a business method invocation. -

      - Invoker implementations must be thread-safe. It is possible to use a single invoker instance - to perform multiple independent invocations of the target method, possibly on different instances - and with different arguments. - -

      Obtaining an invoker

      - - The CDI container allows building an invoker for non-private - methods declared on a managed bean class or inherited from a supertype. Attempting to build - an invoker for a private method or a constructor of a managed bean class leads to a deployment - problem. Attempting to build an invoker for a method of a class that is not a managed bean class - or that is an interceptor or decorator class leads to a deployment problem. +
      public interface Invoker<T,R>
      +
      An invoker allows indirect invocation of its target method on an instance of its target + bean.

      - Multiple managed beans may inherit a method from a common supertype. In that case, each bean - conceptually has its own method and an invoker obtained for one bean may not be used to invoke - the method on the other bean. + CDI-based frameworks are expected to use invokers when they need to invoke application + methods. Applications are not supposed to use invokers, as they can invoke their own + methods directly.

      - Using the InvokerBuilder is the only way to obtain an invoker. An InvokerBuilder - can only be obtained in CDI portable extensions and build compatible extensions. - -

      Example

      - - To illustrate how invokers work, let's take a look at an example. Say that the following bean - exists and has a method that you want to invoke indirectly: + For example, assume the following managed bean exists:
        @Dependent
      - class MyService {
      -     String hello(String name) {
      + public class MyService {
      +     public String hello(String name) {
                return "Hello " + name + "!";
            }
        }
        
      - When you obtain an InvokerBuilder for the hello() method, you can - immediately build a direct invoker. In a portable extension, this results in an invoker: + Further, assume that invoker is an invoker for the hello() method + of the MyService bean and myService is a contextual reference for the bean. + Then, to invoke the hello() method indirectly, a framework would call
      - InvokerBuilder<Invoker<MyService, String>> builder = ...;
      - Invoker<MyService, String> invoker = builder.build();
      + invoker.invoke(myService, new Object[] { "world" })
        
      - In a build compatible extension, this results in an opaque token that later - materializes as an invoker: - -
      - InvokerBuilder<InvokerInfo> builder = ...;
      - InvokerInfo invoker = builder.build();
      - 
      - - To call the hello() method through this invoker, call - invoker.invoke(myService, new Object[] {"world"}). - The return value is "Hello world!". -

      - An implementation of the direct invoker above is equivalent to the following class: - -

      - class TheInvoker implements Invoker<MyService, String> {
      -     String invoke(MyService instance, Object[] arguments) {
      -         return instance.hello((String) arguments[0]);
      -     }
      - }
      - 
      -
      -
      Since:
      + The return value would be "Hello world!".
      +
      +
      Since:
      4.1
      -
      See Also:
      -
      invoke(Object, Object[])
      -
      -
    • +
      See Also:
      +
      + -
    -
    -
      -
    • + + + +
      +
        -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - -
          All Methods Instance Methods Abstract Methods 
          Modifier and TypeMethodDescription
          Rinvoke​(T instance, - java.lang.Object[] arguments) -
          Invokes the target method of this invoker on given instance, passing given - arguments.
          -
          -
        • -
        +
      • +
        +

        Method Summary

        +
        +
        +
        +
        +
        Modifier and Type
        +
        Method
        +
        Description
        + +
        invoke(T instance, + Object[] arguments)
        +
        +
        Invokes the target method on the given instance of the target bean, passing + given arguments.
        +
        +
        +
        +
      -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - - - -
            -
          • -

            invoke

            -
            R invoke​(T instance,
            -         java.lang.Object[] arguments)
            -
            Invokes the target method of this invoker on given instance, passing given - arguments. If the target method is static, the instance is ignored; - by convention, it should be null. If the target method returns normally, this - method returns its return value, unless the target method is declared void, - in which case this method returns null. If the target method throws an exception, - this method rethrows it directly. -

            - If some parameter of the target method declares a primitive type, the corresponding element of - the arguments array must be of the corresponding wrapper type. No type conversions are - performed, so if the parameter is declared int, the argument must be an Integer - and may not be Short or Long. If the argument is null, the default value - of the primitive type is used. Note that this does not apply to arrays of primitive types; - if a parameter is declared int[], the argument must be int[] and may not be - Integer[]. -

            - If the target method is not static and instance is null, - a NullPointerException is thrown. If the target method is not static and - the instance is not assignable to the class of the bean to which the method belongs, - a ClassCastException is thrown. -

            - If the target method declares no parameter, arguments are ignored. If the target method - declares any parameter and arguments is null, NullPointerException is - thrown. If the arguments array has fewer elements than the number of parameters of - the target method, ArrayIndexOutOfBoundsException is thrown. If the arguments - array has more elements than the number of parameters of the target method, the excess elements - are ignored. If some of the arguments is not assignable to the declared type of - the corresponding parameter of the target method, ClassCastException is thrown. - - TODO the previous 2 paragraphs refer to "assignability", which needs to be defined somewhere! - - TODO when the `InvokerBuilder` applies transformations, some of the requirements above - are no longer strictly necessary, should reflect that in this text somehow (it is already - mentioned in `InvokerBuilder`, but that likely isn't enough)

            -
            -
            Parameters:
            -
            instance - the instance on which the target method is to be invoked, may only be null - if the method is static
            -
            arguments - arguments to be supplied to the target method, may only be null - if the method declares no parameter
            -
            Returns:
            -
            return value of the target method, or null if the method is declared void
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              invoke

              +
              R invoke(T instance, + Object[] arguments) + throws Exception
              +
              Invokes the target method on the given instance of the target bean, passing + given arguments. If the target method returns normally, this method returns + its return value, unless the target method is declared void, in which case + this method returns null. If the target method throws an exception, it is + rethrown directly.
              +
              +
              Parameters:
              +
              instance - the instance of the target bean on which the target method is to be invoked; + may only be null if the target method is static
              +
              arguments - arguments to be passed to the target method; may only be null + if the target method declares no parameter
              +
              Returns:
              +
              return value of the target method, or null if the target method + is declared void
              +
              Throws:
              +
              RuntimeException - when instance or arguments are incorrect
              +
              Exception - when the target method throws an exception
              -
            • -
            +
      -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/InvokerBuilder.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/InvokerBuilder.html index 0ebfc68b81..3c461e6feb 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/InvokerBuilder.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/InvokerBuilder.html @@ -1,735 +1,226 @@ - - + InvokerBuilder (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + - +
    +
    -
    Module jakarta.cdi
    - -

    Interface InvokerBuilder<T>

    +
    Module jakarta.cdi
    + +

    Interface InvokerBuilder<T>

    -
    -
    -
      -
    • -
      -
      Type Parameters:
      +
      +
      +
      Type Parameters:
      T - type of outcome of this builder; always represents an Invoker, - but does not necessarily have to be an Invoker instance directly
      + but does not necessarily have to be an Invoker instance directly

      -
      public interface InvokerBuilder<T>
      -
      Builder of Invokers that allows configuring input lookups, input and output - transformations, and invoker wrapping. The method for which the invoker is built is - called the target method. If a lookup is configured, the corresponding input - of the invoker is ignored and an instance is looked up from the CDI container before - the target method is invoked. If a transformation is configured, the corresponding input - or output of the invoker is modified in certain way before or after the target method - is invoked. If a wrapper is configured, the invoker is passed to custom code for getting - invoked. As a result, the built Invoker instance may have more complex behavior - than just directly calling the target method. -

      - Transformations and wrapping are expressed by ordinary methods that must have - a pre-defined signature, as described below. Such methods are called - transformers and wrappers. -

      - Invokers may only be built during deployment. It is not possible to build new invokers - at application runtime. +

      public interface InvokerBuilder<T>
      +
      Builder of Invokers. Allows configuring additional behaviors on top of a plain + method invocation. -

      Example

      +

      Lookups

      - Before describing in detail how lookups, transformers and wrappers work, let's take - a look at an example. Say we have the following bean with a method: + For the target bean instance (withInstanceLookup()) and for each target method + parameter (withArgumentLookup(int)), it is possible to specify that the corresponding + value passed to Invoker.invoke() shall be ignored and a value shall be looked up + from the CDI container instead. +

      + For example, assume the following managed bean exists:

      - class MyService {
      -     String hello(String name) {
      + @Dependent
      + public class MyService {
      +     public String hello(String name) {
                return "Hello " + name + "!";
            }
        }
        
      - And we want to build an invoker that looks up MyService from the CDI container, - always passes the argument to hello() as all upper-case, and repeats the return - value twice. To transform the argument, we can use the zero-parameter method - String.toUpperCase(), and to transform the return value, we write a transformer - as a simple static method: - -
      - class Transformations {
      -     static String repeatTwice(String str) {
      -         return str + " " + str;
      -     }
      - }
      - 
      - - Then, assuming we have obtained the InvokerBuilder for MyService.hello(), - we can set up the lookup and transformations and build an invoker like so: - -
      - builder.setInstanceLookup()
      -        .setArgumentTransformer(0, String.class, "toUpperCase")
      -        .setReturnValueTransformer(Transformations.class, "repeatTwice")
      -        .build();
      - 
      + A CDI-based framework may want to build an invoker for the hello() method that + automatically looks up MyService from the CDI container, instead of having to + obtain a contextual reference manually. +

      + Assuming that builder is an InvokerBuilder for MyService.hello(), + such invoker can be built: - The resulting invoker will be equivalent to the following class:

      - class TheInvoker implements Invoker<MyService, String> {
      -     String invoke(MyService ignored, Object[] arguments) {
      -         MyService instance = CDI.current().select(MyService.class).get();
      -         String argument = (String) arguments[0];
      -         String transformedArgument = argument.toUpperCase();
      -         String result = instance.hello(transformedArgument);
      -         String transformedResult = Transformations.repeatTwice(result);
      -         return transformedResult;
      -     }
      - }
      + builder.withInstanceLookup().build();
        
      - The caller of this invoker may pass null as the target instance, because - the invoker will lookup the target instance on its own. Therefore, calling - invoker.invoke(null, new Object[] {"world"}) will return - "Hello WORLD! Hello WORLD!". - -

      General requirements

      - - To refer to a transformer or a wrapper, all methods in this builder accept: - 1. the Class that that declares the method, and 2. the String name - of the method. -

      - Transformers may be static, in which case they must be declared directly - on the given class, or they may be instance methods, in which case they may be declared - on the given class or inherited from any of its supertypes. -

      - It is possible to register only one transformer of each kind, or for each argument - position in case of argument transformers. Attempting to register a second transformer - of the same kind, or for the same argument position, leads to an exception. -

      - Wrappers must be static and must be declared directly on the given class. - It is possible to register only one wrapper. Attempting to register a second wrapper - leads to an exception. -

      - It is a deployment problem if no method with given name and valid signature is found, - or if multiple methods with given name and different valid signatures are found. It is - a deployment problem if a registered transformer or wrapper is not public. -

      - Transformers and wrappers may declare the throws clause. The declared exception - types are ignored when searching for the method. -

      - For the purpose of the specification of transformers and wrappers below, the term - any-type is recursively defined as: the java.lang.Object class type, - or a type variable that has no bound, or a type variable whose first bound is - any-type. - -

      Input lookups

      - - For the target instance and for each argument, it is possible to specify that the value - passed to Invoker.invoke() should be ignored and a value should be looked up - from the CDI container instead. -

      - For the target instance, a CDI lookup is performed with the required type equal to the bean - class of the bean to which the target method belongs, and required qualifiers equal to the set - of all qualifier annotations present on the bean class of the bean to which the target method - belongs. When the target method is static, the target instance lookup is skipped. -

      - For an argument, a CDI lookup is performed with the required type equal to the type of - the corresponding parameter of the target method, and required qualifiers equal to the set - of all qualifier annotations present on the corresponding parameter of the target method. -

      - Implementations are required to resolve all lookups during deployment. It is a deployment - problem if the lookup ends up unresolved or ambiguous. -

      - If the looked up bean is @Dependent, it is guaranteed that the instance will be - destroyed after the target method is invoked but before the the invoker returns. The order - in which the looked up @Dependent beans are destroyed is not specified. -

      - The order in which input lookups are performed in not specified and must not be relied upon. - -

      Input transformations

      - - The target method has 2 kinds of inputs: the target instance (unless the target method is - static, in which case the target instance is ignored and should be null - by convention) and arguments. These inputs correspond to the parameters of - Invoker.invoke(). -

      - Each input can be transformed by a transformer that has one of the following signatures, - where X and Y are types: - -

        -
      • static X transform(Y value)
      • -
      • static X transform(Y value, Consumer<Runnable> cleanup)
      • -
      • X transform() – in this case, Y is the type of the class that - declares the transformer
      • -
      - - An input transformer must produce a type that can be consumed by the target method. - Specifically: when X is any-type, it is not type checked during deployment. - Otherwise, it is a deployment problem if X is not assignable to the corresponding type - in the declaration of the target method (that is the bean class in case of target instance - transformers, or the corresponding parameter type in case of argument transformers). Y - is not type checked during deployment, so that input transformers may consume arbitrary types. - TODO this paragraph refers to "assignability", which needs to be defined somewhere! -

      - When a transformer is registered for given input, it is called before the target method is - invoked, and the outcome of the transformer is used in the invocation instead of the original - value passed to the invoker by its caller. -

      - If the transformer declares the Consumer<Runnable> parameter, and the execution - of the transformer calls Consumer.accept() with some Runnable, it is - guaranteed that the Runnable will be called after the target method is invoked but - before the invoker returns. These Runnables are called cleanup tasks. - The order of cleanup task execution is not specified. Passing a null cleanup task - to the Consumer is permitted, but has no effect. -

      - If an input transformation is configured for an input for which a lookup is also configured, - the lookup is performed first and the transformation is applied to the looked up value. - If the looked up bean for some input is @Dependent, it is guaranteed that all - cleanup tasks registered by a transformer for that input are called before that looked up - @Dependent bean is destroyed. -

      - The order in which input transformations are performed in not specified and must not - be relied upon. - -

      Output transformations

      - - The target method has 2 kinds of outputs: the return value and the thrown exception. These - outputs correspond to the return value of Invoker.invoke() - or its thrown exception, respectively. -

      - Each output can be transformed by a transformer that has one of the following signatures, - where X and Y are types: - -

        -
      • static X transform(Y value)
      • -
      • X transform() – in this case, Y is the type of the class that - declares the transformer
      • -
      - - An output transformer must consume a type that can be produced by the target method. - Specifically: when Y is any-type, it is not type checked during deployment. - Otherwise, it is a deployment problem if Y is not assignable from the return type of - the target method in case of return value transformers, or from java.lang.Throwable - in case of exception transformers. X is not type checked during deployment, so that - output transformers may produce arbitrary types. - TODO this paragraph refers to "assignability", which needs to be defined somewhere! -

      - When a transformer is registered for given output, it is called after the target method - is invoked, and the outcome of the transformer is passed back to the caller of the invoker - instead of the original output produced by the target method. -

      - If the target method returns normally, any registered exception transformer is ignored; only - the return value transformer is called. The return value transformer may throw, in which case - the invoker will rethrow the exception. If the invoker is supposed to return normally, - the return value transformer must return normally. -

      - Similarly, if the target method throws, any registered return value transformer is ignored; - only the exception transformer is called. The exception transformer may return normally, - in which case the invoker will return the return value of the exception transformer. If - the invoker is supposed to throw an exception, the exception transformer must throw. - TODO this requires that implementations catch java.lang.Throwable, which is perhaps a bit too much? - maybe stick with java.lang.Exception? - -

      Invoker wrapping

      - - An invoker, possibly utilizing input lookups and input/output transformations, may be wrapped - by a custom piece of code for maximum flexibility. A wrapper must have the following signature, - where X, Y and Z are types: - -
        -
      • static Z wrap(X instance, Object[] arguments, Invoker<X, Y> invoker)
      • -
      - - A wrapper must operate on a matching instance type. Specifically: when X is - any-type, it is not type checked during deployment. Otherwise, it is a deployment - problem if X is not assignable from the class type of the bean class to which - the target method belongs. Y and Z are not type checked during deployment. -

      - When a wrapper is registered, 2 invokers for the same method are created. The inner - invoker applies all lookups and transformations, as described in previous sections, and - invokes the target method. The outer invoker calls the wrapper with the passed - instance and arguments and an instance of the inner invoker. The outer invoker is returned - by this invoker builder. -

      - In other words, the outer invoker is equivalent to the following class: + Later, to invoke the hello() method, a framework could pass null as the instance:

      - class InvokerWrapper implements Invoker<X, Z> {
      -     Z invoke(X instance, Object[] arguments) {
      -         // obtain the invoker as if no wrapper existed
      -         Invoker<X, Y> invoker = obtainInvoker();
      -         return SomeClass.wrap(instance, arguments, invoker);
      -     }
      - }
      + invoker.invoke(null, new Object[] { "world" })
        
      - If the wrapper returns normally, the outer invoker returns its return value, unless the wrapper - is declared void, in which case the outer invoker returns null. If the wrapper - throws an exception, the outer invoker rethrows it directly. -

      - The wrapper is supposed to call the invoker it is passed, but does not necessarily have to. - The wrapper may call the invoker multiple times. The wrapper must not use the invoker - in any other way; specifically, it is forbidden to store the invoker instance anywhere - or pass it to other methods that do not follow these rules. Doing so leads to non-portable - behavior. - -

      Type checking

      - - An invoker created by this builder has relaxed type checking rules, when compared to - the description in Invoker.invoke(), depending - on configured lookups, transformers and wrapper. Some types are checked during - deployment, as described in previous sections. Other types are checked during invocation, - at the very least due to the type checks performed implicitly by the JVM. The lookups, - transformers and the wrapper must arrange the inputs and outputs so that when the method - is eventually invoked, the rules described in - Invoker.invoke() all hold. -

      - TODO specify what happens when a transformer/wrapper declares a parameter of a primitive type - but the actual value passed to the invoker is `null` (the transformer should get a zero value?) - TODO specify what happens when a transformer/wrapper declares a parameter of some type - but the actual value passed to the invoker is not assignable to it (CCE?)

      -
      -
      Since:
      + The invoker would look up the instance of the target bean automatically, so the method would be + invoked correctly and the return value would be "Hello world!".
      +
      +
      Since:
      4.1
      -
    • -
    -
    -
    -
    + + +
    +
    Enables lookup of the target bean instance.
    +
    +
    +
    +
    - -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Method Detail

          - - - -
            -
          • -

            setInstanceLookup

            -
            InvokerBuilder<T> setInstanceLookup()
            -
            Enables lookup of the target instance.
            -
            -
            Returns:
            +
          • +
            +

            Method Details

            +
              +
            • +
              +

              withInstanceLookup

              +
              InvokerBuilder<T> withInstanceLookup()
              +
              Enables lookup of the target bean instance.
              +
              +
              Returns:
              this builder
              +
            • -
            - - - -
              -
            • -

              setArgumentLookup

              -
              InvokerBuilder<T> setArgumentLookup​(int position)
              +
            • +
              +

              withArgumentLookup

              +
              InvokerBuilder<T> withArgumentLookup(int position)
              Enables lookup of the argument on given position.
              -
              -
              Parameters:
              -
              position - zero-based argument position for which lookup is enabled
              -
              Returns:
              +
              +
              Parameters:
              +
              position - zero-based position of the target method parameter for which lookup should be enabled
              +
              Returns:
              this builder
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if position is greather than or equal to - the number of parameters declared by the target method
              -
              -
            • -
            - - - -
              -
            • -

              setInstanceTransformer

              -
              InvokerBuilder<T> setInstanceTransformer​(java.lang.Class<?> clazz,
              -                                         java.lang.String methodName)
              -
              Configures an input transformer for the target instance.
              -
              -
              Parameters:
              -
              clazz - class that declares the transformer
              -
              methodName - transformer method name
              -
              Returns:
              -
              this builder
              -
              Throws:
              -
              java.lang.IllegalStateException - if this method is called more than once
              -
              -
            • -
            - - - -
              -
            • -

              setArgumentTransformer

              -
              InvokerBuilder<T> setArgumentTransformer​(int position,
              -                                         java.lang.Class<?> clazz,
              -                                         java.lang.String methodName)
              -
              Configures an input transformer for the argument on given position.
              -
              -
              Parameters:
              -
              position - zero-based argument position for which the input transformer is configured
              -
              clazz - class that declares the transformer
              -
              methodName - transformer method name
              -
              Returns:
              -
              this builder
              -
              Throws:
              -
              java.lang.IllegalArgumentException - if position is greather than or equal to - the number of parameters declared by the target method
              -
              java.lang.IllegalStateException - if this method is called more than once with the same position
              -
              -
            • -
            - - - -
              -
            • -

              setReturnValueTransformer

              -
              InvokerBuilder<T> setReturnValueTransformer​(java.lang.Class<?> clazz,
              -                                            java.lang.String methodName)
              -
              Configures an output transformer for the return value.
              -
              -
              Parameters:
              -
              clazz - class that declares the transformer
              -
              methodName - transformer method name
              -
              Returns:
              -
              this builder
              -
              Throws:
              -
              java.lang.IllegalStateException - if this method is called more than once
              -
              -
            • -
            - - - -
              -
            • -

              setExceptionTransformer

              -
              InvokerBuilder<T> setExceptionTransformer​(java.lang.Class<?> clazz,
              -                                          java.lang.String methodName)
              -
              Configures an output transformer for the thrown exception.
              -
              -
              Parameters:
              -
              clazz - class that declares the transformer
              -
              methodName - transformer method name
              -
              Returns:
              -
              this builder
              -
              Throws:
              -
              java.lang.IllegalStateException - if this method is called more than once
              -
              -
            • -
            - - - -
              -
            • -

              setInvocationWrapper

              -
              InvokerBuilder<T> setInvocationWrapper​(java.lang.Class<?> clazz,
              -                                       java.lang.String methodName)
              -
              Configures an invoker wrapper.
              -
              -
              Parameters:
              -
              clazz - class that declares the invoker wrapper
              -
              methodName - invoker wrapper method name
              -
              Returns:
              -
              this builder
              -
              Throws:
              -
              java.lang.IllegalStateException - if this method is called more than once
              +
              Throws:
              +
              IllegalArgumentException - if position is less than 0 or greater than + or equal to the number of parameters declared by the target method
              +
          • -
          - - - -
            -
          • -

            build

            -
            T build()
            -
            Returns the built Invoker or some represention of it. Implementations are allowed - but not required to reuse already built invokers for the same target method with the same - configuration.
            -
            -
            Returns:
            +
          • +
            +

            build

            +
            T build()
            +
            Returns the built Invoker or some representation of it. Implementations are allowed + but not required to reuse already built invokers when possible.
            +
            +
            Returns:
            the built invoker
            -
          • -
          +
    -
    - - + + -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/class-use/Invoker.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/class-use/Invoker.html index 4619f0585c..01ad2a0985 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/class-use/Invoker.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/class-use/Invoker.html @@ -1,201 +1,94 @@ - - + Uses of Interface jakarta.enterprise.invoke.Invoker (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.invoke.Invoker

    +

    Uses of Interface
    jakarta.enterprise.invoke.Invoker

    -
    -
    +
    - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/class-use/InvokerBuilder.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/class-use/InvokerBuilder.html index 18f9180690..215cd3cdbb 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/class-use/InvokerBuilder.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/class-use/InvokerBuilder.html @@ -1,307 +1,139 @@ - - + Uses of Interface jakarta.enterprise.invoke.InvokerBuilder (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Interface
    jakarta.enterprise.invoke.InvokerBuilder

    +

    Uses of Interface
    jakarta.enterprise.invoke.InvokerBuilder

    +
    +
    Packages that use InvokerBuilder
    +
    +
    Package
    +
    Description
    + +
    +
    + The build compatible extension SPI.
    +
    + +
    +
    + The portable extension integration SPI.
    +
    + +
     
    +
    +
    +
    -
  • -
    - - -

    Uses of InvokerBuilder in jakarta.enterprise.invoke

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.invoke that return InvokerBuilder 
    Modifier and TypeMethodDescription
    InvokerBuilder<T>InvokerBuilder.setArgumentLookup​(int position) +
  • +
    +

    Uses of InvokerBuilder in jakarta.enterprise.invoke

    + +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    InvokerBuilder.withArgumentLookup(int position)
    +
    Enables lookup of the argument on given position.
    -
  • InvokerBuilder<T>InvokerBuilder.setArgumentTransformer​(int position, - java.lang.Class<?> clazz, - java.lang.String methodName) -
    Configures an input transformer for the argument on given position.
    -
    InvokerBuilder<T>InvokerBuilder.setExceptionTransformer​(java.lang.Class<?> clazz, - java.lang.String methodName) -
    Configures an output transformer for the thrown exception.
    -
    InvokerBuilder<T>InvokerBuilder.setInstanceLookup() -
    Enables lookup of the target instance.
    -
    InvokerBuilder<T>InvokerBuilder.setInstanceTransformer​(java.lang.Class<?> clazz, - java.lang.String methodName) -
    Configures an input transformer for the target instance.
    -
    InvokerBuilder<T>InvokerBuilder.setInvocationWrapper​(java.lang.Class<?> clazz, - java.lang.String methodName) -
    Configures an invoker wrapper.
    -
    InvokerBuilder<T>InvokerBuilder.setReturnValueTransformer​(java.lang.Class<?> clazz, - java.lang.String methodName) -
    Configures an output transformer for the return value.
    -
    +
  • + +
    InvokerBuilder.withInstanceLookup()
    +
    +
    Enables lookup of the target bean instance.
    +
    + - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/package-summary.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/package-summary.html index c899b7f7da..ca86563a0a 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/package-summary.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/package-summary.html @@ -1,181 +1,97 @@ - - + jakarta.enterprise.invoke (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    +
    -
    Module jakarta.cdi
    -

    Package jakarta.enterprise.invoke

    +
    Module jakarta.cdi
    +

    Package jakarta.enterprise.invoke

    +
    +
    +
    package jakarta.enterprise.invoke
    +
    +
      +
    • +
      +
      Interfaces
      +
      +
      Class
      +
      Description
      +
      Invoker<T,R>
      +
      +
      An invoker allows indirect invocation of its target method on an instance of its target + bean.
      +
      + +
      +
      Builder of Invokers.
      +
      +
      -
      -
        -
      • - - - - - - - - - - - - - - - - -
        Interface Summary 
        InterfaceDescription
        Invoker<T,​R> -
        Allows indirectly invoking a method that belongs to a managed bean (the target method).
        -
        InvokerBuilder<T> -
        Builder of Invokers that allows configuring input lookups, input and output - transformations, and invoker wrapping.
        -
      -
      +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/package-tree.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/package-tree.html index 2a6639f8b5..1b74134bcb 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/package-tree.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/package-tree.html @@ -1,165 +1,75 @@ - - + jakarta.enterprise.invoke Class Hierarchy (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Hierarchy For Package jakarta.enterprise.invoke

    -Package Hierarchies: +Package Hierarchies:
    -
    -
    +

    Interface Hierarchy

    -
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/package-use.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/package-use.html index a3823baf9a..a883539583 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/package-use.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/invoke/package-use.html @@ -1,249 +1,129 @@ - - + Uses of Package jakarta.enterprise.invoke (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Uses of Package
    jakarta.enterprise.invoke

    -
    -
    +
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/AnnotationLiteral.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/AnnotationLiteral.html index 133ee16ce8..96d4cb77bd 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/AnnotationLiteral.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/AnnotationLiteral.html @@ -1,155 +1,100 @@ - - + AnnotationLiteral (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class AnnotationLiteral<T extends java.lang.annotation.Annotation>

    +
    Module jakarta.cdi
    + +

    Class AnnotationLiteral<T extends Annotation>

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • jakarta.enterprise.util.AnnotationLiteral<T>
      • -
      -
    • -
    -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            AnnotationLiteral

            -
            protected AnnotationLiteral()
            -
          • -
          +
        • +
          +

          Constructor Details

          +
            +
          • +
            +

            AnnotationLiteral

            +
            protected AnnotationLiteral()
            +
            The literal constructor, only for subclasses.
            +
          +
        • -
          -
            -
          • - - -

            Method Detail

            - - - -
              -
            • -

              annotationType

              -
              public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
              -
              -
              Specified by:
              -
              annotationType in interface java.lang.annotation.Annotation
              +
            • +
              +

              Method Details

              + - - - -
                -
              • -

                toString

                -
                public java.lang.String toString()
                -
                -
                Specified by:
                -
                toString in interface java.lang.annotation.Annotation
                -
                Overrides:
                -
                toString in class java.lang.Object
                +
              • +
                +

                toString

                +
                public String toString()
                +
                +
                Specified by:
                +
                toString in interface Annotation
                +
                Overrides:
                +
                toString in class Object
                +
              • -
              - - - -
                -
              • -

                equals

                -
                public boolean equals​(java.lang.Object other)
                -
                -
                Specified by:
                -
                equals in interface java.lang.annotation.Annotation
                -
                Overrides:
                -
                equals in class java.lang.Object
                +
              • +
                +

                equals

                +
                public boolean equals(Object other)
                +
                +
                Specified by:
                +
                equals in interface Annotation
                +
                Overrides:
                +
                equals in class Object
                +
              • -
              - - - -
                -
              • -

                hashCode

                -
                public int hashCode()
                -
                -
                Specified by:
                -
                hashCode in interface java.lang.annotation.Annotation
                -
                Overrides:
                -
                hashCode in class java.lang.Object
                +
              • +
                +

                hashCode

                +
                public int hashCode()
                +
                +
                Specified by:
                +
                hashCode in interface Annotation
                +
                Overrides:
                +
                hashCode in class Object
                -
              • -
              +
        -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/Nonbinding.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/Nonbinding.Literal.html index 91610ec188..11d26bd338 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/Nonbinding.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/Nonbinding.Literal.html @@ -1,370 +1,203 @@ - - + Nonbinding.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class Nonbinding.Literal

    +
    Module jakarta.cdi
    + +

    Class Nonbinding.Literal

    -
    - -
    -
    -
    -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Field Detail

          - - - - +
        • +
          +

          Field Details

          +
            +
          • +
            +

            INSTANCE

            +
            public static final Nonbinding.Literal INSTANCE
            +
            Default Nonbinding literal
            +
          - -
          -
            -
          • - - -

            Constructor Detail

            - - - -
              -
            • -

              Literal

              -
              public Literal()
            • -
            + +
          • +
            +

            Constructor Details

            +
              +
            • +
              +

              Literal

              +
              public Literal()
              +
          -
    -
    -
    + +
    -
    - -
    - - -
    - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/Nonbinding.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/Nonbinding.html index 35c333c428..f8e6960d81 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/Nonbinding.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/Nonbinding.html @@ -1,131 +1,83 @@ - - + Nonbinding (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Annotation Type Nonbinding

    +
    Module jakarta.cdi
    + +

    Annotation Type Nonbinding

    -
    -
    -
      -
    • +

      -
      @Retention(RUNTIME)
      -@Target(METHOD)
      -public @interface Nonbinding
      +
      @Retention(RUNTIME) +@Target(METHOD) +public @interface Nonbinding

      Excludes a member of an annotation type (such as a qualifier type or - interceptor binding type) from consideration when the container compares two annotation - instances. + interceptor binding type) from consideration when the container compares + two annotation instances.

      @@ -139,80 +91,46 @@ 

      Annotation Type Nonbinding< String comment(); }

      -
      -
      Author:
      +
      +
      Author:
      Gavin King
      -
      See Also:
      -
      Qualifier, -InterceptorBinding
      -
      -
    • +
      See Also:
      +
      +
        +
      • @Qualifier
      • +
      • @InterceptorBinding
      +
      + + +
      +
        + +
      • +
        +

        Nested Class Summary

        +
        Nested Classes
        +
        +
        Modifier and Type
        +
        Class
        +
        Description
        +
        static final class 
        + +
        +
        Supports inline instantiation of the Nonbinding annotation.
        -
    + + + + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/TypeLiteral.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/TypeLiteral.html index c112a44889..eb40b38dcf 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/TypeLiteral.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/TypeLiteral.html @@ -1,419 +1,260 @@ - - + TypeLiteral (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    - +
    +
    -
    Module jakarta.cdi
    - -

    Class TypeLiteral<T>

    +
    Module jakarta.cdi
    + +

    Class TypeLiteral<T>

    -
    -
      -
    • java.lang.Object
    • -
    • -
        -
      • jakarta.enterprise.util.TypeLiteral<T>
      • -
      -
    • -
    -
    -
    -
    -
      -
    • + + + +
      +
        -
        -
          -
        • - - -

          Constructor Summary

          - - - - - - - - - - - - -
          Constructors 
          ModifierConstructorDescription
          protected TypeLiteral() 
          -
        • -
        +
      • +
        +

        Constructor Summary

        +
        Constructors
        +
        +
        Modifier
        +
        Constructor
        +
        Description
        +
        protected
        + +
        +
        The literal constructor, only for subclasses.
        +
        +
        - -
        -
          -
        • - - -

          Method Summary

          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          All Methods Instance Methods Concrete Methods 
          Modifier and TypeMethodDescription
          booleanequals​(java.lang.Object obj) 
          java.lang.Class<T>getRawType() 
          java.lang.reflect.TypegetType() 
          inthashCode() 
          java.lang.StringtoString() 
          -
            -
          • - - -

            Methods inherited from class java.lang.Object

            -clone, finalize, getClass, notify, notifyAll, wait, wait, wait
          • -
        • -
        + +
      • +
        +

        Method Summary

        +
        +
        +
        +
        +
        Modifier and Type
        +
        Method
        +
        Description
        +
        boolean
        + +
         
        +
        final Class<T>
        + +
         
        +
        final Type
        + +
         
        +
        int
        + +
         
        + + +
         
        +
        +
        +
        +
        +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      -
    -
    -
      -
    • + +
      +
        -
        -
          -
        • - - -

          Constructor Detail

          - - - -
            -
          • -

            TypeLiteral

            -
            protected TypeLiteral()
            -
          • -
          +
        • +
          +

          Constructor Details

          +
            +
          • +
            +

            TypeLiteral

            +
            protected TypeLiteral()
            +
            The literal constructor, only for subclasses.
            +
          +
        • -
          -
            -
          • - - -

            Method Detail

            - - - -
              -
            • -

              getType

              -
              public final java.lang.reflect.Type getType()
              -
              -
              Returns:
              +
            • +
              +

              Method Details

              +
                +
              • +
                +

                getType

                +
                public final Type getType()
                +
                +
                Returns:
                the actual type represented by this object
                +
              • -
              - - - -
                -
              • -

                getRawType

                -
                public final java.lang.Class<T> getRawType()
                -
                -
                Returns:
                +
              • +
                +

                getRawType

                +
                public final Class<T> getRawType()
                +
                +
                Returns:
                the raw type represented by this object
                +
              • -
              - - - -
                -
              • -

                equals

                -
                public boolean equals​(java.lang.Object obj)
                -
                -
                Overrides:
                -
                equals in class java.lang.Object
                +
              • +
                +

                equals

                +
                public boolean equals(Object obj)
                +
                +
                Overrides:
                +
                equals in class Object
                +
              • -
              - - - -
                -
              • -

                hashCode

                -
                public int hashCode()
                -
                -
                Overrides:
                -
                hashCode in class java.lang.Object
                +
              • +
                +

                hashCode

                +
                public int hashCode()
                +
                +
                Overrides:
                +
                hashCode in class Object
                +
              • -
              - - - -
                -
              • -

                toString

                -
                public java.lang.String toString()
                -
                -
                Overrides:
                -
                toString in class java.lang.Object
                +
              • +
                +

                toString

                +
                public String toString()
                +
                +
                Overrides:
                +
                toString in class Object
                -
              • -
              +
        -
    -
    -
    + +
    -
    - -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/AnnotationLiteral.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/AnnotationLiteral.html index 28f0523e20..4d715b1e18 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/AnnotationLiteral.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/AnnotationLiteral.html @@ -1,399 +1,230 @@ - - + Uses of Class jakarta.enterprise.util.AnnotationLiteral (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.util.AnnotationLiteral

    -
    -
    -
    +
    -
  • -
    - - -

    Uses of AnnotationLiteral in jakarta.enterprise.inject

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Subclasses of AnnotationLiteral in jakarta.enterprise.inject 
    Modifier and TypeClassDescription
    static class Alternative.Literal +
  • +
    +

    Uses of AnnotationLiteral in jakarta.enterprise.inject

    + +
    +
    Modifier and Type
    +
    Class
    +
    Description
    +
    static final class 
    + +
    Supports inline instantiation of the Alternative annotation.
    -
  • static class Any.Literal + +
    static final class 
    + +
    Supports inline instantiation of the Any qualifier.
    -
    static class Default.Literal + +
    static final class 
    + +
    Supports inline instantiation of the Default qualifier.
    -
    static class Specializes.Literal + +
    static final class 
    + +
    Supports inline instantiation of the Specializes annotation.
    -
    static class TransientReference.Literal + +
    static final class 
    + +
    Supports inline instantiation of the TransientReference annotation.
    -
    static class Typed.Literal + +
    static final class 
    + +
    Supports inline instantiation of the Typed annotation.
    -
    static class Vetoed.Literal + +
    static final class 
    + +
    Supports inline instantiation of the Vetoed annotation.
    -
    +
  • + -
  • -
    - - -

    Uses of AnnotationLiteral in jakarta.enterprise.inject.literal

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Subclasses of AnnotationLiteral in jakarta.enterprise.inject.literal 
    Modifier and TypeClassDescription
    class InjectLiteral +
  • +
    +

    Uses of AnnotationLiteral in jakarta.enterprise.inject.literal

    + +
    +
    Modifier and Type
    +
    Class
    +
    Description
    +
    final class 
    + +
    Supports inline instantiation of the Inject annotation.
    -
  • class NamedLiteral + +
    final class 
    + +
    Supports inline instantiation of the Named qualifier.
    -
    class QualifierLiteral + +
    final class 
    + +
    Supports inline instantiation of the Qualifier annotation.
    -
    class SingletonLiteral + +
    final class 
    + +
    Supports inline instantiation of the Singleton annotation.
    -
    + +
  • -
  • -
    - - -

    Uses of AnnotationLiteral in jakarta.enterprise.util

    - - - - - - - - - - - - - - -
    Subclasses of AnnotationLiteral in jakarta.enterprise.util 
    Modifier and TypeClassDescription
    static class Nonbinding.Literal +
  • +
    +

    Uses of AnnotationLiteral in jakarta.enterprise.util

    + +
    +
    Modifier and Type
    +
    Class
    +
    Description
    +
    static final class 
    + +
    Supports inline instantiation of the Nonbinding annotation.
    -
  • + +
  • - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/Nonbinding.Literal.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/Nonbinding.Literal.html index 1d56db04cd..c286dce539 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/Nonbinding.Literal.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/Nonbinding.Literal.html @@ -1,199 +1,93 @@ - - + Uses of Class jakarta.enterprise.util.Nonbinding.Literal (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.util.Nonbinding.Literal

    +

    Uses of Class
    jakarta.enterprise.util.Nonbinding.Literal

    -
    -
    +
    +
    + - - -
    + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/Nonbinding.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/Nonbinding.html index 87fdc4a92b..a9a948af48 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/Nonbinding.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/Nonbinding.html @@ -1,153 +1,64 @@ - - -Uses of Class jakarta.enterprise.util.Nonbinding (Jakarta Contexts and Dependency Injection API) + +Uses of Annotation Type jakarta.enterprise.util.Nonbinding (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.util.Nonbinding

    +

    Uses of Annotation Type
    jakarta.enterprise.util.Nonbinding

    -
    No usage of jakarta.enterprise.util.Nonbinding
    -
    +No usage of jakarta.enterprise.util.Nonbinding
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/TypeLiteral.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/TypeLiteral.html index 11744ff9b1..b650f38932 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/TypeLiteral.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/class-use/TypeLiteral.html @@ -1,268 +1,139 @@ - - + Uses of Class jakarta.enterprise.util.TypeLiteral (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +
    -

    Uses of Class
    jakarta.enterprise.util.TypeLiteral

    +

    Uses of Class
    jakarta.enterprise.util.TypeLiteral

    -
    -
    +
    -
  • -
    - - -

    Uses of TypeLiteral in jakarta.enterprise.inject

    - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject with parameters of type TypeLiteral 
    Modifier and TypeMethodDescription
    <U extends T>
    Instance<U>
    Instance.select​(TypeLiteral<U> subtype, - java.lang.annotation.Annotation... qualifiers) +
  • +
    +

    Uses of TypeLiteral in jakarta.enterprise.inject

    +
    Methods in jakarta.enterprise.inject with parameters of type TypeLiteral
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    +
    <U extends T>
    Instance<U>
    +
    Instance.select(TypeLiteral<U> subtype, + Annotation... qualifiers)
    +
    Obtains a child Instance for the given required type and additional required qualifiers.
    -
  • +
  • +
    -
  • -
    - - -

    Uses of TypeLiteral in jakarta.enterprise.inject.spi.configurator

    - - - - - - - - - - - - - - - - - - - -
    Methods in jakarta.enterprise.inject.spi.configurator with parameters of type TypeLiteral 
    Modifier and TypeMethodDescription
    BeanAttributesConfigurator<T>BeanAttributesConfigurator.addType​(TypeLiteral<?> typeLiteral) +
  • +
    +

    Uses of TypeLiteral in jakarta.enterprise.inject.spi.configurator

    +
    Methods in jakarta.enterprise.inject.spi.configurator with parameters of type TypeLiteral
    +
    +
    Modifier and Type
    +
    Method
    +
    Description
    + +
    BeanAttributesConfigurator.addType(TypeLiteral<?> typeLiteral)
    +
    Add a type to the bean types
    -
  • BeanConfigurator<T>BeanConfigurator.addType​(TypeLiteral<?> typeLiteral) + + +
    BeanConfigurator.addType(TypeLiteral<?> typeLiteral)
    +
    Add a type to the bean types
    -
    + +
  • - - - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/package-summary.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/package-summary.html index 7025308691..dcbec655fc 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/package-summary.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/package-summary.html @@ -1,213 +1,118 @@ - - + jakarta.enterprise.util (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    +
    -
    Module jakarta.cdi
    -

    Package jakarta.enterprise.util

    +
    Module jakarta.cdi
    +

    Package jakarta.enterprise.util

    -
    -
    - - +
    +
    package jakarta.enterprise.util
    +
    Contains shared, general-purpose helper classes and annotations.
    -
      -
    • - - - - - - - - - - - - - - - - - - - - -
      Class Summary 
      ClassDescription
      AnnotationLiteral<T extends java.lang.annotation.Annotation> +
      +
        +
      • +
        +
        +
        +
        +
        Class
        +
        Description
        + +
        Supports inline instantiation of annotation type instances.
        -
      Nonbinding.Literal + + +
      +
      + Excludes a member of an annotation type (such as a qualifier type or + interceptor binding type) from consideration when the container compares + two annotation instances.
      +
      + +
      Supports inline instantiation of the Nonbinding annotation.
      -
      TypeLiteral<T> + + +
      Supports inline instantiation of objects that represent parameterized types with actual type parameters.
      -
      -
    • -
    • - - - - - - - - - - - - -
      Annotation Types Summary 
      Annotation TypeDescription
      Nonbinding -
      - Excludes a member of an annotation type (such as a qualifier type or - interceptor binding type) from consideration when the container compares two annotation - instances.
      -
      +
    +
    + + - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/package-tree.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/package-tree.html index 87bf69026f..406dede363 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/package-tree.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/package-tree.html @@ -1,179 +1,89 @@ - - + jakarta.enterprise.util Class Hierarchy (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Hierarchy For Package jakarta.enterprise.util

    -Package Hierarchies: +Package Hierarchies:
    -
    -
    +

    Class Hierarchy

    -
    +

    Annotation Type Hierarchy

      -
    • jakarta.enterprise.util.Nonbinding (implements java.lang.annotation.Annotation)
    • +
    • jakarta.enterprise.util.Nonbinding (implements java.lang.annotation.Annotation)
    -
    - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/package-use.html b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/package-use.html index 9af015aec4..6ee9f9a815 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/package-use.html +++ b/cdi/4.1/apidocs/jakarta.cdi/jakarta/enterprise/util/package-use.html @@ -1,330 +1,186 @@ - - + Uses of Package jakarta.enterprise.util (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    + +

    Uses of Package
    jakarta.enterprise.util

    -
    -
    +
    + -
  • - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.util used by jakarta.enterprise.event 
    ClassDescription
    TypeLiteral +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Supports inline instantiation of objects that represent parameterized types with actual type parameters.
    -
  • +
  • +
    + -
  • - - - - - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.util used by jakarta.enterprise.inject 
    ClassDescription
    AnnotationLiteral +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Supports inline instantiation of annotation type instances.
    -
  • TypeLiteral + + +
    Supports inline instantiation of objects that represent parameterized types with actual type parameters.
    -
    + + +
  • -
  • - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.util used by jakarta.enterprise.inject.literal 
    ClassDescription
    AnnotationLiteral +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Supports inline instantiation of annotation type instances.
    -
  • + + +
  • -
  • - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.util used by jakarta.enterprise.inject.spi.configurator 
    ClassDescription
    TypeLiteral +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Supports inline instantiation of objects that represent parameterized types with actual type parameters.
    -
  • + + +
  • -
  • - - - - - - - - - - - - - - - - - - -
    Classes in jakarta.enterprise.util used by jakarta.enterprise.util 
    ClassDescription
    AnnotationLiteral +
  • +
    + +
    +
    Class
    +
    Description
    + +
    Supports inline instantiation of annotation type instances.
    -
  • Nonbinding.Literal + + +
    Supports inline instantiation of the Nonbinding annotation.
    -
    + + +
  • - + - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jakarta.cdi/module-summary.html b/cdi/4.1/apidocs/jakarta.cdi/module-summary.html index c0bd083ce9..510fd02901 100644 --- a/cdi/4.1/apidocs/jakarta.cdi/module-summary.html +++ b/cdi/4.1/apidocs/jakarta.cdi/module-summary.html @@ -1,260 +1,142 @@ - - + jakarta.cdi (Jakarta Contexts and Dependency Injection API) + + + - + - - - - - + + - - -
    +
    +
    + +
    +
    -

    Module jakarta.cdi

    +

    Module jakarta.cdi

    -
    -
    +
    + + - +
    -
    -
    -
    - - - - - -

    Comments to: cdi-dev@eclipse.org.
    Copyright © 2018,2023 Eclipse Foundation.
    Use is subject to license terms.

    - diff --git a/cdi/4.1/apidocs/jquery/external/jquery/jquery.js b/cdi/4.1/apidocs/jquery/external/jquery/jquery.js deleted file mode 100644 index 50937333b9..0000000000 --- a/cdi/4.1/apidocs/jquery/external/jquery/jquery.js +++ /dev/null @@ -1,10872 +0,0 @@ -/*! - * jQuery JavaScript Library v3.5.1 - * https://jquery.com/ - * - * Includes Sizzle.js - * https://sizzlejs.com/ - * - * Copyright JS Foundation and other contributors - * Released under the MIT license - * https://jquery.org/license - * - * Date: 2020-05-04T22:49Z - */ -( function( global, factory ) { - - "use strict"; - - if ( typeof module === "object" && typeof module.exports === "object" ) { - - // For CommonJS and CommonJS-like environments where a proper `window` - // is present, execute the factory and get jQuery. - // For environments that do not have a `window` with a `document` - // (such as Node.js), expose a factory as module.exports. - // This accentuates the need for the creation of a real `window`. - // e.g. var jQuery = require("jquery")(window); - // See ticket #14549 for more info. - module.exports = global.document ? - factory( global, true ) : - function( w ) { - if ( !w.document ) { - throw new Error( "jQuery requires a window with a document" ); - } - return factory( w ); - }; - } else { - factory( global ); - } - -// Pass this if window is not defined yet -} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { - -// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 -// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode -// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common -// enough that all such attempts are guarded in a try block. -"use strict"; - -var arr = []; - -var getProto = Object.getPrototypeOf; - -var slice = arr.slice; - -var flat = arr.flat ? function( array ) { - return arr.flat.call( array ); -} : function( array ) { - return arr.concat.apply( [], array ); -}; - - -var push = arr.push; - -var indexOf = arr.indexOf; - -var class2type = {}; - -var toString = class2type.toString; - -var hasOwn = class2type.hasOwnProperty; - -var fnToString = hasOwn.toString; - -var ObjectFunctionString = fnToString.call( Object ); - -var support = {}; - -var isFunction = function isFunction( obj ) { - - // Support: Chrome <=57, Firefox <=52 - // In some browsers, typeof returns "function" for HTML elements - // (i.e., `typeof document.createElement( "object" ) === "function"`). - // We don't want to classify *any* DOM node as a function. - return typeof obj === "function" && typeof obj.nodeType !== "number"; - }; - - -var isWindow = function isWindow( obj ) { - return obj != null && obj === obj.window; - }; - - -var document = window.document; - - - - var preservedScriptAttributes = { - type: true, - src: true, - nonce: true, - noModule: true - }; - - function DOMEval( code, node, doc ) { - doc = doc || document; - - var i, val, - script = doc.createElement( "script" ); - - script.text = code; - if ( node ) { - for ( i in preservedScriptAttributes ) { - - // Support: Firefox 64+, Edge 18+ - // Some browsers don't support the "nonce" property on scripts. - // On the other hand, just using `getAttribute` is not enough as - // the `nonce` attribute is reset to an empty string whenever it - // becomes browsing-context connected. - // See https://github.com/whatwg/html/issues/2369 - // See https://html.spec.whatwg.org/#nonce-attributes - // The `node.getAttribute` check was added for the sake of - // `jQuery.globalEval` so that it can fake a nonce-containing node - // via an object. - val = node[ i ] || node.getAttribute && node.getAttribute( i ); - if ( val ) { - script.setAttribute( i, val ); - } - } - } - doc.head.appendChild( script ).parentNode.removeChild( script ); - } - - -function toType( obj ) { - if ( obj == null ) { - return obj + ""; - } - - // Support: Android <=2.3 only (functionish RegExp) - return typeof obj === "object" || typeof obj === "function" ? - class2type[ toString.call( obj ) ] || "object" : - typeof obj; -} -/* global Symbol */ -// Defining this global in .eslintrc.json would create a danger of using the global -// unguarded in another place, it seems safer to define global only for this module - - - -var - version = "3.5.1", - - // Define a local copy of jQuery - jQuery = function( selector, context ) { - - // The jQuery object is actually just the init constructor 'enhanced' - // Need init if jQuery is called (just allow error to be thrown if not included) - return new jQuery.fn.init( selector, context ); - }; - -jQuery.fn = jQuery.prototype = { - - // The current version of jQuery being used - jquery: version, - - constructor: jQuery, - - // The default length of a jQuery object is 0 - length: 0, - - toArray: function() { - return slice.call( this ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - - // Return all the elements in a clean array - if ( num == null ) { - return slice.call( this ); - } - - // Return just the one element from the set - return num < 0 ? this[ num + this.length ] : this[ num ]; - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems ) { - - // Build a new jQuery matched element set - var ret = jQuery.merge( this.constructor(), elems ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - each: function( callback ) { - return jQuery.each( this, callback ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map( this, function( elem, i ) { - return callback.call( elem, i, elem ); - } ) ); - }, - - slice: function() { - return this.pushStack( slice.apply( this, arguments ) ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - even: function() { - return this.pushStack( jQuery.grep( this, function( _elem, i ) { - return ( i + 1 ) % 2; - } ) ); - }, - - odd: function() { - return this.pushStack( jQuery.grep( this, function( _elem, i ) { - return i % 2; - } ) ); - }, - - eq: function( i ) { - var len = this.length, - j = +i + ( i < 0 ? len : 0 ); - return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); - }, - - end: function() { - return this.prevObject || this.constructor(); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: push, - sort: arr.sort, - splice: arr.splice -}; - -jQuery.extend = jQuery.fn.extend = function() { - var options, name, src, copy, copyIsArray, clone, - target = arguments[ 0 ] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - - // Skip the boolean and the target - target = arguments[ i ] || {}; - i++; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !isFunction( target ) ) { - target = {}; - } - - // Extend jQuery itself if only one argument is passed - if ( i === length ) { - target = this; - i--; - } - - for ( ; i < length; i++ ) { - - // Only deal with non-null/undefined values - if ( ( options = arguments[ i ] ) != null ) { - - // Extend the base object - for ( name in options ) { - copy = options[ name ]; - - // Prevent Object.prototype pollution - // Prevent never-ending loop - if ( name === "__proto__" || target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject( copy ) || - ( copyIsArray = Array.isArray( copy ) ) ) ) { - src = target[ name ]; - - // Ensure proper type for the source value - if ( copyIsArray && !Array.isArray( src ) ) { - clone = []; - } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { - clone = {}; - } else { - clone = src; - } - copyIsArray = false; - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend( { - - // Unique for each copy of jQuery on the page - expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), - - // Assume jQuery is ready without the ready module - isReady: true, - - error: function( msg ) { - throw new Error( msg ); - }, - - noop: function() {}, - - isPlainObject: function( obj ) { - var proto, Ctor; - - // Detect obvious negatives - // Use toString instead of jQuery.type to catch host objects - if ( !obj || toString.call( obj ) !== "[object Object]" ) { - return false; - } - - proto = getProto( obj ); - - // Objects with no prototype (e.g., `Object.create( null )`) are plain - if ( !proto ) { - return true; - } - - // Objects with prototype are plain iff they were constructed by a global Object function - Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; - return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; - }, - - isEmptyObject: function( obj ) { - var name; - - for ( name in obj ) { - return false; - } - return true; - }, - - // Evaluates a script in a provided context; falls back to the global one - // if not specified. - globalEval: function( code, options, doc ) { - DOMEval( code, { nonce: options && options.nonce }, doc ); - }, - - each: function( obj, callback ) { - var length, i = 0; - - if ( isArrayLike( obj ) ) { - length = obj.length; - for ( ; i < length; i++ ) { - if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { - break; - } - } - } else { - for ( i in obj ) { - if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { - break; - } - } - } - - return obj; - }, - - // results is for internal usage only - makeArray: function( arr, results ) { - var ret = results || []; - - if ( arr != null ) { - if ( isArrayLike( Object( arr ) ) ) { - jQuery.merge( ret, - typeof arr === "string" ? - [ arr ] : arr - ); - } else { - push.call( ret, arr ); - } - } - - return ret; - }, - - inArray: function( elem, arr, i ) { - return arr == null ? -1 : indexOf.call( arr, elem, i ); - }, - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - merge: function( first, second ) { - var len = +second.length, - j = 0, - i = first.length; - - for ( ; j < len; j++ ) { - first[ i++ ] = second[ j ]; - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, invert ) { - var callbackInverse, - matches = [], - i = 0, - length = elems.length, - callbackExpect = !invert; - - // Go through the array, only saving the items - // that pass the validator function - for ( ; i < length; i++ ) { - callbackInverse = !callback( elems[ i ], i ); - if ( callbackInverse !== callbackExpect ) { - matches.push( elems[ i ] ); - } - } - - return matches; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var length, value, - i = 0, - ret = []; - - // Go through the array, translating each of the items to their new values - if ( isArrayLike( elems ) ) { - length = elems.length; - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret.push( value ); - } - } - - // Go through every key on the object, - } else { - for ( i in elems ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret.push( value ); - } - } - } - - // Flatten any nested arrays - return flat( ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // jQuery.support is not used in Core but other projects attach their - // properties to it so it needs to exist. - support: support -} ); - -if ( typeof Symbol === "function" ) { - jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; -} - -// Populate the class2type map -jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), -function( _i, name ) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -} ); - -function isArrayLike( obj ) { - - // Support: real iOS 8.2 only (not reproducible in simulator) - // `in` check used to prevent JIT error (gh-2145) - // hasOwn isn't used here due to false negatives - // regarding Nodelist length in IE - var length = !!obj && "length" in obj && obj.length, - type = toType( obj ); - - if ( isFunction( obj ) || isWindow( obj ) ) { - return false; - } - - return type === "array" || length === 0 || - typeof length === "number" && length > 0 && ( length - 1 ) in obj; -} -var Sizzle = -/*! - * Sizzle CSS Selector Engine v2.3.5 - * https://sizzlejs.com/ - * - * Copyright JS Foundation and other contributors - * Released under the MIT license - * https://js.foundation/ - * - * Date: 2020-03-14 - */ -( function( window ) { -var i, - support, - Expr, - getText, - isXML, - tokenize, - compile, - select, - outermostContext, - sortInput, - hasDuplicate, - - // Local document vars - setDocument, - document, - docElem, - documentIsHTML, - rbuggyQSA, - rbuggyMatches, - matches, - contains, - - // Instance-specific data - expando = "sizzle" + 1 * new Date(), - preferredDoc = window.document, - dirruns = 0, - done = 0, - classCache = createCache(), - tokenCache = createCache(), - compilerCache = createCache(), - nonnativeSelectorCache = createCache(), - sortOrder = function( a, b ) { - if ( a === b ) { - hasDuplicate = true; - } - return 0; - }, - - // Instance methods - hasOwn = ( {} ).hasOwnProperty, - arr = [], - pop = arr.pop, - pushNative = arr.push, - push = arr.push, - slice = arr.slice, - - // Use a stripped-down indexOf as it's faster than native - // https://jsperf.com/thor-indexof-vs-for/5 - indexOf = function( list, elem ) { - var i = 0, - len = list.length; - for ( ; i < len; i++ ) { - if ( list[ i ] === elem ) { - return i; - } - } - return -1; - }, - - booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + - "ismap|loop|multiple|open|readonly|required|scoped", - - // Regular expressions - - // http://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - - // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram - identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + - "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", - - // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors - attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + - - // Operator (capture 2) - "*([*^$|!~]?=)" + whitespace + - - // "Attribute values must be CSS identifiers [capture 5] - // or strings [capture 3 or capture 4]" - "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + - whitespace + "*\\]", - - pseudos = ":(" + identifier + ")(?:\\((" + - - // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: - // 1. quoted (capture 3; capture 4 or capture 5) - "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + - - // 2. simple (capture 6) - "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + - - // 3. anything else (capture 2) - ".*" + - ")\\)|)", - - // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter - rwhitespace = new RegExp( whitespace + "+", "g" ), - rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + - whitespace + "+$", "g" ), - - rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), - rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + - "*" ), - rdescend = new RegExp( whitespace + "|>" ), - - rpseudo = new RegExp( pseudos ), - ridentifier = new RegExp( "^" + identifier + "$" ), - - matchExpr = { - "ID": new RegExp( "^#(" + identifier + ")" ), - "CLASS": new RegExp( "^\\.(" + identifier + ")" ), - "TAG": new RegExp( "^(" + identifier + "|[*])" ), - "ATTR": new RegExp( "^" + attributes ), - "PSEUDO": new RegExp( "^" + pseudos ), - "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + - whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + - whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), - "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), - - // For use in libraries implementing .is() - // We use this for POS matching in `select` - "needsContext": new RegExp( "^" + whitespace + - "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + - "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) - }, - - rhtml = /HTML$/i, - rinputs = /^(?:input|select|textarea|button)$/i, - rheader = /^h\d$/i, - - rnative = /^[^{]+\{\s*\[native \w/, - - // Easily-parseable/retrievable ID or TAG or CLASS selectors - rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - - rsibling = /[+~]/, - - // CSS escapes - // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters - runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), - funescape = function( escape, nonHex ) { - var high = "0x" + escape.slice( 1 ) - 0x10000; - - return nonHex ? - - // Strip the backslash prefix from a non-hex escape sequence - nonHex : - - // Replace a hexadecimal escape sequence with the encoded Unicode code point - // Support: IE <=11+ - // For values outside the Basic Multilingual Plane (BMP), manually construct a - // surrogate pair - high < 0 ? - String.fromCharCode( high + 0x10000 ) : - String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); - }, - - // CSS string/identifier serialization - // https://drafts.csswg.org/cssom/#common-serializing-idioms - rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, - fcssescape = function( ch, asCodePoint ) { - if ( asCodePoint ) { - - // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER - if ( ch === "\0" ) { - return "\uFFFD"; - } - - // Control characters and (dependent upon position) numbers get escaped as code points - return ch.slice( 0, -1 ) + "\\" + - ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; - } - - // Other potentially-special ASCII characters get backslash-escaped - return "\\" + ch; - }, - - // Used for iframes - // See setDocument() - // Removing the function wrapper causes a "Permission Denied" - // error in IE - unloadHandler = function() { - setDocument(); - }, - - inDisabledFieldset = addCombinator( - function( elem ) { - return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; - }, - { dir: "parentNode", next: "legend" } - ); - -// Optimize for push.apply( _, NodeList ) -try { - push.apply( - ( arr = slice.call( preferredDoc.childNodes ) ), - preferredDoc.childNodes - ); - - // Support: Android<4.0 - // Detect silently failing push.apply - // eslint-disable-next-line no-unused-expressions - arr[ preferredDoc.childNodes.length ].nodeType; -} catch ( e ) { - push = { apply: arr.length ? - - // Leverage slice if possible - function( target, els ) { - pushNative.apply( target, slice.call( els ) ); - } : - - // Support: IE<9 - // Otherwise append directly - function( target, els ) { - var j = target.length, - i = 0; - - // Can't trust NodeList.length - while ( ( target[ j++ ] = els[ i++ ] ) ) {} - target.length = j - 1; - } - }; -} - -function Sizzle( selector, context, results, seed ) { - var m, i, elem, nid, match, groups, newSelector, - newContext = context && context.ownerDocument, - - // nodeType defaults to 9, since context defaults to document - nodeType = context ? context.nodeType : 9; - - results = results || []; - - // Return early from calls with invalid selector or context - if ( typeof selector !== "string" || !selector || - nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { - - return results; - } - - // Try to shortcut find operations (as opposed to filters) in HTML documents - if ( !seed ) { - setDocument( context ); - context = context || document; - - if ( documentIsHTML ) { - - // If the selector is sufficiently simple, try using a "get*By*" DOM method - // (excepting DocumentFragment context, where the methods don't exist) - if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { - - // ID selector - if ( ( m = match[ 1 ] ) ) { - - // Document context - if ( nodeType === 9 ) { - if ( ( elem = context.getElementById( m ) ) ) { - - // Support: IE, Opera, Webkit - // TODO: identify versions - // getElementById can match elements by name instead of ID - if ( elem.id === m ) { - results.push( elem ); - return results; - } - } else { - return results; - } - - // Element context - } else { - - // Support: IE, Opera, Webkit - // TODO: identify versions - // getElementById can match elements by name instead of ID - if ( newContext && ( elem = newContext.getElementById( m ) ) && - contains( context, elem ) && - elem.id === m ) { - - results.push( elem ); - return results; - } - } - - // Type selector - } else if ( match[ 2 ] ) { - push.apply( results, context.getElementsByTagName( selector ) ); - return results; - - // Class selector - } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && - context.getElementsByClassName ) { - - push.apply( results, context.getElementsByClassName( m ) ); - return results; - } - } - - // Take advantage of querySelectorAll - if ( support.qsa && - !nonnativeSelectorCache[ selector + " " ] && - ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && - - // Support: IE 8 only - // Exclude object elements - ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { - - newSelector = selector; - newContext = context; - - // qSA considers elements outside a scoping root when evaluating child or - // descendant combinators, which is not what we want. - // In such cases, we work around the behavior by prefixing every selector in the - // list with an ID selector referencing the scope context. - // The technique has to be used as well when a leading combinator is used - // as such selectors are not recognized by querySelectorAll. - // Thanks to Andrew Dupont for this technique. - if ( nodeType === 1 && - ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { - - // Expand context for sibling selectors - newContext = rsibling.test( selector ) && testContext( context.parentNode ) || - context; - - // We can use :scope instead of the ID hack if the browser - // supports it & if we're not changing the context. - if ( newContext !== context || !support.scope ) { - - // Capture the context ID, setting it first if necessary - if ( ( nid = context.getAttribute( "id" ) ) ) { - nid = nid.replace( rcssescape, fcssescape ); - } else { - context.setAttribute( "id", ( nid = expando ) ); - } - } - - // Prefix every selector in the list - groups = tokenize( selector ); - i = groups.length; - while ( i-- ) { - groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + - toSelector( groups[ i ] ); - } - newSelector = groups.join( "," ); - } - - try { - push.apply( results, - newContext.querySelectorAll( newSelector ) - ); - return results; - } catch ( qsaError ) { - nonnativeSelectorCache( selector, true ); - } finally { - if ( nid === expando ) { - context.removeAttribute( "id" ); - } - } - } - } - } - - // All others - return select( selector.replace( rtrim, "$1" ), context, results, seed ); -} - -/** - * Create key-value caches of limited size - * @returns {function(string, object)} Returns the Object data after storing it on itself with - * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) - * deleting the oldest entry - */ -function createCache() { - var keys = []; - - function cache( key, value ) { - - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) - if ( keys.push( key + " " ) > Expr.cacheLength ) { - - // Only keep the most recent entries - delete cache[ keys.shift() ]; - } - return ( cache[ key + " " ] = value ); - } - return cache; -} - -/** - * Mark a function for special use by Sizzle - * @param {Function} fn The function to mark - */ -function markFunction( fn ) { - fn[ expando ] = true; - return fn; -} - -/** - * Support testing using an element - * @param {Function} fn Passed the created element and returns a boolean result - */ -function assert( fn ) { - var el = document.createElement( "fieldset" ); - - try { - return !!fn( el ); - } catch ( e ) { - return false; - } finally { - - // Remove from its parent by default - if ( el.parentNode ) { - el.parentNode.removeChild( el ); - } - - // release memory in IE - el = null; - } -} - -/** - * Adds the same handler for all of the specified attrs - * @param {String} attrs Pipe-separated list of attributes - * @param {Function} handler The method that will be applied - */ -function addHandle( attrs, handler ) { - var arr = attrs.split( "|" ), - i = arr.length; - - while ( i-- ) { - Expr.attrHandle[ arr[ i ] ] = handler; - } -} - -/** - * Checks document order of two siblings - * @param {Element} a - * @param {Element} b - * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b - */ -function siblingCheck( a, b ) { - var cur = b && a, - diff = cur && a.nodeType === 1 && b.nodeType === 1 && - a.sourceIndex - b.sourceIndex; - - // Use IE sourceIndex if available on both nodes - if ( diff ) { - return diff; - } - - // Check if b follows a - if ( cur ) { - while ( ( cur = cur.nextSibling ) ) { - if ( cur === b ) { - return -1; - } - } - } - - return a ? 1 : -1; -} - -/** - * Returns a function to use in pseudos for input types - * @param {String} type - */ -function createInputPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === type; - }; -} - -/** - * Returns a function to use in pseudos for buttons - * @param {String} type - */ -function createButtonPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return ( name === "input" || name === "button" ) && elem.type === type; - }; -} - -/** - * Returns a function to use in pseudos for :enabled/:disabled - * @param {Boolean} disabled true for :disabled; false for :enabled - */ -function createDisabledPseudo( disabled ) { - - // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable - return function( elem ) { - - // Only certain elements can match :enabled or :disabled - // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled - // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled - if ( "form" in elem ) { - - // Check for inherited disabledness on relevant non-disabled elements: - // * listed form-associated elements in a disabled fieldset - // https://html.spec.whatwg.org/multipage/forms.html#category-listed - // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled - // * option elements in a disabled optgroup - // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled - // All such elements have a "form" property. - if ( elem.parentNode && elem.disabled === false ) { - - // Option elements defer to a parent optgroup if present - if ( "label" in elem ) { - if ( "label" in elem.parentNode ) { - return elem.parentNode.disabled === disabled; - } else { - return elem.disabled === disabled; - } - } - - // Support: IE 6 - 11 - // Use the isDisabled shortcut property to check for disabled fieldset ancestors - return elem.isDisabled === disabled || - - // Where there is no isDisabled, check manually - /* jshint -W018 */ - elem.isDisabled !== !disabled && - inDisabledFieldset( elem ) === disabled; - } - - return elem.disabled === disabled; - - // Try to winnow out elements that can't be disabled before trusting the disabled property. - // Some victims get caught in our net (label, legend, menu, track), but it shouldn't - // even exist on them, let alone have a boolean value. - } else if ( "label" in elem ) { - return elem.disabled === disabled; - } - - // Remaining elements are neither :enabled nor :disabled - return false; - }; -} - -/** - * Returns a function to use in pseudos for positionals - * @param {Function} fn - */ -function createPositionalPseudo( fn ) { - return markFunction( function( argument ) { - argument = +argument; - return markFunction( function( seed, matches ) { - var j, - matchIndexes = fn( [], seed.length, argument ), - i = matchIndexes.length; - - // Match elements found at the specified indexes - while ( i-- ) { - if ( seed[ ( j = matchIndexes[ i ] ) ] ) { - seed[ j ] = !( matches[ j ] = seed[ j ] ); - } - } - } ); - } ); -} - -/** - * Checks a node for validity as a Sizzle context - * @param {Element|Object=} context - * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value - */ -function testContext( context ) { - return context && typeof context.getElementsByTagName !== "undefined" && context; -} - -// Expose support vars for convenience -support = Sizzle.support = {}; - -/** - * Detects XML nodes - * @param {Element|Object} elem An element or a document - * @returns {Boolean} True iff elem is a non-HTML XML node - */ -isXML = Sizzle.isXML = function( elem ) { - var namespace = elem.namespaceURI, - docElem = ( elem.ownerDocument || elem ).documentElement; - - // Support: IE <=8 - // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes - // https://bugs.jquery.com/ticket/4833 - return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); -}; - -/** - * Sets document-related variables once based on the current document - * @param {Element|Object} [doc] An element or document object to use to set the document - * @returns {Object} Returns the current document - */ -setDocument = Sizzle.setDocument = function( node ) { - var hasCompare, subWindow, - doc = node ? node.ownerDocument || node : preferredDoc; - - // Return early if doc is invalid or already selected - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { - return document; - } - - // Update global variables - document = doc; - docElem = document.documentElement; - documentIsHTML = !isXML( document ); - - // Support: IE 9 - 11+, Edge 12 - 18+ - // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - if ( preferredDoc != document && - ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { - - // Support: IE 11, Edge - if ( subWindow.addEventListener ) { - subWindow.addEventListener( "unload", unloadHandler, false ); - - // Support: IE 9 - 10 only - } else if ( subWindow.attachEvent ) { - subWindow.attachEvent( "onunload", unloadHandler ); - } - } - - // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, - // Safari 4 - 5 only, Opera <=11.6 - 12.x only - // IE/Edge & older browsers don't support the :scope pseudo-class. - // Support: Safari 6.0 only - // Safari 6.0 supports :scope but it's an alias of :root there. - support.scope = assert( function( el ) { - docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); - return typeof el.querySelectorAll !== "undefined" && - !el.querySelectorAll( ":scope fieldset div" ).length; - } ); - - /* Attributes - ---------------------------------------------------------------------- */ - - // Support: IE<8 - // Verify that getAttribute really returns attributes and not properties - // (excepting IE8 booleans) - support.attributes = assert( function( el ) { - el.className = "i"; - return !el.getAttribute( "className" ); - } ); - - /* getElement(s)By* - ---------------------------------------------------------------------- */ - - // Check if getElementsByTagName("*") returns only elements - support.getElementsByTagName = assert( function( el ) { - el.appendChild( document.createComment( "" ) ); - return !el.getElementsByTagName( "*" ).length; - } ); - - // Support: IE<9 - support.getElementsByClassName = rnative.test( document.getElementsByClassName ); - - // Support: IE<10 - // Check if getElementById returns elements by name - // The broken getElementById methods don't pick up programmatically-set names, - // so use a roundabout getElementsByName test - support.getById = assert( function( el ) { - docElem.appendChild( el ).id = expando; - return !document.getElementsByName || !document.getElementsByName( expando ).length; - } ); - - // ID filter and find - if ( support.getById ) { - Expr.filter[ "ID" ] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - return elem.getAttribute( "id" ) === attrId; - }; - }; - Expr.find[ "ID" ] = function( id, context ) { - if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { - var elem = context.getElementById( id ); - return elem ? [ elem ] : []; - } - }; - } else { - Expr.filter[ "ID" ] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - var node = typeof elem.getAttributeNode !== "undefined" && - elem.getAttributeNode( "id" ); - return node && node.value === attrId; - }; - }; - - // Support: IE 6 - 7 only - // getElementById is not reliable as a find shortcut - Expr.find[ "ID" ] = function( id, context ) { - if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { - var node, i, elems, - elem = context.getElementById( id ); - - if ( elem ) { - - // Verify the id attribute - node = elem.getAttributeNode( "id" ); - if ( node && node.value === id ) { - return [ elem ]; - } - - // Fall back on getElementsByName - elems = context.getElementsByName( id ); - i = 0; - while ( ( elem = elems[ i++ ] ) ) { - node = elem.getAttributeNode( "id" ); - if ( node && node.value === id ) { - return [ elem ]; - } - } - } - - return []; - } - }; - } - - // Tag - Expr.find[ "TAG" ] = support.getElementsByTagName ? - function( tag, context ) { - if ( typeof context.getElementsByTagName !== "undefined" ) { - return context.getElementsByTagName( tag ); - - // DocumentFragment nodes don't have gEBTN - } else if ( support.qsa ) { - return context.querySelectorAll( tag ); - } - } : - - function( tag, context ) { - var elem, - tmp = [], - i = 0, - - // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too - results = context.getElementsByTagName( tag ); - - // Filter out possible comments - if ( tag === "*" ) { - while ( ( elem = results[ i++ ] ) ) { - if ( elem.nodeType === 1 ) { - tmp.push( elem ); - } - } - - return tmp; - } - return results; - }; - - // Class - Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { - if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { - return context.getElementsByClassName( className ); - } - }; - - /* QSA/matchesSelector - ---------------------------------------------------------------------- */ - - // QSA and matchesSelector support - - // matchesSelector(:active) reports false when true (IE9/Opera 11.5) - rbuggyMatches = []; - - // qSa(:focus) reports false when true (Chrome 21) - // We allow this because of a bug in IE8/9 that throws an error - // whenever `document.activeElement` is accessed on an iframe - // So, we allow :focus to pass through QSA all the time to avoid the IE error - // See https://bugs.jquery.com/ticket/13378 - rbuggyQSA = []; - - if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { - - // Build QSA regex - // Regex strategy adopted from Diego Perini - assert( function( el ) { - - var input; - - // Select is set to empty string on purpose - // This is to test IE's treatment of not explicitly - // setting a boolean content attribute, - // since its presence should be enough - // https://bugs.jquery.com/ticket/12359 - docElem.appendChild( el ).innerHTML = "" + - ""; - - // Support: IE8, Opera 11-12.16 - // Nothing should be selected when empty strings follow ^= or $= or *= - // The test attribute must be unknown in Opera but "safe" for WinRT - // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section - if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { - rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); - } - - // Support: IE8 - // Boolean attributes and "value" are not treated correctly - if ( !el.querySelectorAll( "[selected]" ).length ) { - rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); - } - - // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ - if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { - rbuggyQSA.push( "~=" ); - } - - // Support: IE 11+, Edge 15 - 18+ - // IE 11/Edge don't find elements on a `[name='']` query in some cases. - // Adding a temporary attribute to the document before the selection works - // around the issue. - // Interestingly, IE 10 & older don't seem to have the issue. - input = document.createElement( "input" ); - input.setAttribute( "name", "" ); - el.appendChild( input ); - if ( !el.querySelectorAll( "[name='']" ).length ) { - rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + - whitespace + "*(?:''|\"\")" ); - } - - // Webkit/Opera - :checked should return selected option elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - // IE8 throws error here and will not see later tests - if ( !el.querySelectorAll( ":checked" ).length ) { - rbuggyQSA.push( ":checked" ); - } - - // Support: Safari 8+, iOS 8+ - // https://bugs.webkit.org/show_bug.cgi?id=136851 - // In-page `selector#id sibling-combinator selector` fails - if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { - rbuggyQSA.push( ".#.+[+~]" ); - } - - // Support: Firefox <=3.6 - 5 only - // Old Firefox doesn't throw on a badly-escaped identifier. - el.querySelectorAll( "\\\f" ); - rbuggyQSA.push( "[\\r\\n\\f]" ); - } ); - - assert( function( el ) { - el.innerHTML = "" + - ""; - - // Support: Windows 8 Native Apps - // The type and name attributes are restricted during .innerHTML assignment - var input = document.createElement( "input" ); - input.setAttribute( "type", "hidden" ); - el.appendChild( input ).setAttribute( "name", "D" ); - - // Support: IE8 - // Enforce case-sensitivity of name attribute - if ( el.querySelectorAll( "[name=d]" ).length ) { - rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); - } - - // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) - // IE8 throws error here and will not see later tests - if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } - - // Support: IE9-11+ - // IE's :disabled selector does not pick up the children of disabled fieldsets - docElem.appendChild( el ).disabled = true; - if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } - - // Support: Opera 10 - 11 only - // Opera 10-11 does not throw on post-comma invalid pseudos - el.querySelectorAll( "*,:x" ); - rbuggyQSA.push( ",.*:" ); - } ); - } - - if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || - docElem.webkitMatchesSelector || - docElem.mozMatchesSelector || - docElem.oMatchesSelector || - docElem.msMatchesSelector ) ) ) ) { - - assert( function( el ) { - - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9) - support.disconnectedMatch = matches.call( el, "*" ); - - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call( el, "[s!='']:x" ); - rbuggyMatches.push( "!=", pseudos ); - } ); - } - - rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); - rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); - - /* Contains - ---------------------------------------------------------------------- */ - hasCompare = rnative.test( docElem.compareDocumentPosition ); - - // Element contains another - // Purposefully self-exclusive - // As in, an element does not contain itself - contains = hasCompare || rnative.test( docElem.contains ) ? - function( a, b ) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!( bup && bup.nodeType === 1 && ( - adown.contains ? - adown.contains( bup ) : - a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 - ) ); - } : - function( a, b ) { - if ( b ) { - while ( ( b = b.parentNode ) ) { - if ( b === a ) { - return true; - } - } - } - return false; - }; - - /* Sorting - ---------------------------------------------------------------------- */ - - // Document order sorting - sortOrder = hasCompare ? - function( a, b ) { - - // Flag for duplicate removal - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - // Sort on method existence if only one input has compareDocumentPosition - var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; - if ( compare ) { - return compare; - } - - // Calculate position if both inputs belong to the same document - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? - a.compareDocumentPosition( b ) : - - // Otherwise we know they are disconnected - 1; - - // Disconnected nodes - if ( compare & 1 || - ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { - - // Choose the first element that is related to our preferred document - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - if ( a == document || a.ownerDocument == preferredDoc && - contains( preferredDoc, a ) ) { - return -1; - } - - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - if ( b == document || b.ownerDocument == preferredDoc && - contains( preferredDoc, b ) ) { - return 1; - } - - // Maintain original order - return sortInput ? - ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : - 0; - } - - return compare & 4 ? -1 : 1; - } : - function( a, b ) { - - // Exit early if the nodes are identical - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - var cur, - i = 0, - aup = a.parentNode, - bup = b.parentNode, - ap = [ a ], - bp = [ b ]; - - // Parentless nodes are either documents or disconnected - if ( !aup || !bup ) { - - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - /* eslint-disable eqeqeq */ - return a == document ? -1 : - b == document ? 1 : - /* eslint-enable eqeqeq */ - aup ? -1 : - bup ? 1 : - sortInput ? - ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : - 0; - - // If the nodes are siblings, we can do a quick check - } else if ( aup === bup ) { - return siblingCheck( a, b ); - } - - // Otherwise we need full lists of their ancestors for comparison - cur = a; - while ( ( cur = cur.parentNode ) ) { - ap.unshift( cur ); - } - cur = b; - while ( ( cur = cur.parentNode ) ) { - bp.unshift( cur ); - } - - // Walk down the tree looking for a discrepancy - while ( ap[ i ] === bp[ i ] ) { - i++; - } - - return i ? - - // Do a sibling check if the nodes have a common ancestor - siblingCheck( ap[ i ], bp[ i ] ) : - - // Otherwise nodes in our document sort first - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - /* eslint-disable eqeqeq */ - ap[ i ] == preferredDoc ? -1 : - bp[ i ] == preferredDoc ? 1 : - /* eslint-enable eqeqeq */ - 0; - }; - - return document; -}; - -Sizzle.matches = function( expr, elements ) { - return Sizzle( expr, null, null, elements ); -}; - -Sizzle.matchesSelector = function( elem, expr ) { - setDocument( elem ); - - if ( support.matchesSelector && documentIsHTML && - !nonnativeSelectorCache[ expr + " " ] && - ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && - ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { - - try { - var ret = matches.call( elem, expr ); - - // IE 9's matchesSelector returns false on disconnected nodes - if ( ret || support.disconnectedMatch || - - // As well, disconnected nodes are said to be in a document - // fragment in IE 9 - elem.document && elem.document.nodeType !== 11 ) { - return ret; - } - } catch ( e ) { - nonnativeSelectorCache( expr, true ); - } - } - - return Sizzle( expr, document, null, [ elem ] ).length > 0; -}; - -Sizzle.contains = function( context, elem ) { - - // Set document vars if needed - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - if ( ( context.ownerDocument || context ) != document ) { - setDocument( context ); - } - return contains( context, elem ); -}; - -Sizzle.attr = function( elem, name ) { - - // Set document vars if needed - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - if ( ( elem.ownerDocument || elem ) != document ) { - setDocument( elem ); - } - - var fn = Expr.attrHandle[ name.toLowerCase() ], - - // Don't get fooled by Object.prototype properties (jQuery #13807) - val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? - fn( elem, name, !documentIsHTML ) : - undefined; - - return val !== undefined ? - val : - support.attributes || !documentIsHTML ? - elem.getAttribute( name ) : - ( val = elem.getAttributeNode( name ) ) && val.specified ? - val.value : - null; -}; - -Sizzle.escape = function( sel ) { - return ( sel + "" ).replace( rcssescape, fcssescape ); -}; - -Sizzle.error = function( msg ) { - throw new Error( "Syntax error, unrecognized expression: " + msg ); -}; - -/** - * Document sorting and removing duplicates - * @param {ArrayLike} results - */ -Sizzle.uniqueSort = function( results ) { - var elem, - duplicates = [], - j = 0, - i = 0; - - // Unless we *know* we can detect duplicates, assume their presence - hasDuplicate = !support.detectDuplicates; - sortInput = !support.sortStable && results.slice( 0 ); - results.sort( sortOrder ); - - if ( hasDuplicate ) { - while ( ( elem = results[ i++ ] ) ) { - if ( elem === results[ i ] ) { - j = duplicates.push( i ); - } - } - while ( j-- ) { - results.splice( duplicates[ j ], 1 ); - } - } - - // Clear input after sorting to release objects - // See https://github.com/jquery/sizzle/pull/225 - sortInput = null; - - return results; -}; - -/** - * Utility function for retrieving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ -getText = Sizzle.getText = function( elem ) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; - - if ( !nodeType ) { - - // If no nodeType, this is expected to be an array - while ( ( node = elem[ i++ ] ) ) { - - // Do not traverse comment nodes - ret += getText( node ); - } - } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { - - // Use textContent for elements - // innerText usage removed for consistency of new lines (jQuery #11153) - if ( typeof elem.textContent === "string" ) { - return elem.textContent; - } else { - - // Traverse its children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - ret += getText( elem ); - } - } - } else if ( nodeType === 3 || nodeType === 4 ) { - return elem.nodeValue; - } - - // Do not include comment or processing instruction nodes - - return ret; -}; - -Expr = Sizzle.selectors = { - - // Can be adjusted by the user - cacheLength: 50, - - createPseudo: markFunction, - - match: matchExpr, - - attrHandle: {}, - - find: {}, - - relative: { - ">": { dir: "parentNode", first: true }, - " ": { dir: "parentNode" }, - "+": { dir: "previousSibling", first: true }, - "~": { dir: "previousSibling" } - }, - - preFilter: { - "ATTR": function( match ) { - match[ 1 ] = match[ 1 ].replace( runescape, funescape ); - - // Move the given value to match[3] whether quoted or unquoted - match[ 3 ] = ( match[ 3 ] || match[ 4 ] || - match[ 5 ] || "" ).replace( runescape, funescape ); - - if ( match[ 2 ] === "~=" ) { - match[ 3 ] = " " + match[ 3 ] + " "; - } - - return match.slice( 0, 4 ); - }, - - "CHILD": function( match ) { - - /* matches from matchExpr["CHILD"] - 1 type (only|nth|...) - 2 what (child|of-type) - 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) - 4 xn-component of xn+y argument ([+-]?\d*n|) - 5 sign of xn-component - 6 x of xn-component - 7 sign of y-component - 8 y of y-component - */ - match[ 1 ] = match[ 1 ].toLowerCase(); - - if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { - - // nth-* requires argument - if ( !match[ 3 ] ) { - Sizzle.error( match[ 0 ] ); - } - - // numeric x and y parameters for Expr.filter.CHILD - // remember that false/true cast respectively to 0/1 - match[ 4 ] = +( match[ 4 ] ? - match[ 5 ] + ( match[ 6 ] || 1 ) : - 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); - match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); - - // other types prohibit arguments - } else if ( match[ 3 ] ) { - Sizzle.error( match[ 0 ] ); - } - - return match; - }, - - "PSEUDO": function( match ) { - var excess, - unquoted = !match[ 6 ] && match[ 2 ]; - - if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { - return null; - } - - // Accept quoted arguments as-is - if ( match[ 3 ] ) { - match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; - - // Strip excess characters from unquoted arguments - } else if ( unquoted && rpseudo.test( unquoted ) && - - // Get excess from tokenize (recursively) - ( excess = tokenize( unquoted, true ) ) && - - // advance to the next closing parenthesis - ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { - - // excess is a negative index - match[ 0 ] = match[ 0 ].slice( 0, excess ); - match[ 2 ] = unquoted.slice( 0, excess ); - } - - // Return only captures needed by the pseudo filter method (type and argument) - return match.slice( 0, 3 ); - } - }, - - filter: { - - "TAG": function( nodeNameSelector ) { - var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); - return nodeNameSelector === "*" ? - function() { - return true; - } : - function( elem ) { - return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; - }; - }, - - "CLASS": function( className ) { - var pattern = classCache[ className + " " ]; - - return pattern || - ( pattern = new RegExp( "(^|" + whitespace + - ")" + className + "(" + whitespace + "|$)" ) ) && classCache( - className, function( elem ) { - return pattern.test( - typeof elem.className === "string" && elem.className || - typeof elem.getAttribute !== "undefined" && - elem.getAttribute( "class" ) || - "" - ); - } ); - }, - - "ATTR": function( name, operator, check ) { - return function( elem ) { - var result = Sizzle.attr( elem, name ); - - if ( result == null ) { - return operator === "!="; - } - if ( !operator ) { - return true; - } - - result += ""; - - /* eslint-disable max-len */ - - return operator === "=" ? result === check : - operator === "!=" ? result !== check : - operator === "^=" ? check && result.indexOf( check ) === 0 : - operator === "*=" ? check && result.indexOf( check ) > -1 : - operator === "$=" ? check && result.slice( -check.length ) === check : - operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : - operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : - false; - /* eslint-enable max-len */ - - }; - }, - - "CHILD": function( type, what, _argument, first, last ) { - var simple = type.slice( 0, 3 ) !== "nth", - forward = type.slice( -4 ) !== "last", - ofType = what === "of-type"; - - return first === 1 && last === 0 ? - - // Shortcut for :nth-*(n) - function( elem ) { - return !!elem.parentNode; - } : - - function( elem, _context, xml ) { - var cache, uniqueCache, outerCache, node, nodeIndex, start, - dir = simple !== forward ? "nextSibling" : "previousSibling", - parent = elem.parentNode, - name = ofType && elem.nodeName.toLowerCase(), - useCache = !xml && !ofType, - diff = false; - - if ( parent ) { - - // :(first|last|only)-(child|of-type) - if ( simple ) { - while ( dir ) { - node = elem; - while ( ( node = node[ dir ] ) ) { - if ( ofType ? - node.nodeName.toLowerCase() === name : - node.nodeType === 1 ) { - - return false; - } - } - - // Reverse direction for :only-* (if we haven't yet done so) - start = dir = type === "only" && !start && "nextSibling"; - } - return true; - } - - start = [ forward ? parent.firstChild : parent.lastChild ]; - - // non-xml :nth-child(...) stores cache data on `parent` - if ( forward && useCache ) { - - // Seek `elem` from a previously-cached index - - // ...in a gzip-friendly way - node = parent; - outerCache = node[ expando ] || ( node[ expando ] = {} ); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ node.uniqueID ] || - ( outerCache[ node.uniqueID ] = {} ); - - cache = uniqueCache[ type ] || []; - nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; - diff = nodeIndex && cache[ 2 ]; - node = nodeIndex && parent.childNodes[ nodeIndex ]; - - while ( ( node = ++nodeIndex && node && node[ dir ] || - - // Fallback to seeking `elem` from the start - ( diff = nodeIndex = 0 ) || start.pop() ) ) { - - // When found, cache indexes on `parent` and break - if ( node.nodeType === 1 && ++diff && node === elem ) { - uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; - break; - } - } - - } else { - - // Use previously-cached element index if available - if ( useCache ) { - - // ...in a gzip-friendly way - node = elem; - outerCache = node[ expando ] || ( node[ expando ] = {} ); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ node.uniqueID ] || - ( outerCache[ node.uniqueID ] = {} ); - - cache = uniqueCache[ type ] || []; - nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; - diff = nodeIndex; - } - - // xml :nth-child(...) - // or :nth-last-child(...) or :nth(-last)?-of-type(...) - if ( diff === false ) { - - // Use the same loop as above to seek `elem` from the start - while ( ( node = ++nodeIndex && node && node[ dir ] || - ( diff = nodeIndex = 0 ) || start.pop() ) ) { - - if ( ( ofType ? - node.nodeName.toLowerCase() === name : - node.nodeType === 1 ) && - ++diff ) { - - // Cache the index of each encountered element - if ( useCache ) { - outerCache = node[ expando ] || - ( node[ expando ] = {} ); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ node.uniqueID ] || - ( outerCache[ node.uniqueID ] = {} ); - - uniqueCache[ type ] = [ dirruns, diff ]; - } - - if ( node === elem ) { - break; - } - } - } - } - } - - // Incorporate the offset, then check against cycle size - diff -= last; - return diff === first || ( diff % first === 0 && diff / first >= 0 ); - } - }; - }, - - "PSEUDO": function( pseudo, argument ) { - - // pseudo-class names are case-insensitive - // http://www.w3.org/TR/selectors/#pseudo-classes - // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters - // Remember that setFilters inherits from pseudos - var args, - fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || - Sizzle.error( "unsupported pseudo: " + pseudo ); - - // The user may use createPseudo to indicate that - // arguments are needed to create the filter function - // just as Sizzle does - if ( fn[ expando ] ) { - return fn( argument ); - } - - // But maintain support for old signatures - if ( fn.length > 1 ) { - args = [ pseudo, pseudo, "", argument ]; - return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? - markFunction( function( seed, matches ) { - var idx, - matched = fn( seed, argument ), - i = matched.length; - while ( i-- ) { - idx = indexOf( seed, matched[ i ] ); - seed[ idx ] = !( matches[ idx ] = matched[ i ] ); - } - } ) : - function( elem ) { - return fn( elem, 0, args ); - }; - } - - return fn; - } - }, - - pseudos: { - - // Potentially complex pseudos - "not": markFunction( function( selector ) { - - // Trim the selector passed to compile - // to avoid treating leading and trailing - // spaces as combinators - var input = [], - results = [], - matcher = compile( selector.replace( rtrim, "$1" ) ); - - return matcher[ expando ] ? - markFunction( function( seed, matches, _context, xml ) { - var elem, - unmatched = matcher( seed, null, xml, [] ), - i = seed.length; - - // Match elements unmatched by `matcher` - while ( i-- ) { - if ( ( elem = unmatched[ i ] ) ) { - seed[ i ] = !( matches[ i ] = elem ); - } - } - } ) : - function( elem, _context, xml ) { - input[ 0 ] = elem; - matcher( input, null, xml, results ); - - // Don't keep the element (issue #299) - input[ 0 ] = null; - return !results.pop(); - }; - } ), - - "has": markFunction( function( selector ) { - return function( elem ) { - return Sizzle( selector, elem ).length > 0; - }; - } ), - - "contains": markFunction( function( text ) { - text = text.replace( runescape, funescape ); - return function( elem ) { - return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; - }; - } ), - - // "Whether an element is represented by a :lang() selector - // is based solely on the element's language value - // being equal to the identifier C, - // or beginning with the identifier C immediately followed by "-". - // The matching of C against the element's language value is performed case-insensitively. - // The identifier C does not have to be a valid language name." - // http://www.w3.org/TR/selectors/#lang-pseudo - "lang": markFunction( function( lang ) { - - // lang value must be a valid identifier - if ( !ridentifier.test( lang || "" ) ) { - Sizzle.error( "unsupported lang: " + lang ); - } - lang = lang.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - var elemLang; - do { - if ( ( elemLang = documentIsHTML ? - elem.lang : - elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { - - elemLang = elemLang.toLowerCase(); - return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; - } - } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); - return false; - }; - } ), - - // Miscellaneous - "target": function( elem ) { - var hash = window.location && window.location.hash; - return hash && hash.slice( 1 ) === elem.id; - }, - - "root": function( elem ) { - return elem === docElem; - }, - - "focus": function( elem ) { - return elem === document.activeElement && - ( !document.hasFocus || document.hasFocus() ) && - !!( elem.type || elem.href || ~elem.tabIndex ); - }, - - // Boolean properties - "enabled": createDisabledPseudo( false ), - "disabled": createDisabledPseudo( true ), - - "checked": function( elem ) { - - // In CSS3, :checked should return both checked and selected elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - var nodeName = elem.nodeName.toLowerCase(); - return ( nodeName === "input" && !!elem.checked ) || - ( nodeName === "option" && !!elem.selected ); - }, - - "selected": function( elem ) { - - // Accessing this property makes selected-by-default - // options in Safari work properly - if ( elem.parentNode ) { - // eslint-disable-next-line no-unused-expressions - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - // Contents - "empty": function( elem ) { - - // http://www.w3.org/TR/selectors/#empty-pseudo - // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), - // but not by others (comment: 8; processing instruction: 7; etc.) - // nodeType < 6 works because attributes (2) do not appear as children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - if ( elem.nodeType < 6 ) { - return false; - } - } - return true; - }, - - "parent": function( elem ) { - return !Expr.pseudos[ "empty" ]( elem ); - }, - - // Element/input types - "header": function( elem ) { - return rheader.test( elem.nodeName ); - }, - - "input": function( elem ) { - return rinputs.test( elem.nodeName ); - }, - - "button": function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === "button" || name === "button"; - }, - - "text": function( elem ) { - var attr; - return elem.nodeName.toLowerCase() === "input" && - elem.type === "text" && - - // Support: IE<8 - // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" - ( ( attr = elem.getAttribute( "type" ) ) == null || - attr.toLowerCase() === "text" ); - }, - - // Position-in-collection - "first": createPositionalPseudo( function() { - return [ 0 ]; - } ), - - "last": createPositionalPseudo( function( _matchIndexes, length ) { - return [ length - 1 ]; - } ), - - "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { - return [ argument < 0 ? argument + length : argument ]; - } ), - - "even": createPositionalPseudo( function( matchIndexes, length ) { - var i = 0; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - } ), - - "odd": createPositionalPseudo( function( matchIndexes, length ) { - var i = 1; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - } ), - - "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { - var i = argument < 0 ? - argument + length : - argument > length ? - length : - argument; - for ( ; --i >= 0; ) { - matchIndexes.push( i ); - } - return matchIndexes; - } ), - - "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; ++i < length; ) { - matchIndexes.push( i ); - } - return matchIndexes; - } ) - } -}; - -Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; - -// Add button/input type pseudos -for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { - Expr.pseudos[ i ] = createInputPseudo( i ); -} -for ( i in { submit: true, reset: true } ) { - Expr.pseudos[ i ] = createButtonPseudo( i ); -} - -// Easy API for creating new setFilters -function setFilters() {} -setFilters.prototype = Expr.filters = Expr.pseudos; -Expr.setFilters = new setFilters(); - -tokenize = Sizzle.tokenize = function( selector, parseOnly ) { - var matched, match, tokens, type, - soFar, groups, preFilters, - cached = tokenCache[ selector + " " ]; - - if ( cached ) { - return parseOnly ? 0 : cached.slice( 0 ); - } - - soFar = selector; - groups = []; - preFilters = Expr.preFilter; - - while ( soFar ) { - - // Comma and first run - if ( !matched || ( match = rcomma.exec( soFar ) ) ) { - if ( match ) { - - // Don't consume trailing commas as valid - soFar = soFar.slice( match[ 0 ].length ) || soFar; - } - groups.push( ( tokens = [] ) ); - } - - matched = false; - - // Combinators - if ( ( match = rcombinators.exec( soFar ) ) ) { - matched = match.shift(); - tokens.push( { - value: matched, - - // Cast descendant combinators to space - type: match[ 0 ].replace( rtrim, " " ) - } ); - soFar = soFar.slice( matched.length ); - } - - // Filters - for ( type in Expr.filter ) { - if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || - ( match = preFilters[ type ]( match ) ) ) ) { - matched = match.shift(); - tokens.push( { - value: matched, - type: type, - matches: match - } ); - soFar = soFar.slice( matched.length ); - } - } - - if ( !matched ) { - break; - } - } - - // Return the length of the invalid excess - // if we're just parsing - // Otherwise, throw an error or return tokens - return parseOnly ? - soFar.length : - soFar ? - Sizzle.error( selector ) : - - // Cache the tokens - tokenCache( selector, groups ).slice( 0 ); -}; - -function toSelector( tokens ) { - var i = 0, - len = tokens.length, - selector = ""; - for ( ; i < len; i++ ) { - selector += tokens[ i ].value; - } - return selector; -} - -function addCombinator( matcher, combinator, base ) { - var dir = combinator.dir, - skip = combinator.next, - key = skip || dir, - checkNonElements = base && key === "parentNode", - doneName = done++; - - return combinator.first ? - - // Check against closest ancestor/preceding element - function( elem, context, xml ) { - while ( ( elem = elem[ dir ] ) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - return matcher( elem, context, xml ); - } - } - return false; - } : - - // Check against all ancestor/preceding elements - function( elem, context, xml ) { - var oldCache, uniqueCache, outerCache, - newCache = [ dirruns, doneName ]; - - // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching - if ( xml ) { - while ( ( elem = elem[ dir ] ) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - if ( matcher( elem, context, xml ) ) { - return true; - } - } - } - } else { - while ( ( elem = elem[ dir ] ) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - outerCache = elem[ expando ] || ( elem[ expando ] = {} ); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[ elem.uniqueID ] || - ( outerCache[ elem.uniqueID ] = {} ); - - if ( skip && skip === elem.nodeName.toLowerCase() ) { - elem = elem[ dir ] || elem; - } else if ( ( oldCache = uniqueCache[ key ] ) && - oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { - - // Assign to newCache so results back-propagate to previous elements - return ( newCache[ 2 ] = oldCache[ 2 ] ); - } else { - - // Reuse newcache so results back-propagate to previous elements - uniqueCache[ key ] = newCache; - - // A match means we're done; a fail means we have to keep checking - if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { - return true; - } - } - } - } - } - return false; - }; -} - -function elementMatcher( matchers ) { - return matchers.length > 1 ? - function( elem, context, xml ) { - var i = matchers.length; - while ( i-- ) { - if ( !matchers[ i ]( elem, context, xml ) ) { - return false; - } - } - return true; - } : - matchers[ 0 ]; -} - -function multipleContexts( selector, contexts, results ) { - var i = 0, - len = contexts.length; - for ( ; i < len; i++ ) { - Sizzle( selector, contexts[ i ], results ); - } - return results; -} - -function condense( unmatched, map, filter, context, xml ) { - var elem, - newUnmatched = [], - i = 0, - len = unmatched.length, - mapped = map != null; - - for ( ; i < len; i++ ) { - if ( ( elem = unmatched[ i ] ) ) { - if ( !filter || filter( elem, context, xml ) ) { - newUnmatched.push( elem ); - if ( mapped ) { - map.push( i ); - } - } - } - } - - return newUnmatched; -} - -function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { - if ( postFilter && !postFilter[ expando ] ) { - postFilter = setMatcher( postFilter ); - } - if ( postFinder && !postFinder[ expando ] ) { - postFinder = setMatcher( postFinder, postSelector ); - } - return markFunction( function( seed, results, context, xml ) { - var temp, i, elem, - preMap = [], - postMap = [], - preexisting = results.length, - - // Get initial elements from seed or context - elems = seed || multipleContexts( - selector || "*", - context.nodeType ? [ context ] : context, - [] - ), - - // Prefilter to get matcher input, preserving a map for seed-results synchronization - matcherIn = preFilter && ( seed || !selector ) ? - condense( elems, preMap, preFilter, context, xml ) : - elems, - - matcherOut = matcher ? - - // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, - postFinder || ( seed ? preFilter : preexisting || postFilter ) ? - - // ...intermediate processing is necessary - [] : - - // ...otherwise use results directly - results : - matcherIn; - - // Find primary matches - if ( matcher ) { - matcher( matcherIn, matcherOut, context, xml ); - } - - // Apply postFilter - if ( postFilter ) { - temp = condense( matcherOut, postMap ); - postFilter( temp, [], context, xml ); - - // Un-match failing elements by moving them back to matcherIn - i = temp.length; - while ( i-- ) { - if ( ( elem = temp[ i ] ) ) { - matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); - } - } - } - - if ( seed ) { - if ( postFinder || preFilter ) { - if ( postFinder ) { - - // Get the final matcherOut by condensing this intermediate into postFinder contexts - temp = []; - i = matcherOut.length; - while ( i-- ) { - if ( ( elem = matcherOut[ i ] ) ) { - - // Restore matcherIn since elem is not yet a final match - temp.push( ( matcherIn[ i ] = elem ) ); - } - } - postFinder( null, ( matcherOut = [] ), temp, xml ); - } - - // Move matched elements from seed to results to keep them synchronized - i = matcherOut.length; - while ( i-- ) { - if ( ( elem = matcherOut[ i ] ) && - ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { - - seed[ temp ] = !( results[ temp ] = elem ); - } - } - } - - // Add elements to results, through postFinder if defined - } else { - matcherOut = condense( - matcherOut === results ? - matcherOut.splice( preexisting, matcherOut.length ) : - matcherOut - ); - if ( postFinder ) { - postFinder( null, results, matcherOut, xml ); - } else { - push.apply( results, matcherOut ); - } - } - } ); -} - -function matcherFromTokens( tokens ) { - var checkContext, matcher, j, - len = tokens.length, - leadingRelative = Expr.relative[ tokens[ 0 ].type ], - implicitRelative = leadingRelative || Expr.relative[ " " ], - i = leadingRelative ? 1 : 0, - - // The foundational matcher ensures that elements are reachable from top-level context(s) - matchContext = addCombinator( function( elem ) { - return elem === checkContext; - }, implicitRelative, true ), - matchAnyContext = addCombinator( function( elem ) { - return indexOf( checkContext, elem ) > -1; - }, implicitRelative, true ), - matchers = [ function( elem, context, xml ) { - var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( - ( checkContext = context ).nodeType ? - matchContext( elem, context, xml ) : - matchAnyContext( elem, context, xml ) ); - - // Avoid hanging onto element (issue #299) - checkContext = null; - return ret; - } ]; - - for ( ; i < len; i++ ) { - if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { - matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; - } else { - matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); - - // Return special upon seeing a positional matcher - if ( matcher[ expando ] ) { - - // Find the next relative operator (if any) for proper handling - j = ++i; - for ( ; j < len; j++ ) { - if ( Expr.relative[ tokens[ j ].type ] ) { - break; - } - } - return setMatcher( - i > 1 && elementMatcher( matchers ), - i > 1 && toSelector( - - // If the preceding token was a descendant combinator, insert an implicit any-element `*` - tokens - .slice( 0, i - 1 ) - .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) - ).replace( rtrim, "$1" ), - matcher, - i < j && matcherFromTokens( tokens.slice( i, j ) ), - j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), - j < len && toSelector( tokens ) - ); - } - matchers.push( matcher ); - } - } - - return elementMatcher( matchers ); -} - -function matcherFromGroupMatchers( elementMatchers, setMatchers ) { - var bySet = setMatchers.length > 0, - byElement = elementMatchers.length > 0, - superMatcher = function( seed, context, xml, results, outermost ) { - var elem, j, matcher, - matchedCount = 0, - i = "0", - unmatched = seed && [], - setMatched = [], - contextBackup = outermostContext, - - // We must always have either seed elements or outermost context - elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), - - // Use integer dirruns iff this is the outermost matcher - dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), - len = elems.length; - - if ( outermost ) { - - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - outermostContext = context == document || context || outermost; - } - - // Add elements passing elementMatchers directly to results - // Support: IE<9, Safari - // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id - for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { - if ( byElement && elem ) { - j = 0; - - // Support: IE 11+, Edge 17 - 18+ - // IE/Edge sometimes throw a "Permission denied" error when strict-comparing - // two documents; shallow comparisons work. - // eslint-disable-next-line eqeqeq - if ( !context && elem.ownerDocument != document ) { - setDocument( elem ); - xml = !documentIsHTML; - } - while ( ( matcher = elementMatchers[ j++ ] ) ) { - if ( matcher( elem, context || document, xml ) ) { - results.push( elem ); - break; - } - } - if ( outermost ) { - dirruns = dirrunsUnique; - } - } - - // Track unmatched elements for set filters - if ( bySet ) { - - // They will have gone through all possible matchers - if ( ( elem = !matcher && elem ) ) { - matchedCount--; - } - - // Lengthen the array for every element, matched or not - if ( seed ) { - unmatched.push( elem ); - } - } - } - - // `i` is now the count of elements visited above, and adding it to `matchedCount` - // makes the latter nonnegative. - matchedCount += i; - - // Apply set filters to unmatched elements - // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` - // equals `i`), unless we didn't visit _any_ elements in the above loop because we have - // no element matchers and no seed. - // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that - // case, which will result in a "00" `matchedCount` that differs from `i` but is also - // numerically zero. - if ( bySet && i !== matchedCount ) { - j = 0; - while ( ( matcher = setMatchers[ j++ ] ) ) { - matcher( unmatched, setMatched, context, xml ); - } - - if ( seed ) { - - // Reintegrate element matches to eliminate the need for sorting - if ( matchedCount > 0 ) { - while ( i-- ) { - if ( !( unmatched[ i ] || setMatched[ i ] ) ) { - setMatched[ i ] = pop.call( results ); - } - } - } - - // Discard index placeholder values to get only actual matches - setMatched = condense( setMatched ); - } - - // Add matches to results - push.apply( results, setMatched ); - - // Seedless set matches succeeding multiple successful matchers stipulate sorting - if ( outermost && !seed && setMatched.length > 0 && - ( matchedCount + setMatchers.length ) > 1 ) { - - Sizzle.uniqueSort( results ); - } - } - - // Override manipulation of globals by nested matchers - if ( outermost ) { - dirruns = dirrunsUnique; - outermostContext = contextBackup; - } - - return unmatched; - }; - - return bySet ? - markFunction( superMatcher ) : - superMatcher; -} - -compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { - var i, - setMatchers = [], - elementMatchers = [], - cached = compilerCache[ selector + " " ]; - - if ( !cached ) { - - // Generate a function of recursive functions that can be used to check each element - if ( !match ) { - match = tokenize( selector ); - } - i = match.length; - while ( i-- ) { - cached = matcherFromTokens( match[ i ] ); - if ( cached[ expando ] ) { - setMatchers.push( cached ); - } else { - elementMatchers.push( cached ); - } - } - - // Cache the compiled function - cached = compilerCache( - selector, - matcherFromGroupMatchers( elementMatchers, setMatchers ) - ); - - // Save selector and tokenization - cached.selector = selector; - } - return cached; -}; - -/** - * A low-level selection function that works with Sizzle's compiled - * selector functions - * @param {String|Function} selector A selector or a pre-compiled - * selector function built with Sizzle.compile - * @param {Element} context - * @param {Array} [results] - * @param {Array} [seed] A set of elements to match against - */ -select = Sizzle.select = function( selector, context, results, seed ) { - var i, tokens, token, type, find, - compiled = typeof selector === "function" && selector, - match = !seed && tokenize( ( selector = compiled.selector || selector ) ); - - results = results || []; - - // Try to minimize operations if there is only one selector in the list and no seed - // (the latter of which guarantees us context) - if ( match.length === 1 ) { - - // Reduce context if the leading compound selector is an ID - tokens = match[ 0 ] = match[ 0 ].slice( 0 ); - if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && - context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { - - context = ( Expr.find[ "ID" ]( token.matches[ 0 ] - .replace( runescape, funescape ), context ) || [] )[ 0 ]; - if ( !context ) { - return results; - - // Precompiled matchers will still verify ancestry, so step up a level - } else if ( compiled ) { - context = context.parentNode; - } - - selector = selector.slice( tokens.shift().value.length ); - } - - // Fetch a seed set for right-to-left matching - i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; - while ( i-- ) { - token = tokens[ i ]; - - // Abort if we hit a combinator - if ( Expr.relative[ ( type = token.type ) ] ) { - break; - } - if ( ( find = Expr.find[ type ] ) ) { - - // Search, expanding context for leading sibling combinators - if ( ( seed = find( - token.matches[ 0 ].replace( runescape, funescape ), - rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || - context - ) ) ) { - - // If seed is empty or no tokens remain, we can return early - tokens.splice( i, 1 ); - selector = seed.length && toSelector( tokens ); - if ( !selector ) { - push.apply( results, seed ); - return results; - } - - break; - } - } - } - } - - // Compile and execute a filtering function if one is not provided - // Provide `match` to avoid retokenization if we modified the selector above - ( compiled || compile( selector, match ) )( - seed, - context, - !documentIsHTML, - results, - !context || rsibling.test( selector ) && testContext( context.parentNode ) || context - ); - return results; -}; - -// One-time assignments - -// Sort stability -support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; - -// Support: Chrome 14-35+ -// Always assume duplicates if they aren't passed to the comparison function -support.detectDuplicates = !!hasDuplicate; - -// Initialize against the default document -setDocument(); - -// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) -// Detached nodes confoundingly follow *each other* -support.sortDetached = assert( function( el ) { - - // Should return 1, but returns 4 (following) - return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; -} ); - -// Support: IE<8 -// Prevent attribute/property "interpolation" -// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx -if ( !assert( function( el ) { - el.innerHTML = ""; - return el.firstChild.getAttribute( "href" ) === "#"; -} ) ) { - addHandle( "type|href|height|width", function( elem, name, isXML ) { - if ( !isXML ) { - return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); - } - } ); -} - -// Support: IE<9 -// Use defaultValue in place of getAttribute("value") -if ( !support.attributes || !assert( function( el ) { - el.innerHTML = ""; - el.firstChild.setAttribute( "value", "" ); - return el.firstChild.getAttribute( "value" ) === ""; -} ) ) { - addHandle( "value", function( elem, _name, isXML ) { - if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { - return elem.defaultValue; - } - } ); -} - -// Support: IE<9 -// Use getAttributeNode to fetch booleans when getAttribute lies -if ( !assert( function( el ) { - return el.getAttribute( "disabled" ) == null; -} ) ) { - addHandle( booleans, function( elem, name, isXML ) { - var val; - if ( !isXML ) { - return elem[ name ] === true ? name.toLowerCase() : - ( val = elem.getAttributeNode( name ) ) && val.specified ? - val.value : - null; - } - } ); -} - -return Sizzle; - -} )( window ); - - - -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; - -// Deprecated -jQuery.expr[ ":" ] = jQuery.expr.pseudos; -jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; -jQuery.escapeSelector = Sizzle.escape; - - - - -var dir = function( elem, dir, until ) { - var matched = [], - truncate = until !== undefined; - - while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { - if ( elem.nodeType === 1 ) { - if ( truncate && jQuery( elem ).is( until ) ) { - break; - } - matched.push( elem ); - } - } - return matched; -}; - - -var siblings = function( n, elem ) { - var matched = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - matched.push( n ); - } - } - - return matched; -}; - - -var rneedsContext = jQuery.expr.match.needsContext; - - - -function nodeName( elem, name ) { - - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - -}; -var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); - - - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, not ) { - if ( isFunction( qualifier ) ) { - return jQuery.grep( elements, function( elem, i ) { - return !!qualifier.call( elem, i, elem ) !== not; - } ); - } - - // Single element - if ( qualifier.nodeType ) { - return jQuery.grep( elements, function( elem ) { - return ( elem === qualifier ) !== not; - } ); - } - - // Arraylike of elements (jQuery, arguments, Array) - if ( typeof qualifier !== "string" ) { - return jQuery.grep( elements, function( elem ) { - return ( indexOf.call( qualifier, elem ) > -1 ) !== not; - } ); - } - - // Filtered directly for both simple and complex selectors - return jQuery.filter( qualifier, elements, not ); -} - -jQuery.filter = function( expr, elems, not ) { - var elem = elems[ 0 ]; - - if ( not ) { - expr = ":not(" + expr + ")"; - } - - if ( elems.length === 1 && elem.nodeType === 1 ) { - return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; - } - - return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { - return elem.nodeType === 1; - } ) ); -}; - -jQuery.fn.extend( { - find: function( selector ) { - var i, ret, - len = this.length, - self = this; - - if ( typeof selector !== "string" ) { - return this.pushStack( jQuery( selector ).filter( function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - } ) ); - } - - ret = this.pushStack( [] ); - - for ( i = 0; i < len; i++ ) { - jQuery.find( selector, self[ i ], ret ); - } - - return len > 1 ? jQuery.uniqueSort( ret ) : ret; - }, - filter: function( selector ) { - return this.pushStack( winnow( this, selector || [], false ) ); - }, - not: function( selector ) { - return this.pushStack( winnow( this, selector || [], true ) ); - }, - is: function( selector ) { - return !!winnow( - this, - - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - typeof selector === "string" && rneedsContext.test( selector ) ? - jQuery( selector ) : - selector || [], - false - ).length; - } -} ); - - -// Initialize a jQuery object - - -// A central reference to the root jQuery(document) -var rootjQuery, - - // A simple way to check for HTML strings - // Prioritize #id over to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - // Shortcut simple #id case for speed - rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, - - init = jQuery.fn.init = function( selector, context, root ) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if ( !selector ) { - return this; - } - - // Method init() accepts an alternate rootjQuery - // so migrate can support jQuery.sub (gh-2101) - root = root || rootjQuery; - - // Handle HTML strings - if ( typeof selector === "string" ) { - if ( selector[ 0 ] === "<" && - selector[ selector.length - 1 ] === ">" && - selector.length >= 3 ) { - - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = rquickExpr.exec( selector ); - } - - // Match html or make sure no context is specified for #id - if ( match && ( match[ 1 ] || !context ) ) { - - // HANDLE: $(html) -> $(array) - if ( match[ 1 ] ) { - context = context instanceof jQuery ? context[ 0 ] : context; - - // Option to run scripts is true for back-compat - // Intentionally let the error be thrown if parseHTML is not present - jQuery.merge( this, jQuery.parseHTML( - match[ 1 ], - context && context.nodeType ? context.ownerDocument || context : document, - true - ) ); - - // HANDLE: $(html, props) - if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { - for ( match in context ) { - - // Properties of context are called as methods if possible - if ( isFunction( this[ match ] ) ) { - this[ match ]( context[ match ] ); - - // ...and otherwise set as attributes - } else { - this.attr( match, context[ match ] ); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById( match[ 2 ] ); - - if ( elem ) { - - // Inject the element directly into the jQuery object - this[ 0 ] = elem; - this.length = 1; - } - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return ( context || root ).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(DOMElement) - } else if ( selector.nodeType ) { - this[ 0 ] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( isFunction( selector ) ) { - return root.ready !== undefined ? - root.ready( selector ) : - - // Execute immediately if ready is not present - selector( jQuery ); - } - - return jQuery.makeArray( selector, this ); - }; - -// Give the init function the jQuery prototype for later instantiation -init.prototype = jQuery.fn; - -// Initialize central reference -rootjQuery = jQuery( document ); - - -var rparentsprev = /^(?:parents|prev(?:Until|All))/, - - // Methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.fn.extend( { - has: function( target ) { - var targets = jQuery( target, this ), - l = targets.length; - - return this.filter( function() { - var i = 0; - for ( ; i < l; i++ ) { - if ( jQuery.contains( this, targets[ i ] ) ) { - return true; - } - } - } ); - }, - - closest: function( selectors, context ) { - var cur, - i = 0, - l = this.length, - matched = [], - targets = typeof selectors !== "string" && jQuery( selectors ); - - // Positional selectors never match, since there's no _selection_ context - if ( !rneedsContext.test( selectors ) ) { - for ( ; i < l; i++ ) { - for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { - - // Always skip document fragments - if ( cur.nodeType < 11 && ( targets ? - targets.index( cur ) > -1 : - - // Don't pass non-elements to Sizzle - cur.nodeType === 1 && - jQuery.find.matchesSelector( cur, selectors ) ) ) { - - matched.push( cur ); - break; - } - } - } - } - - return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); - }, - - // Determine the position of an element within the set - index: function( elem ) { - - // No argument, return index in parent - if ( !elem ) { - return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; - } - - // Index in selector - if ( typeof elem === "string" ) { - return indexOf.call( jQuery( elem ), this[ 0 ] ); - } - - // Locate the position of the desired element - return indexOf.call( this, - - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[ 0 ] : elem - ); - }, - - add: function( selector, context ) { - return this.pushStack( - jQuery.uniqueSort( - jQuery.merge( this.get(), jQuery( selector, context ) ) - ) - ); - }, - - addBack: function( selector ) { - return this.add( selector == null ? - this.prevObject : this.prevObject.filter( selector ) - ); - } -} ); - -function sibling( cur, dir ) { - while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} - return cur; -} - -jQuery.each( { - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, _i, until ) { - return dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return sibling( elem, "nextSibling" ); - }, - prev: function( elem ) { - return sibling( elem, "previousSibling" ); - }, - nextAll: function( elem ) { - return dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, _i, until ) { - return dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, _i, until ) { - return dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return siblings( ( elem.parentNode || {} ).firstChild, elem ); - }, - children: function( elem ) { - return siblings( elem.firstChild ); - }, - contents: function( elem ) { - if ( elem.contentDocument != null && - - // Support: IE 11+ - // elements with no `data` attribute has an object - // `contentDocument` with a `null` prototype. - getProto( elem.contentDocument ) ) { - - return elem.contentDocument; - } - - // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only - // Treat the template element as a regular one in browsers that - // don't support it. - if ( nodeName( elem, "template" ) ) { - elem = elem.content || elem; - } - - return jQuery.merge( [], elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var matched = jQuery.map( this, fn, until ); - - if ( name.slice( -5 ) !== "Until" ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - matched = jQuery.filter( selector, matched ); - } - - if ( this.length > 1 ) { - - // Remove duplicates - if ( !guaranteedUnique[ name ] ) { - jQuery.uniqueSort( matched ); - } - - // Reverse order for parents* and prev-derivatives - if ( rparentsprev.test( name ) ) { - matched.reverse(); - } - } - - return this.pushStack( matched ); - }; -} ); -var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); - - - -// Convert String-formatted options into Object-formatted ones -function createOptions( options ) { - var object = {}; - jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { - object[ flag ] = true; - } ); - return object; -} - -/* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ -jQuery.Callbacks = function( options ) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - createOptions( options ) : - jQuery.extend( {}, options ); - - var // Flag to know if list is currently firing - firing, - - // Last fire value for non-forgettable lists - memory, - - // Flag to know if list was already fired - fired, - - // Flag to prevent firing - locked, - - // Actual callback list - list = [], - - // Queue of execution data for repeatable lists - queue = [], - - // Index of currently firing callback (modified by add/remove as needed) - firingIndex = -1, - - // Fire callbacks - fire = function() { - - // Enforce single-firing - locked = locked || options.once; - - // Execute callbacks for all pending executions, - // respecting firingIndex overrides and runtime changes - fired = firing = true; - for ( ; queue.length; firingIndex = -1 ) { - memory = queue.shift(); - while ( ++firingIndex < list.length ) { - - // Run callback and check for early termination - if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && - options.stopOnFalse ) { - - // Jump to end and forget the data so .add doesn't re-fire - firingIndex = list.length; - memory = false; - } - } - } - - // Forget the data if we're done with it - if ( !options.memory ) { - memory = false; - } - - firing = false; - - // Clean up if we're done firing for good - if ( locked ) { - - // Keep an empty list if we have data for future add calls - if ( memory ) { - list = []; - - // Otherwise, this object is spent - } else { - list = ""; - } - } - }, - - // Actual Callbacks object - self = { - - // Add a callback or a collection of callbacks to the list - add: function() { - if ( list ) { - - // If we have memory from a past run, we should fire after adding - if ( memory && !firing ) { - firingIndex = list.length - 1; - queue.push( memory ); - } - - ( function add( args ) { - jQuery.each( args, function( _, arg ) { - if ( isFunction( arg ) ) { - if ( !options.unique || !self.has( arg ) ) { - list.push( arg ); - } - } else if ( arg && arg.length && toType( arg ) !== "string" ) { - - // Inspect recursively - add( arg ); - } - } ); - } )( arguments ); - - if ( memory && !firing ) { - fire(); - } - } - return this; - }, - - // Remove a callback from the list - remove: function() { - jQuery.each( arguments, function( _, arg ) { - var index; - while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { - list.splice( index, 1 ); - - // Handle firing indexes - if ( index <= firingIndex ) { - firingIndex--; - } - } - } ); - return this; - }, - - // Check if a given callback is in the list. - // If no argument is given, return whether or not list has callbacks attached. - has: function( fn ) { - return fn ? - jQuery.inArray( fn, list ) > -1 : - list.length > 0; - }, - - // Remove all callbacks from the list - empty: function() { - if ( list ) { - list = []; - } - return this; - }, - - // Disable .fire and .add - // Abort any current/pending executions - // Clear all callbacks and values - disable: function() { - locked = queue = []; - list = memory = ""; - return this; - }, - disabled: function() { - return !list; - }, - - // Disable .fire - // Also disable .add unless we have memory (since it would have no effect) - // Abort any pending executions - lock: function() { - locked = queue = []; - if ( !memory && !firing ) { - list = memory = ""; - } - return this; - }, - locked: function() { - return !!locked; - }, - - // Call all callbacks with the given context and arguments - fireWith: function( context, args ) { - if ( !locked ) { - args = args || []; - args = [ context, args.slice ? args.slice() : args ]; - queue.push( args ); - if ( !firing ) { - fire(); - } - } - return this; - }, - - // Call all the callbacks with the given arguments - fire: function() { - self.fireWith( this, arguments ); - return this; - }, - - // To know if the callbacks have already been called at least once - fired: function() { - return !!fired; - } - }; - - return self; -}; - - -function Identity( v ) { - return v; -} -function Thrower( ex ) { - throw ex; -} - -function adoptValue( value, resolve, reject, noValue ) { - var method; - - try { - - // Check for promise aspect first to privilege synchronous behavior - if ( value && isFunction( ( method = value.promise ) ) ) { - method.call( value ).done( resolve ).fail( reject ); - - // Other thenables - } else if ( value && isFunction( ( method = value.then ) ) ) { - method.call( value, resolve, reject ); - - // Other non-thenables - } else { - - // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: - // * false: [ value ].slice( 0 ) => resolve( value ) - // * true: [ value ].slice( 1 ) => resolve() - resolve.apply( undefined, [ value ].slice( noValue ) ); - } - - // For Promises/A+, convert exceptions into rejections - // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in - // Deferred#then to conditionally suppress rejection. - } catch ( value ) { - - // Support: Android 4.0 only - // Strict mode functions invoked without .call/.apply get global-object context - reject.apply( undefined, [ value ] ); - } -} - -jQuery.extend( { - - Deferred: function( func ) { - var tuples = [ - - // action, add listener, callbacks, - // ... .then handlers, argument index, [final state] - [ "notify", "progress", jQuery.Callbacks( "memory" ), - jQuery.Callbacks( "memory" ), 2 ], - [ "resolve", "done", jQuery.Callbacks( "once memory" ), - jQuery.Callbacks( "once memory" ), 0, "resolved" ], - [ "reject", "fail", jQuery.Callbacks( "once memory" ), - jQuery.Callbacks( "once memory" ), 1, "rejected" ] - ], - state = "pending", - promise = { - state: function() { - return state; - }, - always: function() { - deferred.done( arguments ).fail( arguments ); - return this; - }, - "catch": function( fn ) { - return promise.then( null, fn ); - }, - - // Keep pipe for back-compat - pipe: function( /* fnDone, fnFail, fnProgress */ ) { - var fns = arguments; - - return jQuery.Deferred( function( newDefer ) { - jQuery.each( tuples, function( _i, tuple ) { - - // Map tuples (progress, done, fail) to arguments (done, fail, progress) - var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; - - // deferred.progress(function() { bind to newDefer or newDefer.notify }) - // deferred.done(function() { bind to newDefer or newDefer.resolve }) - // deferred.fail(function() { bind to newDefer or newDefer.reject }) - deferred[ tuple[ 1 ] ]( function() { - var returned = fn && fn.apply( this, arguments ); - if ( returned && isFunction( returned.promise ) ) { - returned.promise() - .progress( newDefer.notify ) - .done( newDefer.resolve ) - .fail( newDefer.reject ); - } else { - newDefer[ tuple[ 0 ] + "With" ]( - this, - fn ? [ returned ] : arguments - ); - } - } ); - } ); - fns = null; - } ).promise(); - }, - then: function( onFulfilled, onRejected, onProgress ) { - var maxDepth = 0; - function resolve( depth, deferred, handler, special ) { - return function() { - var that = this, - args = arguments, - mightThrow = function() { - var returned, then; - - // Support: Promises/A+ section 2.3.3.3.3 - // https://promisesaplus.com/#point-59 - // Ignore double-resolution attempts - if ( depth < maxDepth ) { - return; - } - - returned = handler.apply( that, args ); - - // Support: Promises/A+ section 2.3.1 - // https://promisesaplus.com/#point-48 - if ( returned === deferred.promise() ) { - throw new TypeError( "Thenable self-resolution" ); - } - - // Support: Promises/A+ sections 2.3.3.1, 3.5 - // https://promisesaplus.com/#point-54 - // https://promisesaplus.com/#point-75 - // Retrieve `then` only once - then = returned && - - // Support: Promises/A+ section 2.3.4 - // https://promisesaplus.com/#point-64 - // Only check objects and functions for thenability - ( typeof returned === "object" || - typeof returned === "function" ) && - returned.then; - - // Handle a returned thenable - if ( isFunction( then ) ) { - - // Special processors (notify) just wait for resolution - if ( special ) { - then.call( - returned, - resolve( maxDepth, deferred, Identity, special ), - resolve( maxDepth, deferred, Thrower, special ) - ); - - // Normal processors (resolve) also hook into progress - } else { - - // ...and disregard older resolution values - maxDepth++; - - then.call( - returned, - resolve( maxDepth, deferred, Identity, special ), - resolve( maxDepth, deferred, Thrower, special ), - resolve( maxDepth, deferred, Identity, - deferred.notifyWith ) - ); - } - - // Handle all other returned values - } else { - - // Only substitute handlers pass on context - // and multiple values (non-spec behavior) - if ( handler !== Identity ) { - that = undefined; - args = [ returned ]; - } - - // Process the value(s) - // Default process is resolve - ( special || deferred.resolveWith )( that, args ); - } - }, - - // Only normal processors (resolve) catch and reject exceptions - process = special ? - mightThrow : - function() { - try { - mightThrow(); - } catch ( e ) { - - if ( jQuery.Deferred.exceptionHook ) { - jQuery.Deferred.exceptionHook( e, - process.stackTrace ); - } - - // Support: Promises/A+ section 2.3.3.3.4.1 - // https://promisesaplus.com/#point-61 - // Ignore post-resolution exceptions - if ( depth + 1 >= maxDepth ) { - - // Only substitute handlers pass on context - // and multiple values (non-spec behavior) - if ( handler !== Thrower ) { - that = undefined; - args = [ e ]; - } - - deferred.rejectWith( that, args ); - } - } - }; - - // Support: Promises/A+ section 2.3.3.3.1 - // https://promisesaplus.com/#point-57 - // Re-resolve promises immediately to dodge false rejection from - // subsequent errors - if ( depth ) { - process(); - } else { - - // Call an optional hook to record the stack, in case of exception - // since it's otherwise lost when execution goes async - if ( jQuery.Deferred.getStackHook ) { - process.stackTrace = jQuery.Deferred.getStackHook(); - } - window.setTimeout( process ); - } - }; - } - - return jQuery.Deferred( function( newDefer ) { - - // progress_handlers.add( ... ) - tuples[ 0 ][ 3 ].add( - resolve( - 0, - newDefer, - isFunction( onProgress ) ? - onProgress : - Identity, - newDefer.notifyWith - ) - ); - - // fulfilled_handlers.add( ... ) - tuples[ 1 ][ 3 ].add( - resolve( - 0, - newDefer, - isFunction( onFulfilled ) ? - onFulfilled : - Identity - ) - ); - - // rejected_handlers.add( ... ) - tuples[ 2 ][ 3 ].add( - resolve( - 0, - newDefer, - isFunction( onRejected ) ? - onRejected : - Thrower - ) - ); - } ).promise(); - }, - - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - return obj != null ? jQuery.extend( obj, promise ) : promise; - } - }, - deferred = {}; - - // Add list-specific methods - jQuery.each( tuples, function( i, tuple ) { - var list = tuple[ 2 ], - stateString = tuple[ 5 ]; - - // promise.progress = list.add - // promise.done = list.add - // promise.fail = list.add - promise[ tuple[ 1 ] ] = list.add; - - // Handle state - if ( stateString ) { - list.add( - function() { - - // state = "resolved" (i.e., fulfilled) - // state = "rejected" - state = stateString; - }, - - // rejected_callbacks.disable - // fulfilled_callbacks.disable - tuples[ 3 - i ][ 2 ].disable, - - // rejected_handlers.disable - // fulfilled_handlers.disable - tuples[ 3 - i ][ 3 ].disable, - - // progress_callbacks.lock - tuples[ 0 ][ 2 ].lock, - - // progress_handlers.lock - tuples[ 0 ][ 3 ].lock - ); - } - - // progress_handlers.fire - // fulfilled_handlers.fire - // rejected_handlers.fire - list.add( tuple[ 3 ].fire ); - - // deferred.notify = function() { deferred.notifyWith(...) } - // deferred.resolve = function() { deferred.resolveWith(...) } - // deferred.reject = function() { deferred.rejectWith(...) } - deferred[ tuple[ 0 ] ] = function() { - deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); - return this; - }; - - // deferred.notifyWith = list.fireWith - // deferred.resolveWith = list.fireWith - // deferred.rejectWith = list.fireWith - deferred[ tuple[ 0 ] + "With" ] = list.fireWith; - } ); - - // Make the deferred a promise - promise.promise( deferred ); - - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function( singleValue ) { - var - - // count of uncompleted subordinates - remaining = arguments.length, - - // count of unprocessed arguments - i = remaining, - - // subordinate fulfillment data - resolveContexts = Array( i ), - resolveValues = slice.call( arguments ), - - // the master Deferred - master = jQuery.Deferred(), - - // subordinate callback factory - updateFunc = function( i ) { - return function( value ) { - resolveContexts[ i ] = this; - resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; - if ( !( --remaining ) ) { - master.resolveWith( resolveContexts, resolveValues ); - } - }; - }; - - // Single- and empty arguments are adopted like Promise.resolve - if ( remaining <= 1 ) { - adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, - !remaining ); - - // Use .then() to unwrap secondary thenables (cf. gh-3000) - if ( master.state() === "pending" || - isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { - - return master.then(); - } - } - - // Multiple arguments are aggregated like Promise.all array elements - while ( i-- ) { - adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); - } - - return master.promise(); - } -} ); - - -// These usually indicate a programmer mistake during development, -// warn about them ASAP rather than swallowing them by default. -var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; - -jQuery.Deferred.exceptionHook = function( error, stack ) { - - // Support: IE 8 - 9 only - // Console exists when dev tools are open, which can happen at any time - if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { - window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); - } -}; - - - - -jQuery.readyException = function( error ) { - window.setTimeout( function() { - throw error; - } ); -}; - - - - -// The deferred used on DOM ready -var readyList = jQuery.Deferred(); - -jQuery.fn.ready = function( fn ) { - - readyList - .then( fn ) - - // Wrap jQuery.readyException in a function so that the lookup - // happens at the time of error handling instead of callback - // registration. - .catch( function( error ) { - jQuery.readyException( error ); - } ); - - return this; -}; - -jQuery.extend( { - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Handle when the DOM is ready - ready: function( wait ) { - - // Abort if there are pending holds or we're already ready - if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { - return; - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith( document, [ jQuery ] ); - } -} ); - -jQuery.ready.then = readyList.then; - -// The ready event handler and self cleanup method -function completed() { - document.removeEventListener( "DOMContentLoaded", completed ); - window.removeEventListener( "load", completed ); - jQuery.ready(); -} - -// Catch cases where $(document).ready() is called -// after the browser event has already occurred. -// Support: IE <=9 - 10 only -// Older IE sometimes signals "interactive" too soon -if ( document.readyState === "complete" || - ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { - - // Handle it asynchronously to allow scripts the opportunity to delay ready - window.setTimeout( jQuery.ready ); - -} else { - - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", completed ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", completed ); -} - - - - -// Multifunctional method to get and set values of a collection -// The value/s can optionally be executed if it's a function -var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { - var i = 0, - len = elems.length, - bulk = key == null; - - // Sets many values - if ( toType( key ) === "object" ) { - chainable = true; - for ( i in key ) { - access( elems, fn, i, key[ i ], true, emptyGet, raw ); - } - - // Sets one value - } else if ( value !== undefined ) { - chainable = true; - - if ( !isFunction( value ) ) { - raw = true; - } - - if ( bulk ) { - - // Bulk operations run against the entire set - if ( raw ) { - fn.call( elems, value ); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function( elem, _key, value ) { - return bulk.call( jQuery( elem ), value ); - }; - } - } - - if ( fn ) { - for ( ; i < len; i++ ) { - fn( - elems[ i ], key, raw ? - value : - value.call( elems[ i ], i, fn( elems[ i ], key ) ) - ); - } - } - } - - if ( chainable ) { - return elems; - } - - // Gets - if ( bulk ) { - return fn.call( elems ); - } - - return len ? fn( elems[ 0 ], key ) : emptyGet; -}; - - -// Matches dashed string for camelizing -var rmsPrefix = /^-ms-/, - rdashAlpha = /-([a-z])/g; - -// Used by camelCase as callback to replace() -function fcamelCase( _all, letter ) { - return letter.toUpperCase(); -} - -// Convert dashed to camelCase; used by the css and data modules -// Support: IE <=9 - 11, Edge 12 - 15 -// Microsoft forgot to hump their vendor prefix (#9572) -function camelCase( string ) { - return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); -} -var acceptData = function( owner ) { - - // Accepts only: - // - Node - // - Node.ELEMENT_NODE - // - Node.DOCUMENT_NODE - // - Object - // - Any - return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); -}; - - - - -function Data() { - this.expando = jQuery.expando + Data.uid++; -} - -Data.uid = 1; - -Data.prototype = { - - cache: function( owner ) { - - // Check if the owner object already has a cache - var value = owner[ this.expando ]; - - // If not, create one - if ( !value ) { - value = {}; - - // We can accept data for non-element nodes in modern browsers, - // but we should not, see #8335. - // Always return an empty object. - if ( acceptData( owner ) ) { - - // If it is a node unlikely to be stringify-ed or looped over - // use plain assignment - if ( owner.nodeType ) { - owner[ this.expando ] = value; - - // Otherwise secure it in a non-enumerable property - // configurable must be true to allow the property to be - // deleted when data is removed - } else { - Object.defineProperty( owner, this.expando, { - value: value, - configurable: true - } ); - } - } - } - - return value; - }, - set: function( owner, data, value ) { - var prop, - cache = this.cache( owner ); - - // Handle: [ owner, key, value ] args - // Always use camelCase key (gh-2257) - if ( typeof data === "string" ) { - cache[ camelCase( data ) ] = value; - - // Handle: [ owner, { properties } ] args - } else { - - // Copy the properties one-by-one to the cache object - for ( prop in data ) { - cache[ camelCase( prop ) ] = data[ prop ]; - } - } - return cache; - }, - get: function( owner, key ) { - return key === undefined ? - this.cache( owner ) : - - // Always use camelCase key (gh-2257) - owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; - }, - access: function( owner, key, value ) { - - // In cases where either: - // - // 1. No key was specified - // 2. A string key was specified, but no value provided - // - // Take the "read" path and allow the get method to determine - // which value to return, respectively either: - // - // 1. The entire cache object - // 2. The data stored at the key - // - if ( key === undefined || - ( ( key && typeof key === "string" ) && value === undefined ) ) { - - return this.get( owner, key ); - } - - // When the key is not a string, or both a key and value - // are specified, set or extend (existing objects) with either: - // - // 1. An object of properties - // 2. A key and value - // - this.set( owner, key, value ); - - // Since the "set" path can have two possible entry points - // return the expected data based on which path was taken[*] - return value !== undefined ? value : key; - }, - remove: function( owner, key ) { - var i, - cache = owner[ this.expando ]; - - if ( cache === undefined ) { - return; - } - - if ( key !== undefined ) { - - // Support array or space separated string of keys - if ( Array.isArray( key ) ) { - - // If key is an array of keys... - // We always set camelCase keys, so remove that. - key = key.map( camelCase ); - } else { - key = camelCase( key ); - - // If a key with the spaces exists, use it. - // Otherwise, create an array by matching non-whitespace - key = key in cache ? - [ key ] : - ( key.match( rnothtmlwhite ) || [] ); - } - - i = key.length; - - while ( i-- ) { - delete cache[ key[ i ] ]; - } - } - - // Remove the expando if there's no more data - if ( key === undefined || jQuery.isEmptyObject( cache ) ) { - - // Support: Chrome <=35 - 45 - // Webkit & Blink performance suffers when deleting properties - // from DOM nodes, so set to undefined instead - // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) - if ( owner.nodeType ) { - owner[ this.expando ] = undefined; - } else { - delete owner[ this.expando ]; - } - } - }, - hasData: function( owner ) { - var cache = owner[ this.expando ]; - return cache !== undefined && !jQuery.isEmptyObject( cache ); - } -}; -var dataPriv = new Data(); - -var dataUser = new Data(); - - - -// Implementation Summary -// -// 1. Enforce API surface and semantic compatibility with 1.9.x branch -// 2. Improve the module's maintainability by reducing the storage -// paths to a single mechanism. -// 3. Use the same single mechanism to support "private" and "user" data. -// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) -// 5. Avoid exposing implementation details on user objects (eg. expando properties) -// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 - -var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, - rmultiDash = /[A-Z]/g; - -function getData( data ) { - if ( data === "true" ) { - return true; - } - - if ( data === "false" ) { - return false; - } - - if ( data === "null" ) { - return null; - } - - // Only convert to a number if it doesn't change the string - if ( data === +data + "" ) { - return +data; - } - - if ( rbrace.test( data ) ) { - return JSON.parse( data ); - } - - return data; -} - -function dataAttr( elem, key, data ) { - var name; - - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = getData( data ); - } catch ( e ) {} - - // Make sure we set the data so it isn't changed later - dataUser.set( elem, key, data ); - } else { - data = undefined; - } - } - return data; -} - -jQuery.extend( { - hasData: function( elem ) { - return dataUser.hasData( elem ) || dataPriv.hasData( elem ); - }, - - data: function( elem, name, data ) { - return dataUser.access( elem, name, data ); - }, - - removeData: function( elem, name ) { - dataUser.remove( elem, name ); - }, - - // TODO: Now that all calls to _data and _removeData have been replaced - // with direct calls to dataPriv methods, these can be deprecated. - _data: function( elem, name, data ) { - return dataPriv.access( elem, name, data ); - }, - - _removeData: function( elem, name ) { - dataPriv.remove( elem, name ); - } -} ); - -jQuery.fn.extend( { - data: function( key, value ) { - var i, name, data, - elem = this[ 0 ], - attrs = elem && elem.attributes; - - // Gets all values - if ( key === undefined ) { - if ( this.length ) { - data = dataUser.get( elem ); - - if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { - i = attrs.length; - while ( i-- ) { - - // Support: IE 11 only - // The attrs elements can be null (#14894) - if ( attrs[ i ] ) { - name = attrs[ i ].name; - if ( name.indexOf( "data-" ) === 0 ) { - name = camelCase( name.slice( 5 ) ); - dataAttr( elem, name, data[ name ] ); - } - } - } - dataPriv.set( elem, "hasDataAttrs", true ); - } - } - - return data; - } - - // Sets multiple values - if ( typeof key === "object" ) { - return this.each( function() { - dataUser.set( this, key ); - } ); - } - - return access( this, function( value ) { - var data; - - // The calling jQuery object (element matches) is not empty - // (and therefore has an element appears at this[ 0 ]) and the - // `value` parameter was not undefined. An empty jQuery object - // will result in `undefined` for elem = this[ 0 ] which will - // throw an exception if an attempt to read a data cache is made. - if ( elem && value === undefined ) { - - // Attempt to get data from the cache - // The key will always be camelCased in Data - data = dataUser.get( elem, key ); - if ( data !== undefined ) { - return data; - } - - // Attempt to "discover" the data in - // HTML5 custom data-* attrs - data = dataAttr( elem, key ); - if ( data !== undefined ) { - return data; - } - - // We tried really hard, but the data doesn't exist. - return; - } - - // Set the data... - this.each( function() { - - // We always store the camelCased key - dataUser.set( this, key, value ); - } ); - }, null, value, arguments.length > 1, null, true ); - }, - - removeData: function( key ) { - return this.each( function() { - dataUser.remove( this, key ); - } ); - } -} ); - - -jQuery.extend( { - queue: function( elem, type, data ) { - var queue; - - if ( elem ) { - type = ( type || "fx" ) + "queue"; - queue = dataPriv.get( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !queue || Array.isArray( data ) ) { - queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); - } else { - queue.push( data ); - } - } - return queue || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks( elem, type ), - next = function() { - jQuery.dequeue( elem, type ); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - startLength--; - } - - if ( fn ) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift( "inprogress" ); - } - - // Clear up the last queue stop function - delete hooks.stop; - fn.call( elem, next, hooks ); - } - - if ( !startLength && hooks ) { - hooks.empty.fire(); - } - }, - - // Not public - generate a queueHooks object, or return the current one - _queueHooks: function( elem, type ) { - var key = type + "queueHooks"; - return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { - empty: jQuery.Callbacks( "once memory" ).add( function() { - dataPriv.remove( elem, [ type + "queue", key ] ); - } ) - } ); - } -} ); - -jQuery.fn.extend( { - queue: function( type, data ) { - var setter = 2; - - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - setter--; - } - - if ( arguments.length < setter ) { - return jQuery.queue( this[ 0 ], type ); - } - - return data === undefined ? - this : - this.each( function() { - var queue = jQuery.queue( this, type, data ); - - // Ensure a hooks for this queue - jQuery._queueHooks( this, type ); - - if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - } ); - }, - dequeue: function( type ) { - return this.each( function() { - jQuery.dequeue( this, type ); - } ); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, obj ) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - }; - - if ( typeof type !== "string" ) { - obj = type; - type = undefined; - } - type = type || "fx"; - - while ( i-- ) { - tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); - if ( tmp && tmp.empty ) { - count++; - tmp.empty.add( resolve ); - } - } - resolve(); - return defer.promise( obj ); - } -} ); -var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; - -var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); - - -var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; - -var documentElement = document.documentElement; - - - - var isAttached = function( elem ) { - return jQuery.contains( elem.ownerDocument, elem ); - }, - composed = { composed: true }; - - // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only - // Check attachment across shadow DOM boundaries when possible (gh-3504) - // Support: iOS 10.0-10.2 only - // Early iOS 10 versions support `attachShadow` but not `getRootNode`, - // leading to errors. We need to check for `getRootNode`. - if ( documentElement.getRootNode ) { - isAttached = function( elem ) { - return jQuery.contains( elem.ownerDocument, elem ) || - elem.getRootNode( composed ) === elem.ownerDocument; - }; - } -var isHiddenWithinTree = function( elem, el ) { - - // isHiddenWithinTree might be called from jQuery#filter function; - // in that case, element will be second argument - elem = el || elem; - - // Inline style trumps all - return elem.style.display === "none" || - elem.style.display === "" && - - // Otherwise, check computed style - // Support: Firefox <=43 - 45 - // Disconnected elements can have computed display: none, so first confirm that elem is - // in the document. - isAttached( elem ) && - - jQuery.css( elem, "display" ) === "none"; - }; - - - -function adjustCSS( elem, prop, valueParts, tween ) { - var adjusted, scale, - maxIterations = 20, - currentValue = tween ? - function() { - return tween.cur(); - } : - function() { - return jQuery.css( elem, prop, "" ); - }, - initial = currentValue(), - unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), - - // Starting value computation is required for potential unit mismatches - initialInUnit = elem.nodeType && - ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && - rcssNum.exec( jQuery.css( elem, prop ) ); - - if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { - - // Support: Firefox <=54 - // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) - initial = initial / 2; - - // Trust units reported by jQuery.css - unit = unit || initialInUnit[ 3 ]; - - // Iteratively approximate from a nonzero starting point - initialInUnit = +initial || 1; - - while ( maxIterations-- ) { - - // Evaluate and update our best guess (doubling guesses that zero out). - // Finish if the scale equals or crosses 1 (making the old*new product non-positive). - jQuery.style( elem, prop, initialInUnit + unit ); - if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { - maxIterations = 0; - } - initialInUnit = initialInUnit / scale; - - } - - initialInUnit = initialInUnit * 2; - jQuery.style( elem, prop, initialInUnit + unit ); - - // Make sure we update the tween properties later on - valueParts = valueParts || []; - } - - if ( valueParts ) { - initialInUnit = +initialInUnit || +initial || 0; - - // Apply relative offset (+=/-=) if specified - adjusted = valueParts[ 1 ] ? - initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : - +valueParts[ 2 ]; - if ( tween ) { - tween.unit = unit; - tween.start = initialInUnit; - tween.end = adjusted; - } - } - return adjusted; -} - - -var defaultDisplayMap = {}; - -function getDefaultDisplay( elem ) { - var temp, - doc = elem.ownerDocument, - nodeName = elem.nodeName, - display = defaultDisplayMap[ nodeName ]; - - if ( display ) { - return display; - } - - temp = doc.body.appendChild( doc.createElement( nodeName ) ); - display = jQuery.css( temp, "display" ); - - temp.parentNode.removeChild( temp ); - - if ( display === "none" ) { - display = "block"; - } - defaultDisplayMap[ nodeName ] = display; - - return display; -} - -function showHide( elements, show ) { - var display, elem, - values = [], - index = 0, - length = elements.length; - - // Determine new display value for elements that need to change - for ( ; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - - display = elem.style.display; - if ( show ) { - - // Since we force visibility upon cascade-hidden elements, an immediate (and slow) - // check is required in this first loop unless we have a nonempty display value (either - // inline or about-to-be-restored) - if ( display === "none" ) { - values[ index ] = dataPriv.get( elem, "display" ) || null; - if ( !values[ index ] ) { - elem.style.display = ""; - } - } - if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { - values[ index ] = getDefaultDisplay( elem ); - } - } else { - if ( display !== "none" ) { - values[ index ] = "none"; - - // Remember what we're overwriting - dataPriv.set( elem, "display", display ); - } - } - } - - // Set the display of the elements in a second loop to avoid constant reflow - for ( index = 0; index < length; index++ ) { - if ( values[ index ] != null ) { - elements[ index ].style.display = values[ index ]; - } - } - - return elements; -} - -jQuery.fn.extend( { - show: function() { - return showHide( this, true ); - }, - hide: function() { - return showHide( this ); - }, - toggle: function( state ) { - if ( typeof state === "boolean" ) { - return state ? this.show() : this.hide(); - } - - return this.each( function() { - if ( isHiddenWithinTree( this ) ) { - jQuery( this ).show(); - } else { - jQuery( this ).hide(); - } - } ); - } -} ); -var rcheckableType = ( /^(?:checkbox|radio)$/i ); - -var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); - -var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); - - - -( function() { - var fragment = document.createDocumentFragment(), - div = fragment.appendChild( document.createElement( "div" ) ), - input = document.createElement( "input" ); - - // Support: Android 4.0 - 4.3 only - // Check state lost if the name is set (#11217) - // Support: Windows Web Apps (WWA) - // `name` and `type` must use .setAttribute for WWA (#14901) - input.setAttribute( "type", "radio" ); - input.setAttribute( "checked", "checked" ); - input.setAttribute( "name", "t" ); - - div.appendChild( input ); - - // Support: Android <=4.1 only - // Older WebKit doesn't clone checked state correctly in fragments - support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; - - // Support: IE <=11 only - // Make sure textarea (and checkbox) defaultValue is properly cloned - div.innerHTML = ""; - support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; - - // Support: IE <=9 only - // IE <=9 replaces "; - support.option = !!div.lastChild; -} )(); - - -// We have to close these tags to support XHTML (#13200) -var wrapMap = { - - // XHTML parsers do not magically insert elements in the - // same way that tag soup parsers do. So we cannot shorten - // this by omitting or other required elements. - thead: [ 1, "", "
    " ], - col: [ 2, "", "
    " ], - tr: [ 2, "", "
    " ], - td: [ 3, "", "
    " ], - - _default: [ 0, "", "" ] -}; - -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - -// Support: IE <=9 only -if ( !support.option ) { - wrapMap.optgroup = wrapMap.option = [ 1, "" ]; -} - - -function getAll( context, tag ) { - - // Support: IE <=9 - 11 only - // Use typeof to avoid zero-argument method invocation on host objects (#15151) - var ret; - - if ( typeof context.getElementsByTagName !== "undefined" ) { - ret = context.getElementsByTagName( tag || "*" ); - - } else if ( typeof context.querySelectorAll !== "undefined" ) { - ret = context.querySelectorAll( tag || "*" ); - - } else { - ret = []; - } - - if ( tag === undefined || tag && nodeName( context, tag ) ) { - return jQuery.merge( [ context ], ret ); - } - - return ret; -} - - -// Mark scripts as having already been evaluated -function setGlobalEval( elems, refElements ) { - var i = 0, - l = elems.length; - - for ( ; i < l; i++ ) { - dataPriv.set( - elems[ i ], - "globalEval", - !refElements || dataPriv.get( refElements[ i ], "globalEval" ) - ); - } -} - - -var rhtml = /<|&#?\w+;/; - -function buildFragment( elems, context, scripts, selection, ignored ) { - var elem, tmp, tag, wrap, attached, j, - fragment = context.createDocumentFragment(), - nodes = [], - i = 0, - l = elems.length; - - for ( ; i < l; i++ ) { - elem = elems[ i ]; - - if ( elem || elem === 0 ) { - - // Add nodes directly - if ( toType( elem ) === "object" ) { - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); - - // Convert non-html into a text node - } else if ( !rhtml.test( elem ) ) { - nodes.push( context.createTextNode( elem ) ); - - // Convert html into DOM nodes - } else { - tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); - - // Deserialize a standard representation - tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); - wrap = wrapMap[ tag ] || wrapMap._default; - tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; - - // Descend through wrappers to the right content - j = wrap[ 0 ]; - while ( j-- ) { - tmp = tmp.lastChild; - } - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( nodes, tmp.childNodes ); - - // Remember the top-level container - tmp = fragment.firstChild; - - // Ensure the created nodes are orphaned (#12392) - tmp.textContent = ""; - } - } - } - - // Remove wrapper from fragment - fragment.textContent = ""; - - i = 0; - while ( ( elem = nodes[ i++ ] ) ) { - - // Skip elements already in the context collection (trac-4087) - if ( selection && jQuery.inArray( elem, selection ) > -1 ) { - if ( ignored ) { - ignored.push( elem ); - } - continue; - } - - attached = isAttached( elem ); - - // Append to fragment - tmp = getAll( fragment.appendChild( elem ), "script" ); - - // Preserve script evaluation history - if ( attached ) { - setGlobalEval( tmp ); - } - - // Capture executables - if ( scripts ) { - j = 0; - while ( ( elem = tmp[ j++ ] ) ) { - if ( rscriptType.test( elem.type || "" ) ) { - scripts.push( elem ); - } - } - } - } - - return fragment; -} - - -var - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)/; - -function returnTrue() { - return true; -} - -function returnFalse() { - return false; -} - -// Support: IE <=9 - 11+ -// focus() and blur() are asynchronous, except when they are no-op. -// So expect focus to be synchronous when the element is already active, -// and blur to be synchronous when the element is not already active. -// (focus and blur are always synchronous in other supported browsers, -// this just defines when we can count on it). -function expectSync( elem, type ) { - return ( elem === safeActiveElement() ) === ( type === "focus" ); -} - -// Support: IE <=9 only -// Accessing document.activeElement can throw unexpectedly -// https://bugs.jquery.com/ticket/13393 -function safeActiveElement() { - try { - return document.activeElement; - } catch ( err ) { } -} - -function on( elem, types, selector, data, fn, one ) { - var origFn, type; - - // Types can be a map of types/handlers - if ( typeof types === "object" ) { - - // ( types-Object, selector, data ) - if ( typeof selector !== "string" ) { - - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for ( type in types ) { - on( elem, type, selector, data, types[ type ], one ); - } - return elem; - } - - if ( data == null && fn == null ) { - - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if ( fn == null ) { - if ( typeof selector === "string" ) { - - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if ( fn === false ) { - fn = returnFalse; - } else if ( !fn ) { - return elem; - } - - if ( one === 1 ) { - origFn = fn; - fn = function( event ) { - - // Can use an empty set, since event contains the info - jQuery().off( event ); - return origFn.apply( this, arguments ); - }; - - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); - } - return elem.each( function() { - jQuery.event.add( this, types, fn, data, selector ); - } ); -} - -/* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ -jQuery.event = { - - global: {}, - - add: function( elem, types, handler, data, selector ) { - - var handleObjIn, eventHandle, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = dataPriv.get( elem ); - - // Only attach events to objects that accept data - if ( !acceptData( elem ) ) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Ensure that invalid selectors throw exceptions at attach time - // Evaluate against documentElement in case elem is a non-element node (e.g., document) - if ( selector ) { - jQuery.find.matchesSelector( documentElement, selector ); - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if ( !( events = elemData.events ) ) { - events = elemData.events = Object.create( null ); - } - if ( !( eventHandle = elemData.handle ) ) { - eventHandle = elemData.handle = function( e ) { - - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? - jQuery.event.dispatch.apply( elem, arguments ) : undefined; - }; - } - - // Handle multiple events separated by a space - types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[ t ] ) || []; - type = origType = tmp[ 1 ]; - namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); - - // There *must* be a type, no attaching namespace-only handlers - if ( !type ) { - continue; - } - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[ type ] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = ( selector ? special.delegateType : special.bindType ) || type; - - // Update special based on newly reset type - special = jQuery.event.special[ type ] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend( { - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test( selector ), - namespace: namespaces.join( "." ) - }, handleObjIn ); - - // Init the event handler queue if we're the first - if ( !( handlers = events[ type ] ) ) { - handlers = events[ type ] = []; - handlers.delegateCount = 0; - - // Only use addEventListener if the special events handler returns false - if ( !special.setup || - special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if ( selector ) { - handlers.splice( handlers.delegateCount++, 0, handleObj ); - } else { - handlers.push( handleObj ); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[ type ] = true; - } - - }, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, selector, mappedTypes ) { - - var j, origCount, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); - - if ( !elemData || !( events = elemData.events ) ) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[ t ] ) || []; - type = origType = tmp[ 1 ]; - namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); - - // Unbind all events (on this namespace, if provided) for the element - if ( !type ) { - for ( type in events ) { - jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); - } - continue; - } - - special = jQuery.event.special[ type ] || {}; - type = ( selector ? special.delegateType : special.bindType ) || type; - handlers = events[ type ] || []; - tmp = tmp[ 2 ] && - new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); - - // Remove matching events - origCount = j = handlers.length; - while ( j-- ) { - handleObj = handlers[ j ]; - - if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !tmp || tmp.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || - selector === "**" && handleObj.selector ) ) { - handlers.splice( j, 1 ); - - if ( handleObj.selector ) { - handlers.delegateCount--; - } - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if ( origCount && !handlers.length ) { - if ( !special.teardown || - special.teardown.call( elem, namespaces, elemData.handle ) === false ) { - - jQuery.removeEvent( elem, type, elemData.handle ); - } - - delete events[ type ]; - } - } - - // Remove data and the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - dataPriv.remove( elem, "handle events" ); - } - }, - - dispatch: function( nativeEvent ) { - - var i, j, ret, matched, handleObj, handlerQueue, - args = new Array( arguments.length ), - - // Make a writable jQuery.Event from the native event object - event = jQuery.event.fix( nativeEvent ), - - handlers = ( - dataPriv.get( this, "events" ) || Object.create( null ) - )[ event.type ] || [], - special = jQuery.event.special[ event.type ] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[ 0 ] = event; - - for ( i = 1; i < arguments.length; i++ ) { - args[ i ] = arguments[ i ]; - } - - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call( this, event, handlers ); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { - event.currentTarget = matched.elem; - - j = 0; - while ( ( handleObj = matched.handlers[ j++ ] ) && - !event.isImmediatePropagationStopped() ) { - - // If the event is namespaced, then each handler is only invoked if it is - // specially universal or its namespaces are a superset of the event's. - if ( !event.rnamespace || handleObj.namespace === false || - event.rnamespace.test( handleObj.namespace ) ) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || - handleObj.handler ).apply( matched.elem, args ); - - if ( ret !== undefined ) { - if ( ( event.result = ret ) === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if ( special.postDispatch ) { - special.postDispatch.call( this, event ); - } - - return event.result; - }, - - handlers: function( event, handlers ) { - var i, handleObj, sel, matchedHandlers, matchedSelectors, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Find delegate handlers - if ( delegateCount && - - // Support: IE <=9 - // Black-hole SVG instance trees (trac-13180) - cur.nodeType && - - // Support: Firefox <=42 - // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) - // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click - // Support: IE 11 only - // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) - !( event.type === "click" && event.button >= 1 ) ) { - - for ( ; cur !== this; cur = cur.parentNode || this ) { - - // Don't check non-elements (#13208) - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { - matchedHandlers = []; - matchedSelectors = {}; - for ( i = 0; i < delegateCount; i++ ) { - handleObj = handlers[ i ]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if ( matchedSelectors[ sel ] === undefined ) { - matchedSelectors[ sel ] = handleObj.needsContext ? - jQuery( sel, this ).index( cur ) > -1 : - jQuery.find( sel, this, null, [ cur ] ).length; - } - if ( matchedSelectors[ sel ] ) { - matchedHandlers.push( handleObj ); - } - } - if ( matchedHandlers.length ) { - handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); - } - } - } - } - - // Add the remaining (directly-bound) handlers - cur = this; - if ( delegateCount < handlers.length ) { - handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); - } - - return handlerQueue; - }, - - addProp: function( name, hook ) { - Object.defineProperty( jQuery.Event.prototype, name, { - enumerable: true, - configurable: true, - - get: isFunction( hook ) ? - function() { - if ( this.originalEvent ) { - return hook( this.originalEvent ); - } - } : - function() { - if ( this.originalEvent ) { - return this.originalEvent[ name ]; - } - }, - - set: function( value ) { - Object.defineProperty( this, name, { - enumerable: true, - configurable: true, - writable: true, - value: value - } ); - } - } ); - }, - - fix: function( originalEvent ) { - return originalEvent[ jQuery.expando ] ? - originalEvent : - new jQuery.Event( originalEvent ); - }, - - special: { - load: { - - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - click: { - - // Utilize native event to ensure correct state for checkable inputs - setup: function( data ) { - - // For mutual compressibility with _default, replace `this` access with a local var. - // `|| data` is dead code meant only to preserve the variable through minification. - var el = this || data; - - // Claim the first handler - if ( rcheckableType.test( el.type ) && - el.click && nodeName( el, "input" ) ) { - - // dataPriv.set( el, "click", ... ) - leverageNative( el, "click", returnTrue ); - } - - // Return false to allow normal processing in the caller - return false; - }, - trigger: function( data ) { - - // For mutual compressibility with _default, replace `this` access with a local var. - // `|| data` is dead code meant only to preserve the variable through minification. - var el = this || data; - - // Force setup before triggering a click - if ( rcheckableType.test( el.type ) && - el.click && nodeName( el, "input" ) ) { - - leverageNative( el, "click" ); - } - - // Return non-false to allow normal event-path propagation - return true; - }, - - // For cross-browser consistency, suppress native .click() on links - // Also prevent it if we're currently inside a leveraged native-event stack - _default: function( event ) { - var target = event.target; - return rcheckableType.test( target.type ) && - target.click && nodeName( target, "input" ) && - dataPriv.get( target, "click" ) || - nodeName( target, "a" ); - } - }, - - beforeunload: { - postDispatch: function( event ) { - - // Support: Firefox 20+ - // Firefox doesn't alert if the returnValue field is not set. - if ( event.result !== undefined && event.originalEvent ) { - event.originalEvent.returnValue = event.result; - } - } - } - } -}; - -// Ensure the presence of an event listener that handles manually-triggered -// synthetic events by interrupting progress until reinvoked in response to -// *native* events that it fires directly, ensuring that state changes have -// already occurred before other listeners are invoked. -function leverageNative( el, type, expectSync ) { - - // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add - if ( !expectSync ) { - if ( dataPriv.get( el, type ) === undefined ) { - jQuery.event.add( el, type, returnTrue ); - } - return; - } - - // Register the controller as a special universal handler for all event namespaces - dataPriv.set( el, type, false ); - jQuery.event.add( el, type, { - namespace: false, - handler: function( event ) { - var notAsync, result, - saved = dataPriv.get( this, type ); - - if ( ( event.isTrigger & 1 ) && this[ type ] ) { - - // Interrupt processing of the outer synthetic .trigger()ed event - // Saved data should be false in such cases, but might be a leftover capture object - // from an async native handler (gh-4350) - if ( !saved.length ) { - - // Store arguments for use when handling the inner native event - // There will always be at least one argument (an event object), so this array - // will not be confused with a leftover capture object. - saved = slice.call( arguments ); - dataPriv.set( this, type, saved ); - - // Trigger the native event and capture its result - // Support: IE <=9 - 11+ - // focus() and blur() are asynchronous - notAsync = expectSync( this, type ); - this[ type ](); - result = dataPriv.get( this, type ); - if ( saved !== result || notAsync ) { - dataPriv.set( this, type, false ); - } else { - result = {}; - } - if ( saved !== result ) { - - // Cancel the outer synthetic event - event.stopImmediatePropagation(); - event.preventDefault(); - return result.value; - } - - // If this is an inner synthetic event for an event with a bubbling surrogate - // (focus or blur), assume that the surrogate already propagated from triggering the - // native event and prevent that from happening again here. - // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the - // bubbling surrogate propagates *after* the non-bubbling base), but that seems - // less bad than duplication. - } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { - event.stopPropagation(); - } - - // If this is a native event triggered above, everything is now in order - // Fire an inner synthetic event with the original arguments - } else if ( saved.length ) { - - // ...and capture the result - dataPriv.set( this, type, { - value: jQuery.event.trigger( - - // Support: IE <=9 - 11+ - // Extend with the prototype to reset the above stopImmediatePropagation() - jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), - saved.slice( 1 ), - this - ) - } ); - - // Abort handling of the native event - event.stopImmediatePropagation(); - } - } - } ); -} - -jQuery.removeEvent = function( elem, type, handle ) { - - // This "if" is needed for plain objects - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle ); - } -}; - -jQuery.Event = function( src, props ) { - - // Allow instantiation without the 'new' keyword - if ( !( this instanceof jQuery.Event ) ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = src.defaultPrevented || - src.defaultPrevented === undefined && - - // Support: Android <=2.3 only - src.returnValue === false ? - returnTrue : - returnFalse; - - // Create target properties - // Support: Safari <=6 - 7 only - // Target should not be a text node (#504, #13143) - this.target = ( src.target && src.target.nodeType === 3 ) ? - src.target.parentNode : - src.target; - - this.currentTarget = src.currentTarget; - this.relatedTarget = src.relatedTarget; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || Date.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - constructor: jQuery.Event, - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - isSimulated: false, - - preventDefault: function() { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - - if ( e && !this.isSimulated ) { - e.preventDefault(); - } - }, - stopPropagation: function() { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - - if ( e && !this.isSimulated ) { - e.stopPropagation(); - } - }, - stopImmediatePropagation: function() { - var e = this.originalEvent; - - this.isImmediatePropagationStopped = returnTrue; - - if ( e && !this.isSimulated ) { - e.stopImmediatePropagation(); - } - - this.stopPropagation(); - } -}; - -// Includes all common event props including KeyEvent and MouseEvent specific props -jQuery.each( { - altKey: true, - bubbles: true, - cancelable: true, - changedTouches: true, - ctrlKey: true, - detail: true, - eventPhase: true, - metaKey: true, - pageX: true, - pageY: true, - shiftKey: true, - view: true, - "char": true, - code: true, - charCode: true, - key: true, - keyCode: true, - button: true, - buttons: true, - clientX: true, - clientY: true, - offsetX: true, - offsetY: true, - pointerId: true, - pointerType: true, - screenX: true, - screenY: true, - targetTouches: true, - toElement: true, - touches: true, - - which: function( event ) { - var button = event.button; - - // Add which for key events - if ( event.which == null && rkeyEvent.test( event.type ) ) { - return event.charCode != null ? event.charCode : event.keyCode; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { - if ( button & 1 ) { - return 1; - } - - if ( button & 2 ) { - return 3; - } - - if ( button & 4 ) { - return 2; - } - - return 0; - } - - return event.which; - } -}, jQuery.event.addProp ); - -jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { - jQuery.event.special[ type ] = { - - // Utilize native event if possible so blur/focus sequence is correct - setup: function() { - - // Claim the first handler - // dataPriv.set( this, "focus", ... ) - // dataPriv.set( this, "blur", ... ) - leverageNative( this, type, expectSync ); - - // Return false to allow normal processing in the caller - return false; - }, - trigger: function() { - - // Force setup before trigger - leverageNative( this, type ); - - // Return non-false to allow normal event-path propagation - return true; - }, - - delegateType: delegateType - }; -} ); - -// Create mouseenter/leave events using mouseover/out and event-time checks -// so that event delegation works in jQuery. -// Do the same for pointerenter/pointerleave and pointerover/pointerout -// -// Support: Safari 7 only -// Safari sends mouseenter too often; see: -// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 -// for the description of the bug (it existed in older Chrome versions as well). -jQuery.each( { - mouseenter: "mouseover", - mouseleave: "mouseout", - pointerenter: "pointerover", - pointerleave: "pointerout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - delegateType: fix, - bindType: fix, - - handle: function( event ) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mouseenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { - event.type = handleObj.origType; - ret = handleObj.handler.apply( this, arguments ); - event.type = fix; - } - return ret; - } - }; -} ); - -jQuery.fn.extend( { - - on: function( types, selector, data, fn ) { - return on( this, types, selector, data, fn ); - }, - one: function( types, selector, data, fn ) { - return on( this, types, selector, data, fn, 1 ); - }, - off: function( types, selector, fn ) { - var handleObj, type; - if ( types && types.preventDefault && types.handleObj ) { - - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery( types.delegateTarget ).off( - handleObj.namespace ? - handleObj.origType + "." + handleObj.namespace : - handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if ( typeof types === "object" ) { - - // ( types-object [, selector] ) - for ( type in types ) { - this.off( type, selector, types[ type ] ); - } - return this; - } - if ( selector === false || typeof selector === "function" ) { - - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if ( fn === false ) { - fn = returnFalse; - } - return this.each( function() { - jQuery.event.remove( this, types, fn, selector ); - } ); - } -} ); - - -var - - // Support: IE <=10 - 11, Edge 12 - 13 only - // In IE/Edge using regex groups here causes severe slowdowns. - // See https://connect.microsoft.com/IE/feedback/details/1736512/ - rnoInnerhtml = /\s*$/g; - -// Prefer a tbody over its parent table for containing new rows -function manipulationTarget( elem, content ) { - if ( nodeName( elem, "table" ) && - nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { - - return jQuery( elem ).children( "tbody" )[ 0 ] || elem; - } - - return elem; -} - -// Replace/restore the type attribute of script elements for safe DOM manipulation -function disableScript( elem ) { - elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; - return elem; -} -function restoreScript( elem ) { - if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { - elem.type = elem.type.slice( 5 ); - } else { - elem.removeAttribute( "type" ); - } - - return elem; -} - -function cloneCopyEvent( src, dest ) { - var i, l, type, pdataOld, udataOld, udataCur, events; - - if ( dest.nodeType !== 1 ) { - return; - } - - // 1. Copy private data: events, handlers, etc. - if ( dataPriv.hasData( src ) ) { - pdataOld = dataPriv.get( src ); - events = pdataOld.events; - - if ( events ) { - dataPriv.remove( dest, "handle events" ); - - for ( type in events ) { - for ( i = 0, l = events[ type ].length; i < l; i++ ) { - jQuery.event.add( dest, type, events[ type ][ i ] ); - } - } - } - } - - // 2. Copy user data - if ( dataUser.hasData( src ) ) { - udataOld = dataUser.access( src ); - udataCur = jQuery.extend( {}, udataOld ); - - dataUser.set( dest, udataCur ); - } -} - -// Fix IE bugs, see support tests -function fixInput( src, dest ) { - var nodeName = dest.nodeName.toLowerCase(); - - // Fails to persist the checked state of a cloned checkbox or radio button. - if ( nodeName === "input" && rcheckableType.test( src.type ) ) { - dest.checked = src.checked; - - // Fails to return the selected option to the default selected state when cloning options - } else if ( nodeName === "input" || nodeName === "textarea" ) { - dest.defaultValue = src.defaultValue; - } -} - -function domManip( collection, args, callback, ignored ) { - - // Flatten any nested arrays - args = flat( args ); - - var fragment, first, scripts, hasScripts, node, doc, - i = 0, - l = collection.length, - iNoClone = l - 1, - value = args[ 0 ], - valueIsFunction = isFunction( value ); - - // We can't cloneNode fragments that contain checked, in WebKit - if ( valueIsFunction || - ( l > 1 && typeof value === "string" && - !support.checkClone && rchecked.test( value ) ) ) { - return collection.each( function( index ) { - var self = collection.eq( index ); - if ( valueIsFunction ) { - args[ 0 ] = value.call( this, index, self.html() ); - } - domManip( self, args, callback, ignored ); - } ); - } - - if ( l ) { - fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); - first = fragment.firstChild; - - if ( fragment.childNodes.length === 1 ) { - fragment = first; - } - - // Require either new content or an interest in ignored elements to invoke the callback - if ( first || ignored ) { - scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); - hasScripts = scripts.length; - - // Use the original fragment for the last item - // instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for ( ; i < l; i++ ) { - node = fragment; - - if ( i !== iNoClone ) { - node = jQuery.clone( node, true, true ); - - // Keep references to cloned scripts for later restoration - if ( hasScripts ) { - - // Support: Android <=4.0 only, PhantomJS 1 only - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge( scripts, getAll( node, "script" ) ); - } - } - - callback.call( collection[ i ], node, i ); - } - - if ( hasScripts ) { - doc = scripts[ scripts.length - 1 ].ownerDocument; - - // Reenable scripts - jQuery.map( scripts, restoreScript ); - - // Evaluate executable scripts on first document insertion - for ( i = 0; i < hasScripts; i++ ) { - node = scripts[ i ]; - if ( rscriptType.test( node.type || "" ) && - !dataPriv.access( node, "globalEval" ) && - jQuery.contains( doc, node ) ) { - - if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { - - // Optional AJAX dependency, but won't run scripts if not present - if ( jQuery._evalUrl && !node.noModule ) { - jQuery._evalUrl( node.src, { - nonce: node.nonce || node.getAttribute( "nonce" ) - }, doc ); - } - } else { - DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); - } - } - } - } - } - } - - return collection; -} - -function remove( elem, selector, keepData ) { - var node, - nodes = selector ? jQuery.filter( selector, elem ) : elem, - i = 0; - - for ( ; ( node = nodes[ i ] ) != null; i++ ) { - if ( !keepData && node.nodeType === 1 ) { - jQuery.cleanData( getAll( node ) ); - } - - if ( node.parentNode ) { - if ( keepData && isAttached( node ) ) { - setGlobalEval( getAll( node, "script" ) ); - } - node.parentNode.removeChild( node ); - } - } - - return elem; -} - -jQuery.extend( { - htmlPrefilter: function( html ) { - return html; - }, - - clone: function( elem, dataAndEvents, deepDataAndEvents ) { - var i, l, srcElements, destElements, - clone = elem.cloneNode( true ), - inPage = isAttached( elem ); - - // Fix IE cloning issues - if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && - !jQuery.isXMLDoc( elem ) ) { - - // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 - destElements = getAll( clone ); - srcElements = getAll( elem ); - - for ( i = 0, l = srcElements.length; i < l; i++ ) { - fixInput( srcElements[ i ], destElements[ i ] ); - } - } - - // Copy the events from the original to the clone - if ( dataAndEvents ) { - if ( deepDataAndEvents ) { - srcElements = srcElements || getAll( elem ); - destElements = destElements || getAll( clone ); - - for ( i = 0, l = srcElements.length; i < l; i++ ) { - cloneCopyEvent( srcElements[ i ], destElements[ i ] ); - } - } else { - cloneCopyEvent( elem, clone ); - } - } - - // Preserve script evaluation history - destElements = getAll( clone, "script" ); - if ( destElements.length > 0 ) { - setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); - } - - // Return the cloned set - return clone; - }, - - cleanData: function( elems ) { - var data, elem, type, - special = jQuery.event.special, - i = 0; - - for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { - if ( acceptData( elem ) ) { - if ( ( data = elem[ dataPriv.expando ] ) ) { - if ( data.events ) { - for ( type in data.events ) { - if ( special[ type ] ) { - jQuery.event.remove( elem, type ); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent( elem, type, data.handle ); - } - } - } - - // Support: Chrome <=35 - 45+ - // Assign undefined instead of using delete, see Data#remove - elem[ dataPriv.expando ] = undefined; - } - if ( elem[ dataUser.expando ] ) { - - // Support: Chrome <=35 - 45+ - // Assign undefined instead of using delete, see Data#remove - elem[ dataUser.expando ] = undefined; - } - } - } - } -} ); - -jQuery.fn.extend( { - detach: function( selector ) { - return remove( this, selector, true ); - }, - - remove: function( selector ) { - return remove( this, selector ); - }, - - text: function( value ) { - return access( this, function( value ) { - return value === undefined ? - jQuery.text( this ) : - this.empty().each( function() { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.textContent = value; - } - } ); - }, null, value, arguments.length ); - }, - - append: function() { - return domManip( this, arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.appendChild( elem ); - } - } ); - }, - - prepend: function() { - return domManip( this, arguments, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - var target = manipulationTarget( this, elem ); - target.insertBefore( elem, target.firstChild ); - } - } ); - }, - - before: function() { - return domManip( this, arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this ); - } - } ); - }, - - after: function() { - return domManip( this, arguments, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this.nextSibling ); - } - } ); - }, - - empty: function() { - var elem, - i = 0; - - for ( ; ( elem = this[ i ] ) != null; i++ ) { - if ( elem.nodeType === 1 ) { - - // Prevent memory leaks - jQuery.cleanData( getAll( elem, false ) ); - - // Remove any remaining nodes - elem.textContent = ""; - } - } - - return this; - }, - - clone: function( dataAndEvents, deepDataAndEvents ) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map( function() { - return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); - } ); - }, - - html: function( value ) { - return access( this, function( value ) { - var elem = this[ 0 ] || {}, - i = 0, - l = this.length; - - if ( value === undefined && elem.nodeType === 1 ) { - return elem.innerHTML; - } - - // See if we can take a shortcut and just use innerHTML - if ( typeof value === "string" && !rnoInnerhtml.test( value ) && - !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { - - value = jQuery.htmlPrefilter( value ); - - try { - for ( ; i < l; i++ ) { - elem = this[ i ] || {}; - - // Remove element nodes and prevent memory leaks - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch ( e ) {} - } - - if ( elem ) { - this.empty().append( value ); - } - }, null, value, arguments.length ); - }, - - replaceWith: function() { - var ignored = []; - - // Make the changes, replacing each non-ignored context element with the new content - return domManip( this, arguments, function( elem ) { - var parent = this.parentNode; - - if ( jQuery.inArray( this, ignored ) < 0 ) { - jQuery.cleanData( getAll( this ) ); - if ( parent ) { - parent.replaceChild( elem, this ); - } - } - - // Force callback invocation - }, ignored ); - } -} ); - -jQuery.each( { - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" -}, function( name, original ) { - jQuery.fn[ name ] = function( selector ) { - var elems, - ret = [], - insert = jQuery( selector ), - last = insert.length - 1, - i = 0; - - for ( ; i <= last; i++ ) { - elems = i === last ? this : this.clone( true ); - jQuery( insert[ i ] )[ original ]( elems ); - - // Support: Android <=4.0 only, PhantomJS 1 only - // .get() because push.apply(_, arraylike) throws on ancient WebKit - push.apply( ret, elems.get() ); - } - - return this.pushStack( ret ); - }; -} ); -var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); - -var getStyles = function( elem ) { - - // Support: IE <=11 only, Firefox <=30 (#15098, #14150) - // IE throws on elements created in popups - // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" - var view = elem.ownerDocument.defaultView; - - if ( !view || !view.opener ) { - view = window; - } - - return view.getComputedStyle( elem ); - }; - -var swap = function( elem, options, callback ) { - var ret, name, - old = {}; - - // Remember the old values, and insert the new ones - for ( name in options ) { - old[ name ] = elem.style[ name ]; - elem.style[ name ] = options[ name ]; - } - - ret = callback.call( elem ); - - // Revert the old values - for ( name in options ) { - elem.style[ name ] = old[ name ]; - } - - return ret; -}; - - -var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); - - - -( function() { - - // Executing both pixelPosition & boxSizingReliable tests require only one layout - // so they're executed at the same time to save the second computation. - function computeStyleTests() { - - // This is a singleton, we need to execute it only once - if ( !div ) { - return; - } - - container.style.cssText = "position:absolute;left:-11111px;width:60px;" + - "margin-top:1px;padding:0;border:0"; - div.style.cssText = - "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + - "margin:auto;border:1px;padding:1px;" + - "width:60%;top:1%"; - documentElement.appendChild( container ).appendChild( div ); - - var divStyle = window.getComputedStyle( div ); - pixelPositionVal = divStyle.top !== "1%"; - - // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 - reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; - - // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 - // Some styles come back with percentage values, even though they shouldn't - div.style.right = "60%"; - pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; - - // Support: IE 9 - 11 only - // Detect misreporting of content dimensions for box-sizing:border-box elements - boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; - - // Support: IE 9 only - // Detect overflow:scroll screwiness (gh-3699) - // Support: Chrome <=64 - // Don't get tricked when zoom affects offsetWidth (gh-4029) - div.style.position = "absolute"; - scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; - - documentElement.removeChild( container ); - - // Nullify the div so it wouldn't be stored in the memory and - // it will also be a sign that checks already performed - div = null; - } - - function roundPixelMeasures( measure ) { - return Math.round( parseFloat( measure ) ); - } - - var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, - reliableTrDimensionsVal, reliableMarginLeftVal, - container = document.createElement( "div" ), - div = document.createElement( "div" ); - - // Finish early in limited (non-browser) environments - if ( !div.style ) { - return; - } - - // Support: IE <=9 - 11 only - // Style of cloned element affects source element cloned (#8908) - div.style.backgroundClip = "content-box"; - div.cloneNode( true ).style.backgroundClip = ""; - support.clearCloneStyle = div.style.backgroundClip === "content-box"; - - jQuery.extend( support, { - boxSizingReliable: function() { - computeStyleTests(); - return boxSizingReliableVal; - }, - pixelBoxStyles: function() { - computeStyleTests(); - return pixelBoxStylesVal; - }, - pixelPosition: function() { - computeStyleTests(); - return pixelPositionVal; - }, - reliableMarginLeft: function() { - computeStyleTests(); - return reliableMarginLeftVal; - }, - scrollboxSize: function() { - computeStyleTests(); - return scrollboxSizeVal; - }, - - // Support: IE 9 - 11+, Edge 15 - 18+ - // IE/Edge misreport `getComputedStyle` of table rows with width/height - // set in CSS while `offset*` properties report correct values. - // Behavior in IE 9 is more subtle than in newer versions & it passes - // some versions of this test; make sure not to make it pass there! - reliableTrDimensions: function() { - var table, tr, trChild, trStyle; - if ( reliableTrDimensionsVal == null ) { - table = document.createElement( "table" ); - tr = document.createElement( "tr" ); - trChild = document.createElement( "div" ); - - table.style.cssText = "position:absolute;left:-11111px"; - tr.style.height = "1px"; - trChild.style.height = "9px"; - - documentElement - .appendChild( table ) - .appendChild( tr ) - .appendChild( trChild ); - - trStyle = window.getComputedStyle( tr ); - reliableTrDimensionsVal = parseInt( trStyle.height ) > 3; - - documentElement.removeChild( table ); - } - return reliableTrDimensionsVal; - } - } ); -} )(); - - -function curCSS( elem, name, computed ) { - var width, minWidth, maxWidth, ret, - - // Support: Firefox 51+ - // Retrieving style before computed somehow - // fixes an issue with getting wrong values - // on detached elements - style = elem.style; - - computed = computed || getStyles( elem ); - - // getPropertyValue is needed for: - // .css('filter') (IE 9 only, #12537) - // .css('--customProperty) (#3144) - if ( computed ) { - ret = computed.getPropertyValue( name ) || computed[ name ]; - - if ( ret === "" && !isAttached( elem ) ) { - ret = jQuery.style( elem, name ); - } - - // A tribute to the "awesome hack by Dean Edwards" - // Android Browser returns percentage for some values, - // but width seems to be reliably pixels. - // This is against the CSSOM draft spec: - // https://drafts.csswg.org/cssom/#resolved-values - if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { - - // Remember the original values - width = style.width; - minWidth = style.minWidth; - maxWidth = style.maxWidth; - - // Put in the new values to get a computed value out - style.minWidth = style.maxWidth = style.width = ret; - ret = computed.width; - - // Revert the changed values - style.width = width; - style.minWidth = minWidth; - style.maxWidth = maxWidth; - } - } - - return ret !== undefined ? - - // Support: IE <=9 - 11 only - // IE returns zIndex value as an integer. - ret + "" : - ret; -} - - -function addGetHookIf( conditionFn, hookFn ) { - - // Define the hook, we'll check on the first run if it's really needed. - return { - get: function() { - if ( conditionFn() ) { - - // Hook not needed (or it's not possible to use it due - // to missing dependency), remove it. - delete this.get; - return; - } - - // Hook needed; redefine it so that the support test is not executed again. - return ( this.get = hookFn ).apply( this, arguments ); - } - }; -} - - -var cssPrefixes = [ "Webkit", "Moz", "ms" ], - emptyStyle = document.createElement( "div" ).style, - vendorProps = {}; - -// Return a vendor-prefixed property or undefined -function vendorPropName( name ) { - - // Check for vendor prefixed names - var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), - i = cssPrefixes.length; - - while ( i-- ) { - name = cssPrefixes[ i ] + capName; - if ( name in emptyStyle ) { - return name; - } - } -} - -// Return a potentially-mapped jQuery.cssProps or vendor prefixed property -function finalPropName( name ) { - var final = jQuery.cssProps[ name ] || vendorProps[ name ]; - - if ( final ) { - return final; - } - if ( name in emptyStyle ) { - return name; - } - return vendorProps[ name ] = vendorPropName( name ) || name; -} - - -var - - // Swappable if display is none or starts with table - // except "table", "table-cell", or "table-caption" - // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display - rdisplayswap = /^(none|table(?!-c[ea]).+)/, - rcustomProp = /^--/, - cssShow = { position: "absolute", visibility: "hidden", display: "block" }, - cssNormalTransform = { - letterSpacing: "0", - fontWeight: "400" - }; - -function setPositiveNumber( _elem, value, subtract ) { - - // Any relative (+/-) values have already been - // normalized at this point - var matches = rcssNum.exec( value ); - return matches ? - - // Guard against undefined "subtract", e.g., when used as in cssHooks - Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : - value; -} - -function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { - var i = dimension === "width" ? 1 : 0, - extra = 0, - delta = 0; - - // Adjustment may not be necessary - if ( box === ( isBorderBox ? "border" : "content" ) ) { - return 0; - } - - for ( ; i < 4; i += 2 ) { - - // Both box models exclude margin - if ( box === "margin" ) { - delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); - } - - // If we get here with a content-box, we're seeking "padding" or "border" or "margin" - if ( !isBorderBox ) { - - // Add padding - delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - - // For "border" or "margin", add border - if ( box !== "padding" ) { - delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - - // But still keep track of it otherwise - } else { - extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - - // If we get here with a border-box (content + padding + border), we're seeking "content" or - // "padding" or "margin" - } else { - - // For "content", subtract padding - if ( box === "content" ) { - delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - } - - // For "content" or "padding", subtract border - if ( box !== "margin" ) { - delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } - } - - // Account for positive content-box scroll gutter when requested by providing computedVal - if ( !isBorderBox && computedVal >= 0 ) { - - // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border - // Assuming integer scroll gutter, subtract the rest and round down - delta += Math.max( 0, Math.ceil( - elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - - computedVal - - delta - - extra - - 0.5 - - // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter - // Use an explicit zero to avoid NaN (gh-3964) - ) ) || 0; - } - - return delta; -} - -function getWidthOrHeight( elem, dimension, extra ) { - - // Start with computed style - var styles = getStyles( elem ), - - // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). - // Fake content-box until we know it's needed to know the true value. - boxSizingNeeded = !support.boxSizingReliable() || extra, - isBorderBox = boxSizingNeeded && - jQuery.css( elem, "boxSizing", false, styles ) === "border-box", - valueIsBorderBox = isBorderBox, - - val = curCSS( elem, dimension, styles ), - offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); - - // Support: Firefox <=54 - // Return a confounding non-pixel value or feign ignorance, as appropriate. - if ( rnumnonpx.test( val ) ) { - if ( !extra ) { - return val; - } - val = "auto"; - } - - - // Support: IE 9 - 11 only - // Use offsetWidth/offsetHeight for when box sizing is unreliable. - // In those cases, the computed value can be trusted to be border-box. - if ( ( !support.boxSizingReliable() && isBorderBox || - - // Support: IE 10 - 11+, Edge 15 - 18+ - // IE/Edge misreport `getComputedStyle` of table rows with width/height - // set in CSS while `offset*` properties report correct values. - // Interestingly, in some cases IE 9 doesn't suffer from this issue. - !support.reliableTrDimensions() && nodeName( elem, "tr" ) || - - // Fall back to offsetWidth/offsetHeight when value is "auto" - // This happens for inline elements with no explicit setting (gh-3571) - val === "auto" || - - // Support: Android <=4.1 - 4.3 only - // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) - !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && - - // Make sure the element is visible & connected - elem.getClientRects().length ) { - - isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; - - // Where available, offsetWidth/offsetHeight approximate border box dimensions. - // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the - // retrieved value as a content box dimension. - valueIsBorderBox = offsetProp in elem; - if ( valueIsBorderBox ) { - val = elem[ offsetProp ]; - } - } - - // Normalize "" and auto - val = parseFloat( val ) || 0; - - // Adjust for the element's box model - return ( val + - boxModelAdjustment( - elem, - dimension, - extra || ( isBorderBox ? "border" : "content" ), - valueIsBorderBox, - styles, - - // Provide the current computed size to request scroll gutter calculation (gh-3589) - val - ) - ) + "px"; -} - -jQuery.extend( { - - // Add in style property hooks for overriding the default - // behavior of getting and setting a style property - cssHooks: { - opacity: { - get: function( elem, computed ) { - if ( computed ) { - - // We should always get a number back from opacity - var ret = curCSS( elem, "opacity" ); - return ret === "" ? "1" : ret; - } - } - } - }, - - // Don't automatically add "px" to these possibly-unitless properties - cssNumber: { - "animationIterationCount": true, - "columnCount": true, - "fillOpacity": true, - "flexGrow": true, - "flexShrink": true, - "fontWeight": true, - "gridArea": true, - "gridColumn": true, - "gridColumnEnd": true, - "gridColumnStart": true, - "gridRow": true, - "gridRowEnd": true, - "gridRowStart": true, - "lineHeight": true, - "opacity": true, - "order": true, - "orphans": true, - "widows": true, - "zIndex": true, - "zoom": true - }, - - // Add in properties whose names you wish to fix before - // setting or getting the value - cssProps: {}, - - // Get and set the style property on a DOM Node - style: function( elem, name, value, extra ) { - - // Don't set styles on text and comment nodes - if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { - return; - } - - // Make sure that we're working with the right name - var ret, type, hooks, - origName = camelCase( name ), - isCustomProp = rcustomProp.test( name ), - style = elem.style; - - // Make sure that we're working with the right name. We don't - // want to query the value if it is a CSS custom property - // since they are user-defined. - if ( !isCustomProp ) { - name = finalPropName( origName ); - } - - // Gets hook for the prefixed version, then unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // Check if we're setting a value - if ( value !== undefined ) { - type = typeof value; - - // Convert "+=" or "-=" to relative numbers (#7345) - if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { - value = adjustCSS( elem, name, ret ); - - // Fixes bug #9237 - type = "number"; - } - - // Make sure that null and NaN values aren't set (#7116) - if ( value == null || value !== value ) { - return; - } - - // If a number was passed in, add the unit (except for certain CSS properties) - // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append - // "px" to a few hardcoded values. - if ( type === "number" && !isCustomProp ) { - value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); - } - - // background-* props affect original clone's values - if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { - style[ name ] = "inherit"; - } - - // If a hook was provided, use that value, otherwise just set the specified value - if ( !hooks || !( "set" in hooks ) || - ( value = hooks.set( elem, value, extra ) ) !== undefined ) { - - if ( isCustomProp ) { - style.setProperty( name, value ); - } else { - style[ name ] = value; - } - } - - } else { - - // If a hook was provided get the non-computed value from there - if ( hooks && "get" in hooks && - ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { - - return ret; - } - - // Otherwise just get the value from the style object - return style[ name ]; - } - }, - - css: function( elem, name, extra, styles ) { - var val, num, hooks, - origName = camelCase( name ), - isCustomProp = rcustomProp.test( name ); - - // Make sure that we're working with the right name. We don't - // want to modify the value if it is a CSS custom property - // since they are user-defined. - if ( !isCustomProp ) { - name = finalPropName( origName ); - } - - // Try prefixed name followed by the unprefixed name - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // If a hook was provided get the computed value from there - if ( hooks && "get" in hooks ) { - val = hooks.get( elem, true, extra ); - } - - // Otherwise, if a way to get the computed value exists, use that - if ( val === undefined ) { - val = curCSS( elem, name, styles ); - } - - // Convert "normal" to computed value - if ( val === "normal" && name in cssNormalTransform ) { - val = cssNormalTransform[ name ]; - } - - // Make numeric if forced or a qualifier was provided and val looks numeric - if ( extra === "" || extra ) { - num = parseFloat( val ); - return extra === true || isFinite( num ) ? num || 0 : val; - } - - return val; - } -} ); - -jQuery.each( [ "height", "width" ], function( _i, dimension ) { - jQuery.cssHooks[ dimension ] = { - get: function( elem, computed, extra ) { - if ( computed ) { - - // Certain elements can have dimension info if we invisibly show them - // but it must have a current display style that would benefit - return rdisplayswap.test( jQuery.css( elem, "display" ) ) && - - // Support: Safari 8+ - // Table columns in Safari have non-zero offsetWidth & zero - // getBoundingClientRect().width unless display is changed. - // Support: IE <=11 only - // Running getBoundingClientRect on a disconnected node - // in IE throws an error. - ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? - swap( elem, cssShow, function() { - return getWidthOrHeight( elem, dimension, extra ); - } ) : - getWidthOrHeight( elem, dimension, extra ); - } - }, - - set: function( elem, value, extra ) { - var matches, - styles = getStyles( elem ), - - // Only read styles.position if the test has a chance to fail - // to avoid forcing a reflow. - scrollboxSizeBuggy = !support.scrollboxSize() && - styles.position === "absolute", - - // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) - boxSizingNeeded = scrollboxSizeBuggy || extra, - isBorderBox = boxSizingNeeded && - jQuery.css( elem, "boxSizing", false, styles ) === "border-box", - subtract = extra ? - boxModelAdjustment( - elem, - dimension, - extra, - isBorderBox, - styles - ) : - 0; - - // Account for unreliable border-box dimensions by comparing offset* to computed and - // faking a content-box to get border and padding (gh-3699) - if ( isBorderBox && scrollboxSizeBuggy ) { - subtract -= Math.ceil( - elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - - parseFloat( styles[ dimension ] ) - - boxModelAdjustment( elem, dimension, "border", false, styles ) - - 0.5 - ); - } - - // Convert to pixels if value adjustment is needed - if ( subtract && ( matches = rcssNum.exec( value ) ) && - ( matches[ 3 ] || "px" ) !== "px" ) { - - elem.style[ dimension ] = value; - value = jQuery.css( elem, dimension ); - } - - return setPositiveNumber( elem, value, subtract ); - } - }; -} ); - -jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, - function( elem, computed ) { - if ( computed ) { - return ( parseFloat( curCSS( elem, "marginLeft" ) ) || - elem.getBoundingClientRect().left - - swap( elem, { marginLeft: 0 }, function() { - return elem.getBoundingClientRect().left; - } ) - ) + "px"; - } - } -); - -// These hooks are used by animate to expand properties -jQuery.each( { - margin: "", - padding: "", - border: "Width" -}, function( prefix, suffix ) { - jQuery.cssHooks[ prefix + suffix ] = { - expand: function( value ) { - var i = 0, - expanded = {}, - - // Assumes a single number if not a string - parts = typeof value === "string" ? value.split( " " ) : [ value ]; - - for ( ; i < 4; i++ ) { - expanded[ prefix + cssExpand[ i ] + suffix ] = - parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; - } - - return expanded; - } - }; - - if ( prefix !== "margin" ) { - jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; - } -} ); - -jQuery.fn.extend( { - css: function( name, value ) { - return access( this, function( elem, name, value ) { - var styles, len, - map = {}, - i = 0; - - if ( Array.isArray( name ) ) { - styles = getStyles( elem ); - len = name.length; - - for ( ; i < len; i++ ) { - map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); - } - - return map; - } - - return value !== undefined ? - jQuery.style( elem, name, value ) : - jQuery.css( elem, name ); - }, name, value, arguments.length > 1 ); - } -} ); - - -function Tween( elem, options, prop, end, easing ) { - return new Tween.prototype.init( elem, options, prop, end, easing ); -} -jQuery.Tween = Tween; - -Tween.prototype = { - constructor: Tween, - init: function( elem, options, prop, end, easing, unit ) { - this.elem = elem; - this.prop = prop; - this.easing = easing || jQuery.easing._default; - this.options = options; - this.start = this.now = this.cur(); - this.end = end; - this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); - }, - cur: function() { - var hooks = Tween.propHooks[ this.prop ]; - - return hooks && hooks.get ? - hooks.get( this ) : - Tween.propHooks._default.get( this ); - }, - run: function( percent ) { - var eased, - hooks = Tween.propHooks[ this.prop ]; - - if ( this.options.duration ) { - this.pos = eased = jQuery.easing[ this.easing ]( - percent, this.options.duration * percent, 0, 1, this.options.duration - ); - } else { - this.pos = eased = percent; - } - this.now = ( this.end - this.start ) * eased + this.start; - - if ( this.options.step ) { - this.options.step.call( this.elem, this.now, this ); - } - - if ( hooks && hooks.set ) { - hooks.set( this ); - } else { - Tween.propHooks._default.set( this ); - } - return this; - } -}; - -Tween.prototype.init.prototype = Tween.prototype; - -Tween.propHooks = { - _default: { - get: function( tween ) { - var result; - - // Use a property on the element directly when it is not a DOM element, - // or when there is no matching style property that exists. - if ( tween.elem.nodeType !== 1 || - tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { - return tween.elem[ tween.prop ]; - } - - // Passing an empty string as a 3rd parameter to .css will automatically - // attempt a parseFloat and fallback to a string if the parse fails. - // Simple values such as "10px" are parsed to Float; - // complex values such as "rotate(1rad)" are returned as-is. - result = jQuery.css( tween.elem, tween.prop, "" ); - - // Empty strings, null, undefined and "auto" are converted to 0. - return !result || result === "auto" ? 0 : result; - }, - set: function( tween ) { - - // Use step hook for back compat. - // Use cssHook if its there. - // Use .style if available and use plain properties where available. - if ( jQuery.fx.step[ tween.prop ] ) { - jQuery.fx.step[ tween.prop ]( tween ); - } else if ( tween.elem.nodeType === 1 && ( - jQuery.cssHooks[ tween.prop ] || - tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { - jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); - } else { - tween.elem[ tween.prop ] = tween.now; - } - } - } -}; - -// Support: IE <=9 only -// Panic based approach to setting things on disconnected nodes -Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { - set: function( tween ) { - if ( tween.elem.nodeType && tween.elem.parentNode ) { - tween.elem[ tween.prop ] = tween.now; - } - } -}; - -jQuery.easing = { - linear: function( p ) { - return p; - }, - swing: function( p ) { - return 0.5 - Math.cos( p * Math.PI ) / 2; - }, - _default: "swing" -}; - -jQuery.fx = Tween.prototype.init; - -// Back compat <1.8 extension point -jQuery.fx.step = {}; - - - - -var - fxNow, inProgress, - rfxtypes = /^(?:toggle|show|hide)$/, - rrun = /queueHooks$/; - -function schedule() { - if ( inProgress ) { - if ( document.hidden === false && window.requestAnimationFrame ) { - window.requestAnimationFrame( schedule ); - } else { - window.setTimeout( schedule, jQuery.fx.interval ); - } - - jQuery.fx.tick(); - } -} - -// Animations created synchronously will run synchronously -function createFxNow() { - window.setTimeout( function() { - fxNow = undefined; - } ); - return ( fxNow = Date.now() ); -} - -// Generate parameters to create a standard animation -function genFx( type, includeWidth ) { - var which, - i = 0, - attrs = { height: type }; - - // If we include width, step value is 1 to do all cssExpand values, - // otherwise step value is 2 to skip over Left and Right - includeWidth = includeWidth ? 1 : 0; - for ( ; i < 4; i += 2 - includeWidth ) { - which = cssExpand[ i ]; - attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; - } - - if ( includeWidth ) { - attrs.opacity = attrs.width = type; - } - - return attrs; -} - -function createTween( value, prop, animation ) { - var tween, - collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), - index = 0, - length = collection.length; - for ( ; index < length; index++ ) { - if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { - - // We're done with this property - return tween; - } - } -} - -function defaultPrefilter( elem, props, opts ) { - var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, - isBox = "width" in props || "height" in props, - anim = this, - orig = {}, - style = elem.style, - hidden = elem.nodeType && isHiddenWithinTree( elem ), - dataShow = dataPriv.get( elem, "fxshow" ); - - // Queue-skipping animations hijack the fx hooks - if ( !opts.queue ) { - hooks = jQuery._queueHooks( elem, "fx" ); - if ( hooks.unqueued == null ) { - hooks.unqueued = 0; - oldfire = hooks.empty.fire; - hooks.empty.fire = function() { - if ( !hooks.unqueued ) { - oldfire(); - } - }; - } - hooks.unqueued++; - - anim.always( function() { - - // Ensure the complete handler is called before this completes - anim.always( function() { - hooks.unqueued--; - if ( !jQuery.queue( elem, "fx" ).length ) { - hooks.empty.fire(); - } - } ); - } ); - } - - // Detect show/hide animations - for ( prop in props ) { - value = props[ prop ]; - if ( rfxtypes.test( value ) ) { - delete props[ prop ]; - toggle = toggle || value === "toggle"; - if ( value === ( hidden ? "hide" : "show" ) ) { - - // Pretend to be hidden if this is a "show" and - // there is still data from a stopped show/hide - if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { - hidden = true; - - // Ignore all other no-op show/hide data - } else { - continue; - } - } - orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); - } - } - - // Bail out if this is a no-op like .hide().hide() - propTween = !jQuery.isEmptyObject( props ); - if ( !propTween && jQuery.isEmptyObject( orig ) ) { - return; - } - - // Restrict "overflow" and "display" styles during box animations - if ( isBox && elem.nodeType === 1 ) { - - // Support: IE <=9 - 11, Edge 12 - 15 - // Record all 3 overflow attributes because IE does not infer the shorthand - // from identically-valued overflowX and overflowY and Edge just mirrors - // the overflowX value there. - opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; - - // Identify a display type, preferring old show/hide data over the CSS cascade - restoreDisplay = dataShow && dataShow.display; - if ( restoreDisplay == null ) { - restoreDisplay = dataPriv.get( elem, "display" ); - } - display = jQuery.css( elem, "display" ); - if ( display === "none" ) { - if ( restoreDisplay ) { - display = restoreDisplay; - } else { - - // Get nonempty value(s) by temporarily forcing visibility - showHide( [ elem ], true ); - restoreDisplay = elem.style.display || restoreDisplay; - display = jQuery.css( elem, "display" ); - showHide( [ elem ] ); - } - } - - // Animate inline elements as inline-block - if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { - if ( jQuery.css( elem, "float" ) === "none" ) { - - // Restore the original display value at the end of pure show/hide animations - if ( !propTween ) { - anim.done( function() { - style.display = restoreDisplay; - } ); - if ( restoreDisplay == null ) { - display = style.display; - restoreDisplay = display === "none" ? "" : display; - } - } - style.display = "inline-block"; - } - } - } - - if ( opts.overflow ) { - style.overflow = "hidden"; - anim.always( function() { - style.overflow = opts.overflow[ 0 ]; - style.overflowX = opts.overflow[ 1 ]; - style.overflowY = opts.overflow[ 2 ]; - } ); - } - - // Implement show/hide animations - propTween = false; - for ( prop in orig ) { - - // General show/hide setup for this element animation - if ( !propTween ) { - if ( dataShow ) { - if ( "hidden" in dataShow ) { - hidden = dataShow.hidden; - } - } else { - dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); - } - - // Store hidden/visible for toggle so `.stop().toggle()` "reverses" - if ( toggle ) { - dataShow.hidden = !hidden; - } - - // Show elements before animating them - if ( hidden ) { - showHide( [ elem ], true ); - } - - /* eslint-disable no-loop-func */ - - anim.done( function() { - - /* eslint-enable no-loop-func */ - - // The final step of a "hide" animation is actually hiding the element - if ( !hidden ) { - showHide( [ elem ] ); - } - dataPriv.remove( elem, "fxshow" ); - for ( prop in orig ) { - jQuery.style( elem, prop, orig[ prop ] ); - } - } ); - } - - // Per-property setup - propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); - if ( !( prop in dataShow ) ) { - dataShow[ prop ] = propTween.start; - if ( hidden ) { - propTween.end = propTween.start; - propTween.start = 0; - } - } - } -} - -function propFilter( props, specialEasing ) { - var index, name, easing, value, hooks; - - // camelCase, specialEasing and expand cssHook pass - for ( index in props ) { - name = camelCase( index ); - easing = specialEasing[ name ]; - value = props[ index ]; - if ( Array.isArray( value ) ) { - easing = value[ 1 ]; - value = props[ index ] = value[ 0 ]; - } - - if ( index !== name ) { - props[ name ] = value; - delete props[ index ]; - } - - hooks = jQuery.cssHooks[ name ]; - if ( hooks && "expand" in hooks ) { - value = hooks.expand( value ); - delete props[ name ]; - - // Not quite $.extend, this won't overwrite existing keys. - // Reusing 'index' because we have the correct "name" - for ( index in value ) { - if ( !( index in props ) ) { - props[ index ] = value[ index ]; - specialEasing[ index ] = easing; - } - } - } else { - specialEasing[ name ] = easing; - } - } -} - -function Animation( elem, properties, options ) { - var result, - stopped, - index = 0, - length = Animation.prefilters.length, - deferred = jQuery.Deferred().always( function() { - - // Don't match elem in the :animated selector - delete tick.elem; - } ), - tick = function() { - if ( stopped ) { - return false; - } - var currentTime = fxNow || createFxNow(), - remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), - - // Support: Android 2.3 only - // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) - temp = remaining / animation.duration || 0, - percent = 1 - temp, - index = 0, - length = animation.tweens.length; - - for ( ; index < length; index++ ) { - animation.tweens[ index ].run( percent ); - } - - deferred.notifyWith( elem, [ animation, percent, remaining ] ); - - // If there's more to do, yield - if ( percent < 1 && length ) { - return remaining; - } - - // If this was an empty animation, synthesize a final progress notification - if ( !length ) { - deferred.notifyWith( elem, [ animation, 1, 0 ] ); - } - - // Resolve the animation and report its conclusion - deferred.resolveWith( elem, [ animation ] ); - return false; - }, - animation = deferred.promise( { - elem: elem, - props: jQuery.extend( {}, properties ), - opts: jQuery.extend( true, { - specialEasing: {}, - easing: jQuery.easing._default - }, options ), - originalProperties: properties, - originalOptions: options, - startTime: fxNow || createFxNow(), - duration: options.duration, - tweens: [], - createTween: function( prop, end ) { - var tween = jQuery.Tween( elem, animation.opts, prop, end, - animation.opts.specialEasing[ prop ] || animation.opts.easing ); - animation.tweens.push( tween ); - return tween; - }, - stop: function( gotoEnd ) { - var index = 0, - - // If we are going to the end, we want to run all the tweens - // otherwise we skip this part - length = gotoEnd ? animation.tweens.length : 0; - if ( stopped ) { - return this; - } - stopped = true; - for ( ; index < length; index++ ) { - animation.tweens[ index ].run( 1 ); - } - - // Resolve when we played the last frame; otherwise, reject - if ( gotoEnd ) { - deferred.notifyWith( elem, [ animation, 1, 0 ] ); - deferred.resolveWith( elem, [ animation, gotoEnd ] ); - } else { - deferred.rejectWith( elem, [ animation, gotoEnd ] ); - } - return this; - } - } ), - props = animation.props; - - propFilter( props, animation.opts.specialEasing ); - - for ( ; index < length; index++ ) { - result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); - if ( result ) { - if ( isFunction( result.stop ) ) { - jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = - result.stop.bind( result ); - } - return result; - } - } - - jQuery.map( props, createTween, animation ); - - if ( isFunction( animation.opts.start ) ) { - animation.opts.start.call( elem, animation ); - } - - // Attach callbacks from options - animation - .progress( animation.opts.progress ) - .done( animation.opts.done, animation.opts.complete ) - .fail( animation.opts.fail ) - .always( animation.opts.always ); - - jQuery.fx.timer( - jQuery.extend( tick, { - elem: elem, - anim: animation, - queue: animation.opts.queue - } ) - ); - - return animation; -} - -jQuery.Animation = jQuery.extend( Animation, { - - tweeners: { - "*": [ function( prop, value ) { - var tween = this.createTween( prop, value ); - adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); - return tween; - } ] - }, - - tweener: function( props, callback ) { - if ( isFunction( props ) ) { - callback = props; - props = [ "*" ]; - } else { - props = props.match( rnothtmlwhite ); - } - - var prop, - index = 0, - length = props.length; - - for ( ; index < length; index++ ) { - prop = props[ index ]; - Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; - Animation.tweeners[ prop ].unshift( callback ); - } - }, - - prefilters: [ defaultPrefilter ], - - prefilter: function( callback, prepend ) { - if ( prepend ) { - Animation.prefilters.unshift( callback ); - } else { - Animation.prefilters.push( callback ); - } - } -} ); - -jQuery.speed = function( speed, easing, fn ) { - var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { - complete: fn || !fn && easing || - isFunction( speed ) && speed, - duration: speed, - easing: fn && easing || easing && !isFunction( easing ) && easing - }; - - // Go to the end state if fx are off - if ( jQuery.fx.off ) { - opt.duration = 0; - - } else { - if ( typeof opt.duration !== "number" ) { - if ( opt.duration in jQuery.fx.speeds ) { - opt.duration = jQuery.fx.speeds[ opt.duration ]; - - } else { - opt.duration = jQuery.fx.speeds._default; - } - } - } - - // Normalize opt.queue - true/undefined/null -> "fx" - if ( opt.queue == null || opt.queue === true ) { - opt.queue = "fx"; - } - - // Queueing - opt.old = opt.complete; - - opt.complete = function() { - if ( isFunction( opt.old ) ) { - opt.old.call( this ); - } - - if ( opt.queue ) { - jQuery.dequeue( this, opt.queue ); - } - }; - - return opt; -}; - -jQuery.fn.extend( { - fadeTo: function( speed, to, easing, callback ) { - - // Show any hidden elements after setting opacity to 0 - return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() - - // Animate to the value specified - .end().animate( { opacity: to }, speed, easing, callback ); - }, - animate: function( prop, speed, easing, callback ) { - var empty = jQuery.isEmptyObject( prop ), - optall = jQuery.speed( speed, easing, callback ), - doAnimation = function() { - - // Operate on a copy of prop so per-property easing won't be lost - var anim = Animation( this, jQuery.extend( {}, prop ), optall ); - - // Empty animations, or finishing resolves immediately - if ( empty || dataPriv.get( this, "finish" ) ) { - anim.stop( true ); - } - }; - doAnimation.finish = doAnimation; - - return empty || optall.queue === false ? - this.each( doAnimation ) : - this.queue( optall.queue, doAnimation ); - }, - stop: function( type, clearQueue, gotoEnd ) { - var stopQueue = function( hooks ) { - var stop = hooks.stop; - delete hooks.stop; - stop( gotoEnd ); - }; - - if ( typeof type !== "string" ) { - gotoEnd = clearQueue; - clearQueue = type; - type = undefined; - } - if ( clearQueue ) { - this.queue( type || "fx", [] ); - } - - return this.each( function() { - var dequeue = true, - index = type != null && type + "queueHooks", - timers = jQuery.timers, - data = dataPriv.get( this ); - - if ( index ) { - if ( data[ index ] && data[ index ].stop ) { - stopQueue( data[ index ] ); - } - } else { - for ( index in data ) { - if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { - stopQueue( data[ index ] ); - } - } - } - - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && - ( type == null || timers[ index ].queue === type ) ) { - - timers[ index ].anim.stop( gotoEnd ); - dequeue = false; - timers.splice( index, 1 ); - } - } - - // Start the next in the queue if the last step wasn't forced. - // Timers currently will call their complete callbacks, which - // will dequeue but only if they were gotoEnd. - if ( dequeue || !gotoEnd ) { - jQuery.dequeue( this, type ); - } - } ); - }, - finish: function( type ) { - if ( type !== false ) { - type = type || "fx"; - } - return this.each( function() { - var index, - data = dataPriv.get( this ), - queue = data[ type + "queue" ], - hooks = data[ type + "queueHooks" ], - timers = jQuery.timers, - length = queue ? queue.length : 0; - - // Enable finishing flag on private data - data.finish = true; - - // Empty the queue first - jQuery.queue( this, type, [] ); - - if ( hooks && hooks.stop ) { - hooks.stop.call( this, true ); - } - - // Look for any active animations, and finish them - for ( index = timers.length; index--; ) { - if ( timers[ index ].elem === this && timers[ index ].queue === type ) { - timers[ index ].anim.stop( true ); - timers.splice( index, 1 ); - } - } - - // Look for any animations in the old queue and finish them - for ( index = 0; index < length; index++ ) { - if ( queue[ index ] && queue[ index ].finish ) { - queue[ index ].finish.call( this ); - } - } - - // Turn off finishing flag - delete data.finish; - } ); - } -} ); - -jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { - var cssFn = jQuery.fn[ name ]; - jQuery.fn[ name ] = function( speed, easing, callback ) { - return speed == null || typeof speed === "boolean" ? - cssFn.apply( this, arguments ) : - this.animate( genFx( name, true ), speed, easing, callback ); - }; -} ); - -// Generate shortcuts for custom animations -jQuery.each( { - slideDown: genFx( "show" ), - slideUp: genFx( "hide" ), - slideToggle: genFx( "toggle" ), - fadeIn: { opacity: "show" }, - fadeOut: { opacity: "hide" }, - fadeToggle: { opacity: "toggle" } -}, function( name, props ) { - jQuery.fn[ name ] = function( speed, easing, callback ) { - return this.animate( props, speed, easing, callback ); - }; -} ); - -jQuery.timers = []; -jQuery.fx.tick = function() { - var timer, - i = 0, - timers = jQuery.timers; - - fxNow = Date.now(); - - for ( ; i < timers.length; i++ ) { - timer = timers[ i ]; - - // Run the timer and safely remove it when done (allowing for external removal) - if ( !timer() && timers[ i ] === timer ) { - timers.splice( i--, 1 ); - } - } - - if ( !timers.length ) { - jQuery.fx.stop(); - } - fxNow = undefined; -}; - -jQuery.fx.timer = function( timer ) { - jQuery.timers.push( timer ); - jQuery.fx.start(); -}; - -jQuery.fx.interval = 13; -jQuery.fx.start = function() { - if ( inProgress ) { - return; - } - - inProgress = true; - schedule(); -}; - -jQuery.fx.stop = function() { - inProgress = null; -}; - -jQuery.fx.speeds = { - slow: 600, - fast: 200, - - // Default speed - _default: 400 -}; - - -// Based off of the plugin by Clint Helfers, with permission. -// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ -jQuery.fn.delay = function( time, type ) { - time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; - type = type || "fx"; - - return this.queue( type, function( next, hooks ) { - var timeout = window.setTimeout( next, time ); - hooks.stop = function() { - window.clearTimeout( timeout ); - }; - } ); -}; - - -( function() { - var input = document.createElement( "input" ), - select = document.createElement( "select" ), - opt = select.appendChild( document.createElement( "option" ) ); - - input.type = "checkbox"; - - // Support: Android <=4.3 only - // Default value for a checkbox should be "on" - support.checkOn = input.value !== ""; - - // Support: IE <=11 only - // Must access selectedIndex to make default options select - support.optSelected = opt.selected; - - // Support: IE <=11 only - // An input loses its value after becoming a radio - input = document.createElement( "input" ); - input.value = "t"; - input.type = "radio"; - support.radioValue = input.value === "t"; -} )(); - - -var boolHook, - attrHandle = jQuery.expr.attrHandle; - -jQuery.fn.extend( { - attr: function( name, value ) { - return access( this, jQuery.attr, name, value, arguments.length > 1 ); - }, - - removeAttr: function( name ) { - return this.each( function() { - jQuery.removeAttr( this, name ); - } ); - } -} ); - -jQuery.extend( { - attr: function( elem, name, value ) { - var ret, hooks, - nType = elem.nodeType; - - // Don't get/set attributes on text, comment and attribute nodes - if ( nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - // Fallback to prop when attributes are not supported - if ( typeof elem.getAttribute === "undefined" ) { - return jQuery.prop( elem, name, value ); - } - - // Attribute hooks are determined by the lowercase version - // Grab necessary hook if one is defined - if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { - hooks = jQuery.attrHooks[ name.toLowerCase() ] || - ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); - } - - if ( value !== undefined ) { - if ( value === null ) { - jQuery.removeAttr( elem, name ); - return; - } - - if ( hooks && "set" in hooks && - ( ret = hooks.set( elem, value, name ) ) !== undefined ) { - return ret; - } - - elem.setAttribute( name, value + "" ); - return value; - } - - if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { - return ret; - } - - ret = jQuery.find.attr( elem, name ); - - // Non-existent attributes return null, we normalize to undefined - return ret == null ? undefined : ret; - }, - - attrHooks: { - type: { - set: function( elem, value ) { - if ( !support.radioValue && value === "radio" && - nodeName( elem, "input" ) ) { - var val = elem.value; - elem.setAttribute( "type", value ); - if ( val ) { - elem.value = val; - } - return value; - } - } - } - }, - - removeAttr: function( elem, value ) { - var name, - i = 0, - - // Attribute names can contain non-HTML whitespace characters - // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 - attrNames = value && value.match( rnothtmlwhite ); - - if ( attrNames && elem.nodeType === 1 ) { - while ( ( name = attrNames[ i++ ] ) ) { - elem.removeAttribute( name ); - } - } - } -} ); - -// Hooks for boolean attributes -boolHook = { - set: function( elem, value, name ) { - if ( value === false ) { - - // Remove boolean attributes when set to false - jQuery.removeAttr( elem, name ); - } else { - elem.setAttribute( name, name ); - } - return name; - } -}; - -jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { - var getter = attrHandle[ name ] || jQuery.find.attr; - - attrHandle[ name ] = function( elem, name, isXML ) { - var ret, handle, - lowercaseName = name.toLowerCase(); - - if ( !isXML ) { - - // Avoid an infinite loop by temporarily removing this function from the getter - handle = attrHandle[ lowercaseName ]; - attrHandle[ lowercaseName ] = ret; - ret = getter( elem, name, isXML ) != null ? - lowercaseName : - null; - attrHandle[ lowercaseName ] = handle; - } - return ret; - }; -} ); - - - - -var rfocusable = /^(?:input|select|textarea|button)$/i, - rclickable = /^(?:a|area)$/i; - -jQuery.fn.extend( { - prop: function( name, value ) { - return access( this, jQuery.prop, name, value, arguments.length > 1 ); - }, - - removeProp: function( name ) { - return this.each( function() { - delete this[ jQuery.propFix[ name ] || name ]; - } ); - } -} ); - -jQuery.extend( { - prop: function( elem, name, value ) { - var ret, hooks, - nType = elem.nodeType; - - // Don't get/set properties on text, comment and attribute nodes - if ( nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { - - // Fix name and attach hooks - name = jQuery.propFix[ name ] || name; - hooks = jQuery.propHooks[ name ]; - } - - if ( value !== undefined ) { - if ( hooks && "set" in hooks && - ( ret = hooks.set( elem, value, name ) ) !== undefined ) { - return ret; - } - - return ( elem[ name ] = value ); - } - - if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { - return ret; - } - - return elem[ name ]; - }, - - propHooks: { - tabIndex: { - get: function( elem ) { - - // Support: IE <=9 - 11 only - // elem.tabIndex doesn't always return the - // correct value when it hasn't been explicitly set - // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - // Use proper attribute retrieval(#12072) - var tabindex = jQuery.find.attr( elem, "tabindex" ); - - if ( tabindex ) { - return parseInt( tabindex, 10 ); - } - - if ( - rfocusable.test( elem.nodeName ) || - rclickable.test( elem.nodeName ) && - elem.href - ) { - return 0; - } - - return -1; - } - } - }, - - propFix: { - "for": "htmlFor", - "class": "className" - } -} ); - -// Support: IE <=11 only -// Accessing the selectedIndex property -// forces the browser to respect setting selected -// on the option -// The getter ensures a default option is selected -// when in an optgroup -// eslint rule "no-unused-expressions" is disabled for this code -// since it considers such accessions noop -if ( !support.optSelected ) { - jQuery.propHooks.selected = { - get: function( elem ) { - - /* eslint no-unused-expressions: "off" */ - - var parent = elem.parentNode; - if ( parent && parent.parentNode ) { - parent.parentNode.selectedIndex; - } - return null; - }, - set: function( elem ) { - - /* eslint no-unused-expressions: "off" */ - - var parent = elem.parentNode; - if ( parent ) { - parent.selectedIndex; - - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - } - }; -} - -jQuery.each( [ - "tabIndex", - "readOnly", - "maxLength", - "cellSpacing", - "cellPadding", - "rowSpan", - "colSpan", - "useMap", - "frameBorder", - "contentEditable" -], function() { - jQuery.propFix[ this.toLowerCase() ] = this; -} ); - - - - - // Strip and collapse whitespace according to HTML spec - // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace - function stripAndCollapse( value ) { - var tokens = value.match( rnothtmlwhite ) || []; - return tokens.join( " " ); - } - - -function getClass( elem ) { - return elem.getAttribute && elem.getAttribute( "class" ) || ""; -} - -function classesToArray( value ) { - if ( Array.isArray( value ) ) { - return value; - } - if ( typeof value === "string" ) { - return value.match( rnothtmlwhite ) || []; - } - return []; -} - -jQuery.fn.extend( { - addClass: function( value ) { - var classes, elem, cur, curValue, clazz, j, finalValue, - i = 0; - - if ( isFunction( value ) ) { - return this.each( function( j ) { - jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); - } ); - } - - classes = classesToArray( value ); - - if ( classes.length ) { - while ( ( elem = this[ i++ ] ) ) { - curValue = getClass( elem ); - cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); - - if ( cur ) { - j = 0; - while ( ( clazz = classes[ j++ ] ) ) { - if ( cur.indexOf( " " + clazz + " " ) < 0 ) { - cur += clazz + " "; - } - } - - // Only assign if different to avoid unneeded rendering. - finalValue = stripAndCollapse( cur ); - if ( curValue !== finalValue ) { - elem.setAttribute( "class", finalValue ); - } - } - } - } - - return this; - }, - - removeClass: function( value ) { - var classes, elem, cur, curValue, clazz, j, finalValue, - i = 0; - - if ( isFunction( value ) ) { - return this.each( function( j ) { - jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); - } ); - } - - if ( !arguments.length ) { - return this.attr( "class", "" ); - } - - classes = classesToArray( value ); - - if ( classes.length ) { - while ( ( elem = this[ i++ ] ) ) { - curValue = getClass( elem ); - - // This expression is here for better compressibility (see addClass) - cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); - - if ( cur ) { - j = 0; - while ( ( clazz = classes[ j++ ] ) ) { - - // Remove *all* instances - while ( cur.indexOf( " " + clazz + " " ) > -1 ) { - cur = cur.replace( " " + clazz + " ", " " ); - } - } - - // Only assign if different to avoid unneeded rendering. - finalValue = stripAndCollapse( cur ); - if ( curValue !== finalValue ) { - elem.setAttribute( "class", finalValue ); - } - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - var type = typeof value, - isValidValue = type === "string" || Array.isArray( value ); - - if ( typeof stateVal === "boolean" && isValidValue ) { - return stateVal ? this.addClass( value ) : this.removeClass( value ); - } - - if ( isFunction( value ) ) { - return this.each( function( i ) { - jQuery( this ).toggleClass( - value.call( this, i, getClass( this ), stateVal ), - stateVal - ); - } ); - } - - return this.each( function() { - var className, i, self, classNames; - - if ( isValidValue ) { - - // Toggle individual class names - i = 0; - self = jQuery( this ); - classNames = classesToArray( value ); - - while ( ( className = classNames[ i++ ] ) ) { - - // Check each className given, space separated list - if ( self.hasClass( className ) ) { - self.removeClass( className ); - } else { - self.addClass( className ); - } - } - - // Toggle whole class name - } else if ( value === undefined || type === "boolean" ) { - className = getClass( this ); - if ( className ) { - - // Store className if set - dataPriv.set( this, "__className__", className ); - } - - // If the element has a class name or if we're passed `false`, - // then remove the whole classname (if there was one, the above saved it). - // Otherwise bring back whatever was previously saved (if anything), - // falling back to the empty string if nothing was stored. - if ( this.setAttribute ) { - this.setAttribute( "class", - className || value === false ? - "" : - dataPriv.get( this, "__className__" ) || "" - ); - } - } - } ); - }, - - hasClass: function( selector ) { - var className, elem, - i = 0; - - className = " " + selector + " "; - while ( ( elem = this[ i++ ] ) ) { - if ( elem.nodeType === 1 && - ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { - return true; - } - } - - return false; - } -} ); - - - - -var rreturn = /\r/g; - -jQuery.fn.extend( { - val: function( value ) { - var hooks, ret, valueIsFunction, - elem = this[ 0 ]; - - if ( !arguments.length ) { - if ( elem ) { - hooks = jQuery.valHooks[ elem.type ] || - jQuery.valHooks[ elem.nodeName.toLowerCase() ]; - - if ( hooks && - "get" in hooks && - ( ret = hooks.get( elem, "value" ) ) !== undefined - ) { - return ret; - } - - ret = elem.value; - - // Handle most common string cases - if ( typeof ret === "string" ) { - return ret.replace( rreturn, "" ); - } - - // Handle cases where value is null/undef or number - return ret == null ? "" : ret; - } - - return; - } - - valueIsFunction = isFunction( value ); - - return this.each( function( i ) { - var val; - - if ( this.nodeType !== 1 ) { - return; - } - - if ( valueIsFunction ) { - val = value.call( this, i, jQuery( this ).val() ); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if ( val == null ) { - val = ""; - - } else if ( typeof val === "number" ) { - val += ""; - - } else if ( Array.isArray( val ) ) { - val = jQuery.map( val, function( value ) { - return value == null ? "" : value + ""; - } ); - } - - hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; - - // If set returns undefined, fall back to normal setting - if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { - this.value = val; - } - } ); - } -} ); - -jQuery.extend( { - valHooks: { - option: { - get: function( elem ) { - - var val = jQuery.find.attr( elem, "value" ); - return val != null ? - val : - - // Support: IE <=10 - 11 only - // option.text throws exceptions (#14686, #14858) - // Strip and collapse whitespace - // https://html.spec.whatwg.org/#strip-and-collapse-whitespace - stripAndCollapse( jQuery.text( elem ) ); - } - }, - select: { - get: function( elem ) { - var value, option, i, - options = elem.options, - index = elem.selectedIndex, - one = elem.type === "select-one", - values = one ? null : [], - max = one ? index + 1 : options.length; - - if ( index < 0 ) { - i = max; - - } else { - i = one ? index : 0; - } - - // Loop through all the selected options - for ( ; i < max; i++ ) { - option = options[ i ]; - - // Support: IE <=9 only - // IE8-9 doesn't update selected after form reset (#2551) - if ( ( option.selected || i === index ) && - - // Don't return options that are disabled or in a disabled optgroup - !option.disabled && - ( !option.parentNode.disabled || - !nodeName( option.parentNode, "optgroup" ) ) ) { - - // Get the specific value for the option - value = jQuery( option ).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - return values; - }, - - set: function( elem, value ) { - var optionSet, option, - options = elem.options, - values = jQuery.makeArray( value ), - i = options.length; - - while ( i-- ) { - option = options[ i ]; - - /* eslint-disable no-cond-assign */ - - if ( option.selected = - jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 - ) { - optionSet = true; - } - - /* eslint-enable no-cond-assign */ - } - - // Force browsers to behave consistently when non-matching value is set - if ( !optionSet ) { - elem.selectedIndex = -1; - } - return values; - } - } - } -} ); - -// Radios and checkboxes getter/setter -jQuery.each( [ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = { - set: function( elem, value ) { - if ( Array.isArray( value ) ) { - return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); - } - } - }; - if ( !support.checkOn ) { - jQuery.valHooks[ this ].get = function( elem ) { - return elem.getAttribute( "value" ) === null ? "on" : elem.value; - }; - } -} ); - - - - -// Return jQuery for attributes-only inclusion - - -support.focusin = "onfocusin" in window; - - -var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, - stopPropagationCallback = function( e ) { - e.stopPropagation(); - }; - -jQuery.extend( jQuery.event, { - - trigger: function( event, data, elem, onlyHandlers ) { - - var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, - eventPath = [ elem || document ], - type = hasOwn.call( event, "type" ) ? event.type : event, - namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; - - cur = lastElement = tmp = elem = elem || document; - - // Don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { - return; - } - - if ( type.indexOf( "." ) > -1 ) { - - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split( "." ); - type = namespaces.shift(); - namespaces.sort(); - } - ontype = type.indexOf( ":" ) < 0 && "on" + type; - - // Caller can pass in a jQuery.Event object, Object, or just an event type string - event = event[ jQuery.expando ] ? - event : - new jQuery.Event( type, typeof event === "object" && event ); - - // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) - event.isTrigger = onlyHandlers ? 2 : 3; - event.namespace = namespaces.join( "." ); - event.rnamespace = event.namespace ? - new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : - null; - - // Clean up the event in case it is being reused - event.result = undefined; - if ( !event.target ) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data == null ? - [ event ] : - jQuery.makeArray( data, [ event ] ); - - // Allow special events to draw outside the lines - special = jQuery.event.special[ type ] || {}; - if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { - - bubbleType = special.delegateType || type; - if ( !rfocusMorph.test( bubbleType + type ) ) { - cur = cur.parentNode; - } - for ( ; cur; cur = cur.parentNode ) { - eventPath.push( cur ); - tmp = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if ( tmp === ( elem.ownerDocument || document ) ) { - eventPath.push( tmp.defaultView || tmp.parentWindow || window ); - } - } - - // Fire handlers on the event path - i = 0; - while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { - lastElement = cur; - event.type = i > 1 ? - bubbleType : - special.bindType || type; - - // jQuery handler - handle = ( - dataPriv.get( cur, "events" ) || Object.create( null ) - )[ event.type ] && - dataPriv.get( cur, "handle" ); - if ( handle ) { - handle.apply( cur, data ); - } - - // Native handler - handle = ontype && cur[ ontype ]; - if ( handle && handle.apply && acceptData( cur ) ) { - event.result = handle.apply( cur, data ); - if ( event.result === false ) { - event.preventDefault(); - } - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if ( !onlyHandlers && !event.isDefaultPrevented() ) { - - if ( ( !special._default || - special._default.apply( eventPath.pop(), data ) === false ) && - acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name as the event. - // Don't do default actions on window, that's where global variables be (#6170) - if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { - - // Don't re-trigger an onFOO event when we call its FOO() method - tmp = elem[ ontype ]; - - if ( tmp ) { - elem[ ontype ] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - - if ( event.isPropagationStopped() ) { - lastElement.addEventListener( type, stopPropagationCallback ); - } - - elem[ type ](); - - if ( event.isPropagationStopped() ) { - lastElement.removeEventListener( type, stopPropagationCallback ); - } - - jQuery.event.triggered = undefined; - - if ( tmp ) { - elem[ ontype ] = tmp; - } - } - } - } - - return event.result; - }, - - // Piggyback on a donor event to simulate a different one - // Used only for `focus(in | out)` events - simulate: function( type, elem, event ) { - var e = jQuery.extend( - new jQuery.Event(), - event, - { - type: type, - isSimulated: true - } - ); - - jQuery.event.trigger( e, null, elem ); - } - -} ); - -jQuery.fn.extend( { - - trigger: function( type, data ) { - return this.each( function() { - jQuery.event.trigger( type, data, this ); - } ); - }, - triggerHandler: function( type, data ) { - var elem = this[ 0 ]; - if ( elem ) { - return jQuery.event.trigger( type, data, elem, true ); - } - } -} ); - - -// Support: Firefox <=44 -// Firefox doesn't have focus(in | out) events -// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 -// -// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 -// focus(in | out) events fire after focus & blur events, -// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order -// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 -if ( !support.focusin ) { - jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler on the document while someone wants focusin/focusout - var handler = function( event ) { - jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); - }; - - jQuery.event.special[ fix ] = { - setup: function() { - - // Handle: regular nodes (via `this.ownerDocument`), window - // (via `this.document`) & document (via `this`). - var doc = this.ownerDocument || this.document || this, - attaches = dataPriv.access( doc, fix ); - - if ( !attaches ) { - doc.addEventListener( orig, handler, true ); - } - dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); - }, - teardown: function() { - var doc = this.ownerDocument || this.document || this, - attaches = dataPriv.access( doc, fix ) - 1; - - if ( !attaches ) { - doc.removeEventListener( orig, handler, true ); - dataPriv.remove( doc, fix ); - - } else { - dataPriv.access( doc, fix, attaches ); - } - } - }; - } ); -} -var location = window.location; - -var nonce = { guid: Date.now() }; - -var rquery = ( /\?/ ); - - - -// Cross-browser xml parsing -jQuery.parseXML = function( data ) { - var xml; - if ( !data || typeof data !== "string" ) { - return null; - } - - // Support: IE 9 - 11 only - // IE throws on parseFromString with invalid input. - try { - xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); - } catch ( e ) { - xml = undefined; - } - - if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { - jQuery.error( "Invalid XML: " + data ); - } - return xml; -}; - - -var - rbracket = /\[\]$/, - rCRLF = /\r?\n/g, - rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, - rsubmittable = /^(?:input|select|textarea|keygen)/i; - -function buildParams( prefix, obj, traditional, add ) { - var name; - - if ( Array.isArray( obj ) ) { - - // Serialize array item. - jQuery.each( obj, function( i, v ) { - if ( traditional || rbracket.test( prefix ) ) { - - // Treat each array item as a scalar. - add( prefix, v ); - - } else { - - // Item is non-scalar (array or object), encode its numeric index. - buildParams( - prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", - v, - traditional, - add - ); - } - } ); - - } else if ( !traditional && toType( obj ) === "object" ) { - - // Serialize object item. - for ( name in obj ) { - buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); - } - - } else { - - // Serialize scalar item. - add( prefix, obj ); - } -} - -// Serialize an array of form elements or a set of -// key/values into a query string -jQuery.param = function( a, traditional ) { - var prefix, - s = [], - add = function( key, valueOrFunction ) { - - // If value is a function, invoke it and use its return value - var value = isFunction( valueOrFunction ) ? - valueOrFunction() : - valueOrFunction; - - s[ s.length ] = encodeURIComponent( key ) + "=" + - encodeURIComponent( value == null ? "" : value ); - }; - - if ( a == null ) { - return ""; - } - - // If an array was passed in, assume that it is an array of form elements. - if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { - - // Serialize the form elements - jQuery.each( a, function() { - add( this.name, this.value ); - } ); - - } else { - - // If traditional, encode the "old" way (the way 1.3.2 or older - // did it), otherwise encode params recursively. - for ( prefix in a ) { - buildParams( prefix, a[ prefix ], traditional, add ); - } - } - - // Return the resulting serialization - return s.join( "&" ); -}; - -jQuery.fn.extend( { - serialize: function() { - return jQuery.param( this.serializeArray() ); - }, - serializeArray: function() { - return this.map( function() { - - // Can add propHook for "elements" to filter or add form elements - var elements = jQuery.prop( this, "elements" ); - return elements ? jQuery.makeArray( elements ) : this; - } ) - .filter( function() { - var type = this.type; - - // Use .is( ":disabled" ) so that fieldset[disabled] works - return this.name && !jQuery( this ).is( ":disabled" ) && - rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && - ( this.checked || !rcheckableType.test( type ) ); - } ) - .map( function( _i, elem ) { - var val = jQuery( this ).val(); - - if ( val == null ) { - return null; - } - - if ( Array.isArray( val ) ) { - return jQuery.map( val, function( val ) { - return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - } ); - } - - return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; - } ).get(); - } -} ); - - -var - r20 = /%20/g, - rhash = /#.*$/, - rantiCache = /([?&])_=[^&]*/, - rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, - - // #7653, #8125, #8152: local protocol detection - rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, - rnoContent = /^(?:GET|HEAD)$/, - rprotocol = /^\/\//, - - /* Prefilters - * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) - * 2) These are called: - * - BEFORE asking for a transport - * - AFTER param serialization (s.data is a string if s.processData is true) - * 3) key is the dataType - * 4) the catchall symbol "*" can be used - * 5) execution will start with transport dataType and THEN continue down to "*" if needed - */ - prefilters = {}, - - /* Transports bindings - * 1) key is the dataType - * 2) the catchall symbol "*" can be used - * 3) selection will start with transport dataType and THEN go to "*" if needed - */ - transports = {}, - - // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression - allTypes = "*/".concat( "*" ), - - // Anchor tag for parsing the document origin - originAnchor = document.createElement( "a" ); - originAnchor.href = location.href; - -// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport -function addToPrefiltersOrTransports( structure ) { - - // dataTypeExpression is optional and defaults to "*" - return function( dataTypeExpression, func ) { - - if ( typeof dataTypeExpression !== "string" ) { - func = dataTypeExpression; - dataTypeExpression = "*"; - } - - var dataType, - i = 0, - dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; - - if ( isFunction( func ) ) { - - // For each dataType in the dataTypeExpression - while ( ( dataType = dataTypes[ i++ ] ) ) { - - // Prepend if requested - if ( dataType[ 0 ] === "+" ) { - dataType = dataType.slice( 1 ) || "*"; - ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); - - // Otherwise append - } else { - ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); - } - } - } - }; -} - -// Base inspection function for prefilters and transports -function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { - - var inspected = {}, - seekingTransport = ( structure === transports ); - - function inspect( dataType ) { - var selected; - inspected[ dataType ] = true; - jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { - var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); - if ( typeof dataTypeOrTransport === "string" && - !seekingTransport && !inspected[ dataTypeOrTransport ] ) { - - options.dataTypes.unshift( dataTypeOrTransport ); - inspect( dataTypeOrTransport ); - return false; - } else if ( seekingTransport ) { - return !( selected = dataTypeOrTransport ); - } - } ); - return selected; - } - - return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); -} - -// A special extend for ajax options -// that takes "flat" options (not to be deep extended) -// Fixes #9887 -function ajaxExtend( target, src ) { - var key, deep, - flatOptions = jQuery.ajaxSettings.flatOptions || {}; - - for ( key in src ) { - if ( src[ key ] !== undefined ) { - ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; - } - } - if ( deep ) { - jQuery.extend( true, target, deep ); - } - - return target; -} - -/* Handles responses to an ajax request: - * - finds the right dataType (mediates between content-type and expected dataType) - * - returns the corresponding response - */ -function ajaxHandleResponses( s, jqXHR, responses ) { - - var ct, type, finalDataType, firstDataType, - contents = s.contents, - dataTypes = s.dataTypes; - - // Remove auto dataType and get content-type in the process - while ( dataTypes[ 0 ] === "*" ) { - dataTypes.shift(); - if ( ct === undefined ) { - ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); - } - } - - // Check if we're dealing with a known content-type - if ( ct ) { - for ( type in contents ) { - if ( contents[ type ] && contents[ type ].test( ct ) ) { - dataTypes.unshift( type ); - break; - } - } - } - - // Check to see if we have a response for the expected dataType - if ( dataTypes[ 0 ] in responses ) { - finalDataType = dataTypes[ 0 ]; - } else { - - // Try convertible dataTypes - for ( type in responses ) { - if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { - finalDataType = type; - break; - } - if ( !firstDataType ) { - firstDataType = type; - } - } - - // Or just use first one - finalDataType = finalDataType || firstDataType; - } - - // If we found a dataType - // We add the dataType to the list if needed - // and return the corresponding response - if ( finalDataType ) { - if ( finalDataType !== dataTypes[ 0 ] ) { - dataTypes.unshift( finalDataType ); - } - return responses[ finalDataType ]; - } -} - -/* Chain conversions given the request and the original response - * Also sets the responseXXX fields on the jqXHR instance - */ -function ajaxConvert( s, response, jqXHR, isSuccess ) { - var conv2, current, conv, tmp, prev, - converters = {}, - - // Work with a copy of dataTypes in case we need to modify it for conversion - dataTypes = s.dataTypes.slice(); - - // Create converters map with lowercased keys - if ( dataTypes[ 1 ] ) { - for ( conv in s.converters ) { - converters[ conv.toLowerCase() ] = s.converters[ conv ]; - } - } - - current = dataTypes.shift(); - - // Convert to each sequential dataType - while ( current ) { - - if ( s.responseFields[ current ] ) { - jqXHR[ s.responseFields[ current ] ] = response; - } - - // Apply the dataFilter if provided - if ( !prev && isSuccess && s.dataFilter ) { - response = s.dataFilter( response, s.dataType ); - } - - prev = current; - current = dataTypes.shift(); - - if ( current ) { - - // There's only work to do if current dataType is non-auto - if ( current === "*" ) { - - current = prev; - - // Convert response if prev dataType is non-auto and differs from current - } else if ( prev !== "*" && prev !== current ) { - - // Seek a direct converter - conv = converters[ prev + " " + current ] || converters[ "* " + current ]; - - // If none found, seek a pair - if ( !conv ) { - for ( conv2 in converters ) { - - // If conv2 outputs current - tmp = conv2.split( " " ); - if ( tmp[ 1 ] === current ) { - - // If prev can be converted to accepted input - conv = converters[ prev + " " + tmp[ 0 ] ] || - converters[ "* " + tmp[ 0 ] ]; - if ( conv ) { - - // Condense equivalence converters - if ( conv === true ) { - conv = converters[ conv2 ]; - - // Otherwise, insert the intermediate dataType - } else if ( converters[ conv2 ] !== true ) { - current = tmp[ 0 ]; - dataTypes.unshift( tmp[ 1 ] ); - } - break; - } - } - } - } - - // Apply converter (if not an equivalence) - if ( conv !== true ) { - - // Unless errors are allowed to bubble, catch and return them - if ( conv && s.throws ) { - response = conv( response ); - } else { - try { - response = conv( response ); - } catch ( e ) { - return { - state: "parsererror", - error: conv ? e : "No conversion from " + prev + " to " + current - }; - } - } - } - } - } - } - - return { state: "success", data: response }; -} - -jQuery.extend( { - - // Counter for holding the number of active queries - active: 0, - - // Last-Modified header cache for next request - lastModified: {}, - etag: {}, - - ajaxSettings: { - url: location.href, - type: "GET", - isLocal: rlocalProtocol.test( location.protocol ), - global: true, - processData: true, - async: true, - contentType: "application/x-www-form-urlencoded; charset=UTF-8", - - /* - timeout: 0, - data: null, - dataType: null, - username: null, - password: null, - cache: null, - throws: false, - traditional: false, - headers: {}, - */ - - accepts: { - "*": allTypes, - text: "text/plain", - html: "text/html", - xml: "application/xml, text/xml", - json: "application/json, text/javascript" - }, - - contents: { - xml: /\bxml\b/, - html: /\bhtml/, - json: /\bjson\b/ - }, - - responseFields: { - xml: "responseXML", - text: "responseText", - json: "responseJSON" - }, - - // Data converters - // Keys separate source (or catchall "*") and destination types with a single space - converters: { - - // Convert anything to text - "* text": String, - - // Text to html (true = no transformation) - "text html": true, - - // Evaluate text as a json expression - "text json": JSON.parse, - - // Parse text as xml - "text xml": jQuery.parseXML - }, - - // For options that shouldn't be deep extended: - // you can add your own custom options here if - // and when you create one that shouldn't be - // deep extended (see ajaxExtend) - flatOptions: { - url: true, - context: true - } - }, - - // Creates a full fledged settings object into target - // with both ajaxSettings and settings fields. - // If target is omitted, writes into ajaxSettings. - ajaxSetup: function( target, settings ) { - return settings ? - - // Building a settings object - ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : - - // Extending ajaxSettings - ajaxExtend( jQuery.ajaxSettings, target ); - }, - - ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), - ajaxTransport: addToPrefiltersOrTransports( transports ), - - // Main method - ajax: function( url, options ) { - - // If url is an object, simulate pre-1.5 signature - if ( typeof url === "object" ) { - options = url; - url = undefined; - } - - // Force options to be an object - options = options || {}; - - var transport, - - // URL without anti-cache param - cacheURL, - - // Response headers - responseHeadersString, - responseHeaders, - - // timeout handle - timeoutTimer, - - // Url cleanup var - urlAnchor, - - // Request state (becomes false upon send and true upon completion) - completed, - - // To know if global events are to be dispatched - fireGlobals, - - // Loop variable - i, - - // uncached part of the url - uncached, - - // Create the final options object - s = jQuery.ajaxSetup( {}, options ), - - // Callbacks context - callbackContext = s.context || s, - - // Context for global events is callbackContext if it is a DOM node or jQuery collection - globalEventContext = s.context && - ( callbackContext.nodeType || callbackContext.jquery ) ? - jQuery( callbackContext ) : - jQuery.event, - - // Deferreds - deferred = jQuery.Deferred(), - completeDeferred = jQuery.Callbacks( "once memory" ), - - // Status-dependent callbacks - statusCode = s.statusCode || {}, - - // Headers (they are sent all at once) - requestHeaders = {}, - requestHeadersNames = {}, - - // Default abort message - strAbort = "canceled", - - // Fake xhr - jqXHR = { - readyState: 0, - - // Builds headers hashtable if needed - getResponseHeader: function( key ) { - var match; - if ( completed ) { - if ( !responseHeaders ) { - responseHeaders = {}; - while ( ( match = rheaders.exec( responseHeadersString ) ) ) { - responseHeaders[ match[ 1 ].toLowerCase() + " " ] = - ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) - .concat( match[ 2 ] ); - } - } - match = responseHeaders[ key.toLowerCase() + " " ]; - } - return match == null ? null : match.join( ", " ); - }, - - // Raw string - getAllResponseHeaders: function() { - return completed ? responseHeadersString : null; - }, - - // Caches the header - setRequestHeader: function( name, value ) { - if ( completed == null ) { - name = requestHeadersNames[ name.toLowerCase() ] = - requestHeadersNames[ name.toLowerCase() ] || name; - requestHeaders[ name ] = value; - } - return this; - }, - - // Overrides response content-type header - overrideMimeType: function( type ) { - if ( completed == null ) { - s.mimeType = type; - } - return this; - }, - - // Status-dependent callbacks - statusCode: function( map ) { - var code; - if ( map ) { - if ( completed ) { - - // Execute the appropriate callbacks - jqXHR.always( map[ jqXHR.status ] ); - } else { - - // Lazy-add the new callbacks in a way that preserves old ones - for ( code in map ) { - statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; - } - } - } - return this; - }, - - // Cancel the request - abort: function( statusText ) { - var finalText = statusText || strAbort; - if ( transport ) { - transport.abort( finalText ); - } - done( 0, finalText ); - return this; - } - }; - - // Attach deferreds - deferred.promise( jqXHR ); - - // Add protocol if not provided (prefilters might expect it) - // Handle falsy url in the settings object (#10093: consistency with old signature) - // We also use the url parameter if available - s.url = ( ( url || s.url || location.href ) + "" ) - .replace( rprotocol, location.protocol + "//" ); - - // Alias method option to type as per ticket #12004 - s.type = options.method || options.type || s.method || s.type; - - // Extract dataTypes list - s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; - - // A cross-domain request is in order when the origin doesn't match the current origin. - if ( s.crossDomain == null ) { - urlAnchor = document.createElement( "a" ); - - // Support: IE <=8 - 11, Edge 12 - 15 - // IE throws exception on accessing the href property if url is malformed, - // e.g. http://example.com:80x/ - try { - urlAnchor.href = s.url; - - // Support: IE <=8 - 11 only - // Anchor's host property isn't correctly set when s.url is relative - urlAnchor.href = urlAnchor.href; - s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== - urlAnchor.protocol + "//" + urlAnchor.host; - } catch ( e ) { - - // If there is an error parsing the URL, assume it is crossDomain, - // it can be rejected by the transport if it is invalid - s.crossDomain = true; - } - } - - // Convert data if not already a string - if ( s.data && s.processData && typeof s.data !== "string" ) { - s.data = jQuery.param( s.data, s.traditional ); - } - - // Apply prefilters - inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); - - // If request was aborted inside a prefilter, stop there - if ( completed ) { - return jqXHR; - } - - // We can fire global events as of now if asked to - // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) - fireGlobals = jQuery.event && s.global; - - // Watch for a new set of requests - if ( fireGlobals && jQuery.active++ === 0 ) { - jQuery.event.trigger( "ajaxStart" ); - } - - // Uppercase the type - s.type = s.type.toUpperCase(); - - // Determine if request has content - s.hasContent = !rnoContent.test( s.type ); - - // Save the URL in case we're toying with the If-Modified-Since - // and/or If-None-Match header later on - // Remove hash to simplify url manipulation - cacheURL = s.url.replace( rhash, "" ); - - // More options handling for requests with no content - if ( !s.hasContent ) { - - // Remember the hash so we can put it back - uncached = s.url.slice( cacheURL.length ); - - // If data is available and should be processed, append data to url - if ( s.data && ( s.processData || typeof s.data === "string" ) ) { - cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; - - // #9682: remove data so that it's not used in an eventual retry - delete s.data; - } - - // Add or update anti-cache param if needed - if ( s.cache === false ) { - cacheURL = cacheURL.replace( rantiCache, "$1" ); - uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + - uncached; - } - - // Put hash and anti-cache on the URL that will be requested (gh-1732) - s.url = cacheURL + uncached; - - // Change '%20' to '+' if this is encoded form body content (gh-2658) - } else if ( s.data && s.processData && - ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { - s.data = s.data.replace( r20, "+" ); - } - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - if ( jQuery.lastModified[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); - } - if ( jQuery.etag[ cacheURL ] ) { - jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); - } - } - - // Set the correct header, if data is being sent - if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { - jqXHR.setRequestHeader( "Content-Type", s.contentType ); - } - - // Set the Accepts header for the server, depending on the dataType - jqXHR.setRequestHeader( - "Accept", - s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? - s.accepts[ s.dataTypes[ 0 ] ] + - ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : - s.accepts[ "*" ] - ); - - // Check for headers option - for ( i in s.headers ) { - jqXHR.setRequestHeader( i, s.headers[ i ] ); - } - - // Allow custom headers/mimetypes and early abort - if ( s.beforeSend && - ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { - - // Abort if not done already and return - return jqXHR.abort(); - } - - // Aborting is no longer a cancellation - strAbort = "abort"; - - // Install callbacks on deferreds - completeDeferred.add( s.complete ); - jqXHR.done( s.success ); - jqXHR.fail( s.error ); - - // Get transport - transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); - - // If no transport, we auto-abort - if ( !transport ) { - done( -1, "No Transport" ); - } else { - jqXHR.readyState = 1; - - // Send global event - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); - } - - // If request was aborted inside ajaxSend, stop there - if ( completed ) { - return jqXHR; - } - - // Timeout - if ( s.async && s.timeout > 0 ) { - timeoutTimer = window.setTimeout( function() { - jqXHR.abort( "timeout" ); - }, s.timeout ); - } - - try { - completed = false; - transport.send( requestHeaders, done ); - } catch ( e ) { - - // Rethrow post-completion exceptions - if ( completed ) { - throw e; - } - - // Propagate others as results - done( -1, e ); - } - } - - // Callback for when everything is done - function done( status, nativeStatusText, responses, headers ) { - var isSuccess, success, error, response, modified, - statusText = nativeStatusText; - - // Ignore repeat invocations - if ( completed ) { - return; - } - - completed = true; - - // Clear timeout if it exists - if ( timeoutTimer ) { - window.clearTimeout( timeoutTimer ); - } - - // Dereference transport for early garbage collection - // (no matter how long the jqXHR object will be used) - transport = undefined; - - // Cache response headers - responseHeadersString = headers || ""; - - // Set readyState - jqXHR.readyState = status > 0 ? 4 : 0; - - // Determine if successful - isSuccess = status >= 200 && status < 300 || status === 304; - - // Get response data - if ( responses ) { - response = ajaxHandleResponses( s, jqXHR, responses ); - } - - // Use a noop converter for missing script - if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) { - s.converters[ "text script" ] = function() {}; - } - - // Convert no matter what (that way responseXXX fields are always set) - response = ajaxConvert( s, response, jqXHR, isSuccess ); - - // If successful, handle type chaining - if ( isSuccess ) { - - // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. - if ( s.ifModified ) { - modified = jqXHR.getResponseHeader( "Last-Modified" ); - if ( modified ) { - jQuery.lastModified[ cacheURL ] = modified; - } - modified = jqXHR.getResponseHeader( "etag" ); - if ( modified ) { - jQuery.etag[ cacheURL ] = modified; - } - } - - // if no content - if ( status === 204 || s.type === "HEAD" ) { - statusText = "nocontent"; - - // if not modified - } else if ( status === 304 ) { - statusText = "notmodified"; - - // If we have data, let's convert it - } else { - statusText = response.state; - success = response.data; - error = response.error; - isSuccess = !error; - } - } else { - - // Extract error from statusText and normalize for non-aborts - error = statusText; - if ( status || !statusText ) { - statusText = "error"; - if ( status < 0 ) { - status = 0; - } - } - } - - // Set data for the fake xhr object - jqXHR.status = status; - jqXHR.statusText = ( nativeStatusText || statusText ) + ""; - - // Success/Error - if ( isSuccess ) { - deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); - } else { - deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); - } - - // Status-dependent callbacks - jqXHR.statusCode( statusCode ); - statusCode = undefined; - - if ( fireGlobals ) { - globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", - [ jqXHR, s, isSuccess ? success : error ] ); - } - - // Complete - completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); - - if ( fireGlobals ) { - globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); - - // Handle the global AJAX counter - if ( !( --jQuery.active ) ) { - jQuery.event.trigger( "ajaxStop" ); - } - } - } - - return jqXHR; - }, - - getJSON: function( url, data, callback ) { - return jQuery.get( url, data, callback, "json" ); - }, - - getScript: function( url, callback ) { - return jQuery.get( url, undefined, callback, "script" ); - } -} ); - -jQuery.each( [ "get", "post" ], function( _i, method ) { - jQuery[ method ] = function( url, data, callback, type ) { - - // Shift arguments if data argument was omitted - if ( isFunction( data ) ) { - type = type || callback; - callback = data; - data = undefined; - } - - // The url can be an options object (which then must have .url) - return jQuery.ajax( jQuery.extend( { - url: url, - type: method, - dataType: type, - data: data, - success: callback - }, jQuery.isPlainObject( url ) && url ) ); - }; -} ); - -jQuery.ajaxPrefilter( function( s ) { - var i; - for ( i in s.headers ) { - if ( i.toLowerCase() === "content-type" ) { - s.contentType = s.headers[ i ] || ""; - } - } -} ); - - -jQuery._evalUrl = function( url, options, doc ) { - return jQuery.ajax( { - url: url, - - // Make this explicit, since user can override this through ajaxSetup (#11264) - type: "GET", - dataType: "script", - cache: true, - async: false, - global: false, - - // Only evaluate the response if it is successful (gh-4126) - // dataFilter is not invoked for failure responses, so using it instead - // of the default converter is kludgy but it works. - converters: { - "text script": function() {} - }, - dataFilter: function( response ) { - jQuery.globalEval( response, options, doc ); - } - } ); -}; - - -jQuery.fn.extend( { - wrapAll: function( html ) { - var wrap; - - if ( this[ 0 ] ) { - if ( isFunction( html ) ) { - html = html.call( this[ 0 ] ); - } - - // The elements to wrap the target around - wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); - - if ( this[ 0 ].parentNode ) { - wrap.insertBefore( this[ 0 ] ); - } - - wrap.map( function() { - var elem = this; - - while ( elem.firstElementChild ) { - elem = elem.firstElementChild; - } - - return elem; - } ).append( this ); - } - - return this; - }, - - wrapInner: function( html ) { - if ( isFunction( html ) ) { - return this.each( function( i ) { - jQuery( this ).wrapInner( html.call( this, i ) ); - } ); - } - - return this.each( function() { - var self = jQuery( this ), - contents = self.contents(); - - if ( contents.length ) { - contents.wrapAll( html ); - - } else { - self.append( html ); - } - } ); - }, - - wrap: function( html ) { - var htmlIsFunction = isFunction( html ); - - return this.each( function( i ) { - jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); - } ); - }, - - unwrap: function( selector ) { - this.parent( selector ).not( "body" ).each( function() { - jQuery( this ).replaceWith( this.childNodes ); - } ); - return this; - } -} ); - - -jQuery.expr.pseudos.hidden = function( elem ) { - return !jQuery.expr.pseudos.visible( elem ); -}; -jQuery.expr.pseudos.visible = function( elem ) { - return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); -}; - - - - -jQuery.ajaxSettings.xhr = function() { - try { - return new window.XMLHttpRequest(); - } catch ( e ) {} -}; - -var xhrSuccessStatus = { - - // File protocol always yields status code 0, assume 200 - 0: 200, - - // Support: IE <=9 only - // #1450: sometimes IE returns 1223 when it should be 204 - 1223: 204 - }, - xhrSupported = jQuery.ajaxSettings.xhr(); - -support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); -support.ajax = xhrSupported = !!xhrSupported; - -jQuery.ajaxTransport( function( options ) { - var callback, errorCallback; - - // Cross domain only allowed if supported through XMLHttpRequest - if ( support.cors || xhrSupported && !options.crossDomain ) { - return { - send: function( headers, complete ) { - var i, - xhr = options.xhr(); - - xhr.open( - options.type, - options.url, - options.async, - options.username, - options.password - ); - - // Apply custom fields if provided - if ( options.xhrFields ) { - for ( i in options.xhrFields ) { - xhr[ i ] = options.xhrFields[ i ]; - } - } - - // Override mime type if needed - if ( options.mimeType && xhr.overrideMimeType ) { - xhr.overrideMimeType( options.mimeType ); - } - - // X-Requested-With header - // For cross-domain requests, seeing as conditions for a preflight are - // akin to a jigsaw puzzle, we simply never set it to be sure. - // (it can always be set on a per-request basis or even using ajaxSetup) - // For same-domain requests, won't change header if already provided. - if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { - headers[ "X-Requested-With" ] = "XMLHttpRequest"; - } - - // Set headers - for ( i in headers ) { - xhr.setRequestHeader( i, headers[ i ] ); - } - - // Callback - callback = function( type ) { - return function() { - if ( callback ) { - callback = errorCallback = xhr.onload = - xhr.onerror = xhr.onabort = xhr.ontimeout = - xhr.onreadystatechange = null; - - if ( type === "abort" ) { - xhr.abort(); - } else if ( type === "error" ) { - - // Support: IE <=9 only - // On a manual native abort, IE9 throws - // errors on any property access that is not readyState - if ( typeof xhr.status !== "number" ) { - complete( 0, "error" ); - } else { - complete( - - // File: protocol always yields status 0; see #8605, #14207 - xhr.status, - xhr.statusText - ); - } - } else { - complete( - xhrSuccessStatus[ xhr.status ] || xhr.status, - xhr.statusText, - - // Support: IE <=9 only - // IE9 has no XHR2 but throws on binary (trac-11426) - // For XHR2 non-text, let the caller handle it (gh-2498) - ( xhr.responseType || "text" ) !== "text" || - typeof xhr.responseText !== "string" ? - { binary: xhr.response } : - { text: xhr.responseText }, - xhr.getAllResponseHeaders() - ); - } - } - }; - }; - - // Listen to events - xhr.onload = callback(); - errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); - - // Support: IE 9 only - // Use onreadystatechange to replace onabort - // to handle uncaught aborts - if ( xhr.onabort !== undefined ) { - xhr.onabort = errorCallback; - } else { - xhr.onreadystatechange = function() { - - // Check readyState before timeout as it changes - if ( xhr.readyState === 4 ) { - - // Allow onerror to be called first, - // but that will not handle a native abort - // Also, save errorCallback to a variable - // as xhr.onerror cannot be accessed - window.setTimeout( function() { - if ( callback ) { - errorCallback(); - } - } ); - } - }; - } - - // Create the abort callback - callback = callback( "abort" ); - - try { - - // Do send the request (this may raise an exception) - xhr.send( options.hasContent && options.data || null ); - } catch ( e ) { - - // #14683: Only rethrow if this hasn't been notified as an error yet - if ( callback ) { - throw e; - } - } - }, - - abort: function() { - if ( callback ) { - callback(); - } - } - }; - } -} ); - - - - -// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) -jQuery.ajaxPrefilter( function( s ) { - if ( s.crossDomain ) { - s.contents.script = false; - } -} ); - -// Install script dataType -jQuery.ajaxSetup( { - accepts: { - script: "text/javascript, application/javascript, " + - "application/ecmascript, application/x-ecmascript" - }, - contents: { - script: /\b(?:java|ecma)script\b/ - }, - converters: { - "text script": function( text ) { - jQuery.globalEval( text ); - return text; - } - } -} ); - -// Handle cache's special case and crossDomain -jQuery.ajaxPrefilter( "script", function( s ) { - if ( s.cache === undefined ) { - s.cache = false; - } - if ( s.crossDomain ) { - s.type = "GET"; - } -} ); - -// Bind script tag hack transport -jQuery.ajaxTransport( "script", function( s ) { - - // This transport only deals with cross domain or forced-by-attrs requests - if ( s.crossDomain || s.scriptAttrs ) { - var script, callback; - return { - send: function( _, complete ) { - script = jQuery( "\r\n"; - -// inject VBScript -document.write(IEBinaryToArray_ByteStr_Script); - -global.JSZipUtils._getBinaryFromXHR = function (xhr) { - var binary = xhr.responseBody; - var byteMapping = {}; - for ( var i = 0; i < 256; i++ ) { - for ( var j = 0; j < 256; j++ ) { - byteMapping[ String.fromCharCode( i + (j << 8) ) ] = - String.fromCharCode(i) + String.fromCharCode(j); - } - } - var rawBytes = IEBinaryToArray_ByteStr(binary); - var lastChr = IEBinaryToArray_ByteStr_Last(binary); - return rawBytes.replace(/[\s\S]/g, function( match ) { - return byteMapping[match]; - }) + lastChr; -}; - -// enforcing Stuk's coding style -// vim: set shiftwidth=4 softtabstop=4: - -},{}]},{},[1]) -; diff --git a/cdi/4.1/apidocs/jquery/jszip-utils/dist/jszip-utils-ie.min.js b/cdi/4.1/apidocs/jquery/jszip-utils/dist/jszip-utils-ie.min.js deleted file mode 100644 index 93d8bc8ef2..0000000000 --- a/cdi/4.1/apidocs/jquery/jszip-utils/dist/jszip-utils-ie.min.js +++ /dev/null @@ -1,10 +0,0 @@ -/*! - -JSZipUtils - A collection of cross-browser utilities to go along with JSZip. - - -(c) 2014 Stuart Knightley, David Duponchel -Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. - -*/ -!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g\r\n";document.write(b),a.JSZipUtils._getBinaryFromXHR=function(a){for(var b=a.responseBody,c={},d=0;256>d;d++)for(var e=0;256>e;e++)c[String.fromCharCode(d+(e<<8))]=String.fromCharCode(d)+String.fromCharCode(e);var f=IEBinaryToArray_ByteStr(b),g=IEBinaryToArray_ByteStr_Last(b);return f.replace(/[\s\S]/g,function(a){return c[a]})+g}},{}]},{},[1]); diff --git a/cdi/4.1/apidocs/jquery/jszip-utils/dist/jszip-utils.js b/cdi/4.1/apidocs/jquery/jszip-utils/dist/jszip-utils.js deleted file mode 100644 index 775895ec92..0000000000 --- a/cdi/4.1/apidocs/jquery/jszip-utils/dist/jszip-utils.js +++ /dev/null @@ -1,118 +0,0 @@ -/*! - -JSZipUtils - A collection of cross-browser utilities to go along with JSZip. - - -(c) 2014 Stuart Knightley, David Duponchel -Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. - -*/ -!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.JSZipUtils=e():"undefined"!=typeof global?global.JSZipUtils=e():"undefined"!=typeof self&&(self.JSZipUtils=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o - -(c) 2014 Stuart Knightley, David Duponchel -Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown. - -*/ -!function(a){"object"==typeof exports?module.exports=a():"function"==typeof define&&define.amd?define(a):"undefined"!=typeof window?window.JSZipUtils=a():"undefined"!=typeof global?global.JSZipUtils=a():"undefined"!=typeof self&&(self.JSZipUtils=a())}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g - -(c) 2009-2016 Stuart Knightley -Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown. - -JSZip uses the library pako released under the MIT license : -https://github.com/nodeca/pako/blob/master/LICENSE -*/ - -(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.JSZip = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o> 2; - enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); - enc3 = remainingBytes > 1 ? (((chr2 & 15) << 2) | (chr3 >> 6)) : 64; - enc4 = remainingBytes > 2 ? (chr3 & 63) : 64; - - output.push(_keyStr.charAt(enc1) + _keyStr.charAt(enc2) + _keyStr.charAt(enc3) + _keyStr.charAt(enc4)); - - } - - return output.join(""); -}; - -// public method for decoding -exports.decode = function(input) { - var chr1, chr2, chr3; - var enc1, enc2, enc3, enc4; - var i = 0, resultIndex = 0; - - var dataUrlPrefix = "data:"; - - if (input.substr(0, dataUrlPrefix.length) === dataUrlPrefix) { - // This is a common error: people give a data url - // (data:image/png;base64,iVBOR...) with a {base64: true} and - // wonders why things don't work. - // We can detect that the string input looks like a data url but we - // *can't* be sure it is one: removing everything up to the comma would - // be too dangerous. - throw new Error("Invalid base64 input, it looks like a data url."); - } - - input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); - - var totalLength = input.length * 3 / 4; - if(input.charAt(input.length - 1) === _keyStr.charAt(64)) { - totalLength--; - } - if(input.charAt(input.length - 2) === _keyStr.charAt(64)) { - totalLength--; - } - if (totalLength % 1 !== 0) { - // totalLength is not an integer, the length does not match a valid - // base64 content. That can happen if: - // - the input is not a base64 content - // - the input is *almost* a base64 content, with a extra chars at the - // beginning or at the end - // - the input uses a base64 variant (base64url for example) - throw new Error("Invalid base64 input, bad content length."); - } - var output; - if (support.uint8array) { - output = new Uint8Array(totalLength|0); - } else { - output = new Array(totalLength|0); - } - - while (i < input.length) { - - enc1 = _keyStr.indexOf(input.charAt(i++)); - enc2 = _keyStr.indexOf(input.charAt(i++)); - enc3 = _keyStr.indexOf(input.charAt(i++)); - enc4 = _keyStr.indexOf(input.charAt(i++)); - - chr1 = (enc1 << 2) | (enc2 >> 4); - chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); - chr3 = ((enc3 & 3) << 6) | enc4; - - output[resultIndex++] = chr1; - - if (enc3 !== 64) { - output[resultIndex++] = chr2; - } - if (enc4 !== 64) { - output[resultIndex++] = chr3; - } - - } - - return output; -}; - -},{"./support":30,"./utils":32}],2:[function(require,module,exports){ -'use strict'; - -var external = require("./external"); -var DataWorker = require('./stream/DataWorker'); -var Crc32Probe = require('./stream/Crc32Probe'); -var DataLengthProbe = require('./stream/DataLengthProbe'); - -/** - * Represent a compressed object, with everything needed to decompress it. - * @constructor - * @param {number} compressedSize the size of the data compressed. - * @param {number} uncompressedSize the size of the data after decompression. - * @param {number} crc32 the crc32 of the decompressed file. - * @param {object} compression the type of compression, see lib/compressions.js. - * @param {String|ArrayBuffer|Uint8Array|Buffer} data the compressed data. - */ -function CompressedObject(compressedSize, uncompressedSize, crc32, compression, data) { - this.compressedSize = compressedSize; - this.uncompressedSize = uncompressedSize; - this.crc32 = crc32; - this.compression = compression; - this.compressedContent = data; -} - -CompressedObject.prototype = { - /** - * Create a worker to get the uncompressed content. - * @return {GenericWorker} the worker. - */ - getContentWorker: function () { - var worker = new DataWorker(external.Promise.resolve(this.compressedContent)) - .pipe(this.compression.uncompressWorker()) - .pipe(new DataLengthProbe("data_length")); - - var that = this; - worker.on("end", function () { - if (this.streamInfo['data_length'] !== that.uncompressedSize) { - throw new Error("Bug : uncompressed data size mismatch"); - } - }); - return worker; - }, - /** - * Create a worker to get the compressed content. - * @return {GenericWorker} the worker. - */ - getCompressedWorker: function () { - return new DataWorker(external.Promise.resolve(this.compressedContent)) - .withStreamInfo("compressedSize", this.compressedSize) - .withStreamInfo("uncompressedSize", this.uncompressedSize) - .withStreamInfo("crc32", this.crc32) - .withStreamInfo("compression", this.compression) - ; - } -}; - -/** - * Chain the given worker with other workers to compress the content with the - * given compression. - * @param {GenericWorker} uncompressedWorker the worker to pipe. - * @param {Object} compression the compression object. - * @param {Object} compressionOptions the options to use when compressing. - * @return {GenericWorker} the new worker compressing the content. - */ -CompressedObject.createWorkerFrom = function (uncompressedWorker, compression, compressionOptions) { - return uncompressedWorker - .pipe(new Crc32Probe()) - .pipe(new DataLengthProbe("uncompressedSize")) - .pipe(compression.compressWorker(compressionOptions)) - .pipe(new DataLengthProbe("compressedSize")) - .withStreamInfo("compression", compression); -}; - -module.exports = CompressedObject; - -},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(require,module,exports){ -'use strict'; - -var GenericWorker = require("./stream/GenericWorker"); - -exports.STORE = { - magic: "\x00\x00", - compressWorker : function (compressionOptions) { - return new GenericWorker("STORE compression"); - }, - uncompressWorker : function () { - return new GenericWorker("STORE decompression"); - } -}; -exports.DEFLATE = require('./flate'); - -},{"./flate":7,"./stream/GenericWorker":28}],4:[function(require,module,exports){ -'use strict'; - -var utils = require('./utils'); - -/** - * The following functions come from pako, from pako/lib/zlib/crc32.js - * released under the MIT license, see pako https://github.com/nodeca/pako/ - */ - -// Use ordinary array, since untyped makes no boost here -function makeTable() { - var c, table = []; - - for(var n =0; n < 256; n++){ - c = n; - for(var k =0; k < 8; k++){ - c = ((c&1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1)); - } - table[n] = c; - } - - return table; -} - -// Create table on load. Just 255 signed longs. Not a problem. -var crcTable = makeTable(); - - -function crc32(crc, buf, len, pos) { - var t = crcTable, end = pos + len; - - crc = crc ^ (-1); - - for (var i = pos; i < end; i++ ) { - crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF]; - } - - return (crc ^ (-1)); // >>> 0; -} - -// That's all for the pako functions. - -/** - * Compute the crc32 of a string. - * This is almost the same as the function crc32, but for strings. Using the - * same function for the two use cases leads to horrible performances. - * @param {Number} crc the starting value of the crc. - * @param {String} str the string to use. - * @param {Number} len the length of the string. - * @param {Number} pos the starting position for the crc32 computation. - * @return {Number} the computed crc32. - */ -function crc32str(crc, str, len, pos) { - var t = crcTable, end = pos + len; - - crc = crc ^ (-1); - - for (var i = pos; i < end; i++ ) { - crc = (crc >>> 8) ^ t[(crc ^ str.charCodeAt(i)) & 0xFF]; - } - - return (crc ^ (-1)); // >>> 0; -} - -module.exports = function crc32wrapper(input, crc) { - if (typeof input === "undefined" || !input.length) { - return 0; - } - - var isArray = utils.getTypeOf(input) !== "string"; - - if(isArray) { - return crc32(crc|0, input, input.length, 0); - } else { - return crc32str(crc|0, input, input.length, 0); - } -}; - -},{"./utils":32}],5:[function(require,module,exports){ -'use strict'; -exports.base64 = false; -exports.binary = false; -exports.dir = false; -exports.createFolders = true; -exports.date = null; -exports.compression = null; -exports.compressionOptions = null; -exports.comment = null; -exports.unixPermissions = null; -exports.dosPermissions = null; - -},{}],6:[function(require,module,exports){ -/* global Promise */ -'use strict'; - -// load the global object first: -// - it should be better integrated in the system (unhandledRejection in node) -// - the environment may have a custom Promise implementation (see zone.js) -var ES6Promise = null; -if (typeof Promise !== "undefined") { - ES6Promise = Promise; -} else { - ES6Promise = require("lie"); -} - -/** - * Let the user use/change some implementations. - */ -module.exports = { - Promise: ES6Promise -}; - -},{"lie":37}],7:[function(require,module,exports){ -'use strict'; -var USE_TYPEDARRAY = (typeof Uint8Array !== 'undefined') && (typeof Uint16Array !== 'undefined') && (typeof Uint32Array !== 'undefined'); - -var pako = require("pako"); -var utils = require("./utils"); -var GenericWorker = require("./stream/GenericWorker"); - -var ARRAY_TYPE = USE_TYPEDARRAY ? "uint8array" : "array"; - -exports.magic = "\x08\x00"; - -/** - * Create a worker that uses pako to inflate/deflate. - * @constructor - * @param {String} action the name of the pako function to call : either "Deflate" or "Inflate". - * @param {Object} options the options to use when (de)compressing. - */ -function FlateWorker(action, options) { - GenericWorker.call(this, "FlateWorker/" + action); - - this._pako = null; - this._pakoAction = action; - this._pakoOptions = options; - // the `meta` object from the last chunk received - // this allow this worker to pass around metadata - this.meta = {}; -} - -utils.inherits(FlateWorker, GenericWorker); - -/** - * @see GenericWorker.processChunk - */ -FlateWorker.prototype.processChunk = function (chunk) { - this.meta = chunk.meta; - if (this._pako === null) { - this._createPako(); - } - this._pako.push(utils.transformTo(ARRAY_TYPE, chunk.data), false); -}; - -/** - * @see GenericWorker.flush - */ -FlateWorker.prototype.flush = function () { - GenericWorker.prototype.flush.call(this); - if (this._pako === null) { - this._createPako(); - } - this._pako.push([], true); -}; -/** - * @see GenericWorker.cleanUp - */ -FlateWorker.prototype.cleanUp = function () { - GenericWorker.prototype.cleanUp.call(this); - this._pako = null; -}; - -/** - * Create the _pako object. - * TODO: lazy-loading this object isn't the best solution but it's the - * quickest. The best solution is to lazy-load the worker list. See also the - * issue #446. - */ -FlateWorker.prototype._createPako = function () { - this._pako = new pako[this._pakoAction]({ - raw: true, - level: this._pakoOptions.level || -1 // default compression - }); - var self = this; - this._pako.onData = function(data) { - self.push({ - data : data, - meta : self.meta - }); - }; -}; - -exports.compressWorker = function (compressionOptions) { - return new FlateWorker("Deflate", compressionOptions); -}; -exports.uncompressWorker = function () { - return new FlateWorker("Inflate", {}); -}; - -},{"./stream/GenericWorker":28,"./utils":32,"pako":38}],8:[function(require,module,exports){ -'use strict'; - -var utils = require('../utils'); -var GenericWorker = require('../stream/GenericWorker'); -var utf8 = require('../utf8'); -var crc32 = require('../crc32'); -var signature = require('../signature'); - -/** - * Transform an integer into a string in hexadecimal. - * @private - * @param {number} dec the number to convert. - * @param {number} bytes the number of bytes to generate. - * @returns {string} the result. - */ -var decToHex = function(dec, bytes) { - var hex = "", i; - for (i = 0; i < bytes; i++) { - hex += String.fromCharCode(dec & 0xff); - dec = dec >>> 8; - } - return hex; -}; - -/** - * Generate the UNIX part of the external file attributes. - * @param {Object} unixPermissions the unix permissions or null. - * @param {Boolean} isDir true if the entry is a directory, false otherwise. - * @return {Number} a 32 bit integer. - * - * adapted from http://unix.stackexchange.com/questions/14705/the-zip-formats-external-file-attribute : - * - * TTTTsstrwxrwxrwx0000000000ADVSHR - * ^^^^____________________________ file type, see zipinfo.c (UNX_*) - * ^^^_________________________ setuid, setgid, sticky - * ^^^^^^^^^________________ permissions - * ^^^^^^^^^^______ not used ? - * ^^^^^^ DOS attribute bits : Archive, Directory, Volume label, System file, Hidden, Read only - */ -var generateUnixExternalFileAttr = function (unixPermissions, isDir) { - - var result = unixPermissions; - if (!unixPermissions) { - // I can't use octal values in strict mode, hence the hexa. - // 040775 => 0x41fd - // 0100664 => 0x81b4 - result = isDir ? 0x41fd : 0x81b4; - } - return (result & 0xFFFF) << 16; -}; - -/** - * Generate the DOS part of the external file attributes. - * @param {Object} dosPermissions the dos permissions or null. - * @param {Boolean} isDir true if the entry is a directory, false otherwise. - * @return {Number} a 32 bit integer. - * - * Bit 0 Read-Only - * Bit 1 Hidden - * Bit 2 System - * Bit 3 Volume Label - * Bit 4 Directory - * Bit 5 Archive - */ -var generateDosExternalFileAttr = function (dosPermissions, isDir) { - - // the dir flag is already set for compatibility - return (dosPermissions || 0) & 0x3F; -}; - -/** - * Generate the various parts used in the construction of the final zip file. - * @param {Object} streamInfo the hash with information about the compressed file. - * @param {Boolean} streamedContent is the content streamed ? - * @param {Boolean} streamingEnded is the stream finished ? - * @param {number} offset the current offset from the start of the zip file. - * @param {String} platform let's pretend we are this platform (change platform dependents fields) - * @param {Function} encodeFileName the function to encode the file name / comment. - * @return {Object} the zip parts. - */ -var generateZipParts = function(streamInfo, streamedContent, streamingEnded, offset, platform, encodeFileName) { - var file = streamInfo['file'], - compression = streamInfo['compression'], - useCustomEncoding = encodeFileName !== utf8.utf8encode, - encodedFileName = utils.transformTo("string", encodeFileName(file.name)), - utfEncodedFileName = utils.transformTo("string", utf8.utf8encode(file.name)), - comment = file.comment, - encodedComment = utils.transformTo("string", encodeFileName(comment)), - utfEncodedComment = utils.transformTo("string", utf8.utf8encode(comment)), - useUTF8ForFileName = utfEncodedFileName.length !== file.name.length, - useUTF8ForComment = utfEncodedComment.length !== comment.length, - dosTime, - dosDate, - extraFields = "", - unicodePathExtraField = "", - unicodeCommentExtraField = "", - dir = file.dir, - date = file.date; - - - var dataInfo = { - crc32 : 0, - compressedSize : 0, - uncompressedSize : 0 - }; - - // if the content is streamed, the sizes/crc32 are only available AFTER - // the end of the stream. - if (!streamedContent || streamingEnded) { - dataInfo.crc32 = streamInfo['crc32']; - dataInfo.compressedSize = streamInfo['compressedSize']; - dataInfo.uncompressedSize = streamInfo['uncompressedSize']; - } - - var bitflag = 0; - if (streamedContent) { - // Bit 3: the sizes/crc32 are set to zero in the local header. - // The correct values are put in the data descriptor immediately - // following the compressed data. - bitflag |= 0x0008; - } - if (!useCustomEncoding && (useUTF8ForFileName || useUTF8ForComment)) { - // Bit 11: Language encoding flag (EFS). - bitflag |= 0x0800; - } - - - var extFileAttr = 0; - var versionMadeBy = 0; - if (dir) { - // dos or unix, we set the dos dir flag - extFileAttr |= 0x00010; - } - if(platform === "UNIX") { - versionMadeBy = 0x031E; // UNIX, version 3.0 - extFileAttr |= generateUnixExternalFileAttr(file.unixPermissions, dir); - } else { // DOS or other, fallback to DOS - versionMadeBy = 0x0014; // DOS, version 2.0 - extFileAttr |= generateDosExternalFileAttr(file.dosPermissions, dir); - } - - // date - // @see http://www.delorie.com/djgpp/doc/rbinter/it/52/13.html - // @see http://www.delorie.com/djgpp/doc/rbinter/it/65/16.html - // @see http://www.delorie.com/djgpp/doc/rbinter/it/66/16.html - - dosTime = date.getUTCHours(); - dosTime = dosTime << 6; - dosTime = dosTime | date.getUTCMinutes(); - dosTime = dosTime << 5; - dosTime = dosTime | date.getUTCSeconds() / 2; - - dosDate = date.getUTCFullYear() - 1980; - dosDate = dosDate << 4; - dosDate = dosDate | (date.getUTCMonth() + 1); - dosDate = dosDate << 5; - dosDate = dosDate | date.getUTCDate(); - - if (useUTF8ForFileName) { - // set the unicode path extra field. unzip needs at least one extra - // field to correctly handle unicode path, so using the path is as good - // as any other information. This could improve the situation with - // other archive managers too. - // This field is usually used without the utf8 flag, with a non - // unicode path in the header (winrar, winzip). This helps (a bit) - // with the messy Windows' default compressed folders feature but - // breaks on p7zip which doesn't seek the unicode path extra field. - // So for now, UTF-8 everywhere ! - unicodePathExtraField = - // Version - decToHex(1, 1) + - // NameCRC32 - decToHex(crc32(encodedFileName), 4) + - // UnicodeName - utfEncodedFileName; - - extraFields += - // Info-ZIP Unicode Path Extra Field - "\x75\x70" + - // size - decToHex(unicodePathExtraField.length, 2) + - // content - unicodePathExtraField; - } - - if(useUTF8ForComment) { - - unicodeCommentExtraField = - // Version - decToHex(1, 1) + - // CommentCRC32 - decToHex(crc32(encodedComment), 4) + - // UnicodeName - utfEncodedComment; - - extraFields += - // Info-ZIP Unicode Path Extra Field - "\x75\x63" + - // size - decToHex(unicodeCommentExtraField.length, 2) + - // content - unicodeCommentExtraField; - } - - var header = ""; - - // version needed to extract - header += "\x0A\x00"; - // general purpose bit flag - header += decToHex(bitflag, 2); - // compression method - header += compression.magic; - // last mod file time - header += decToHex(dosTime, 2); - // last mod file date - header += decToHex(dosDate, 2); - // crc-32 - header += decToHex(dataInfo.crc32, 4); - // compressed size - header += decToHex(dataInfo.compressedSize, 4); - // uncompressed size - header += decToHex(dataInfo.uncompressedSize, 4); - // file name length - header += decToHex(encodedFileName.length, 2); - // extra field length - header += decToHex(extraFields.length, 2); - - - var fileRecord = signature.LOCAL_FILE_HEADER + header + encodedFileName + extraFields; - - var dirRecord = signature.CENTRAL_FILE_HEADER + - // version made by (00: DOS) - decToHex(versionMadeBy, 2) + - // file header (common to file and central directory) - header + - // file comment length - decToHex(encodedComment.length, 2) + - // disk number start - "\x00\x00" + - // internal file attributes TODO - "\x00\x00" + - // external file attributes - decToHex(extFileAttr, 4) + - // relative offset of local header - decToHex(offset, 4) + - // file name - encodedFileName + - // extra field - extraFields + - // file comment - encodedComment; - - return { - fileRecord: fileRecord, - dirRecord: dirRecord - }; -}; - -/** - * Generate the EOCD record. - * @param {Number} entriesCount the number of entries in the zip file. - * @param {Number} centralDirLength the length (in bytes) of the central dir. - * @param {Number} localDirLength the length (in bytes) of the local dir. - * @param {String} comment the zip file comment as a binary string. - * @param {Function} encodeFileName the function to encode the comment. - * @return {String} the EOCD record. - */ -var generateCentralDirectoryEnd = function (entriesCount, centralDirLength, localDirLength, comment, encodeFileName) { - var dirEnd = ""; - var encodedComment = utils.transformTo("string", encodeFileName(comment)); - - // end of central dir signature - dirEnd = signature.CENTRAL_DIRECTORY_END + - // number of this disk - "\x00\x00" + - // number of the disk with the start of the central directory - "\x00\x00" + - // total number of entries in the central directory on this disk - decToHex(entriesCount, 2) + - // total number of entries in the central directory - decToHex(entriesCount, 2) + - // size of the central directory 4 bytes - decToHex(centralDirLength, 4) + - // offset of start of central directory with respect to the starting disk number - decToHex(localDirLength, 4) + - // .ZIP file comment length - decToHex(encodedComment.length, 2) + - // .ZIP file comment - encodedComment; - - return dirEnd; -}; - -/** - * Generate data descriptors for a file entry. - * @param {Object} streamInfo the hash generated by a worker, containing information - * on the file entry. - * @return {String} the data descriptors. - */ -var generateDataDescriptors = function (streamInfo) { - var descriptor = ""; - descriptor = signature.DATA_DESCRIPTOR + - // crc-32 4 bytes - decToHex(streamInfo['crc32'], 4) + - // compressed size 4 bytes - decToHex(streamInfo['compressedSize'], 4) + - // uncompressed size 4 bytes - decToHex(streamInfo['uncompressedSize'], 4); - - return descriptor; -}; - - -/** - * A worker to concatenate other workers to create a zip file. - * @param {Boolean} streamFiles `true` to stream the content of the files, - * `false` to accumulate it. - * @param {String} comment the comment to use. - * @param {String} platform the platform to use, "UNIX" or "DOS". - * @param {Function} encodeFileName the function to encode file names and comments. - */ -function ZipFileWorker(streamFiles, comment, platform, encodeFileName) { - GenericWorker.call(this, "ZipFileWorker"); - // The number of bytes written so far. This doesn't count accumulated chunks. - this.bytesWritten = 0; - // The comment of the zip file - this.zipComment = comment; - // The platform "generating" the zip file. - this.zipPlatform = platform; - // the function to encode file names and comments. - this.encodeFileName = encodeFileName; - // Should we stream the content of the files ? - this.streamFiles = streamFiles; - // If `streamFiles` is false, we will need to accumulate the content of the - // files to calculate sizes / crc32 (and write them *before* the content). - // This boolean indicates if we are accumulating chunks (it will change a lot - // during the lifetime of this worker). - this.accumulate = false; - // The buffer receiving chunks when accumulating content. - this.contentBuffer = []; - // The list of generated directory records. - this.dirRecords = []; - // The offset (in bytes) from the beginning of the zip file for the current source. - this.currentSourceOffset = 0; - // The total number of entries in this zip file. - this.entriesCount = 0; - // the name of the file currently being added, null when handling the end of the zip file. - // Used for the emitted metadata. - this.currentFile = null; - - - - this._sources = []; -} -utils.inherits(ZipFileWorker, GenericWorker); - -/** - * @see GenericWorker.push - */ -ZipFileWorker.prototype.push = function (chunk) { - - var currentFilePercent = chunk.meta.percent || 0; - var entriesCount = this.entriesCount; - var remainingFiles = this._sources.length; - - if(this.accumulate) { - this.contentBuffer.push(chunk); - } else { - this.bytesWritten += chunk.data.length; - - GenericWorker.prototype.push.call(this, { - data : chunk.data, - meta : { - currentFile : this.currentFile, - percent : entriesCount ? (currentFilePercent + 100 * (entriesCount - remainingFiles - 1)) / entriesCount : 100 - } - }); - } -}; - -/** - * The worker started a new source (an other worker). - * @param {Object} streamInfo the streamInfo object from the new source. - */ -ZipFileWorker.prototype.openedSource = function (streamInfo) { - this.currentSourceOffset = this.bytesWritten; - this.currentFile = streamInfo['file'].name; - - var streamedContent = this.streamFiles && !streamInfo['file'].dir; - - // don't stream folders (because they don't have any content) - if(streamedContent) { - var record = generateZipParts(streamInfo, streamedContent, false, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); - this.push({ - data : record.fileRecord, - meta : {percent:0} - }); - } else { - // we need to wait for the whole file before pushing anything - this.accumulate = true; - } -}; - -/** - * The worker finished a source (an other worker). - * @param {Object} streamInfo the streamInfo object from the finished source. - */ -ZipFileWorker.prototype.closedSource = function (streamInfo) { - this.accumulate = false; - var streamedContent = this.streamFiles && !streamInfo['file'].dir; - var record = generateZipParts(streamInfo, streamedContent, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName); - - this.dirRecords.push(record.dirRecord); - if(streamedContent) { - // after the streamed file, we put data descriptors - this.push({ - data : generateDataDescriptors(streamInfo), - meta : {percent:100} - }); - } else { - // the content wasn't streamed, we need to push everything now - // first the file record, then the content - this.push({ - data : record.fileRecord, - meta : {percent:0} - }); - while(this.contentBuffer.length) { - this.push(this.contentBuffer.shift()); - } - } - this.currentFile = null; -}; - -/** - * @see GenericWorker.flush - */ -ZipFileWorker.prototype.flush = function () { - - var localDirLength = this.bytesWritten; - for(var i = 0; i < this.dirRecords.length; i++) { - this.push({ - data : this.dirRecords[i], - meta : {percent:100} - }); - } - var centralDirLength = this.bytesWritten - localDirLength; - - var dirEnd = generateCentralDirectoryEnd(this.dirRecords.length, centralDirLength, localDirLength, this.zipComment, this.encodeFileName); - - this.push({ - data : dirEnd, - meta : {percent:100} - }); -}; - -/** - * Prepare the next source to be read. - */ -ZipFileWorker.prototype.prepareNextSource = function () { - this.previous = this._sources.shift(); - this.openedSource(this.previous.streamInfo); - if (this.isPaused) { - this.previous.pause(); - } else { - this.previous.resume(); - } -}; - -/** - * @see GenericWorker.registerPrevious - */ -ZipFileWorker.prototype.registerPrevious = function (previous) { - this._sources.push(previous); - var self = this; - - previous.on('data', function (chunk) { - self.processChunk(chunk); - }); - previous.on('end', function () { - self.closedSource(self.previous.streamInfo); - if(self._sources.length) { - self.prepareNextSource(); - } else { - self.end(); - } - }); - previous.on('error', function (e) { - self.error(e); - }); - return this; -}; - -/** - * @see GenericWorker.resume - */ -ZipFileWorker.prototype.resume = function () { - if(!GenericWorker.prototype.resume.call(this)) { - return false; - } - - if (!this.previous && this._sources.length) { - this.prepareNextSource(); - return true; - } - if (!this.previous && !this._sources.length && !this.generatedError) { - this.end(); - return true; - } -}; - -/** - * @see GenericWorker.error - */ -ZipFileWorker.prototype.error = function (e) { - var sources = this._sources; - if(!GenericWorker.prototype.error.call(this, e)) { - return false; - } - for(var i = 0; i < sources.length; i++) { - try { - sources[i].error(e); - } catch(e) { - // the `error` exploded, nothing to do - } - } - return true; -}; - -/** - * @see GenericWorker.lock - */ -ZipFileWorker.prototype.lock = function () { - GenericWorker.prototype.lock.call(this); - var sources = this._sources; - for(var i = 0; i < sources.length; i++) { - sources[i].lock(); - } -}; - -module.exports = ZipFileWorker; - -},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(require,module,exports){ -'use strict'; - -var compressions = require('../compressions'); -var ZipFileWorker = require('./ZipFileWorker'); - -/** - * Find the compression to use. - * @param {String} fileCompression the compression defined at the file level, if any. - * @param {String} zipCompression the compression defined at the load() level. - * @return {Object} the compression object to use. - */ -var getCompression = function (fileCompression, zipCompression) { - - var compressionName = fileCompression || zipCompression; - var compression = compressions[compressionName]; - if (!compression) { - throw new Error(compressionName + " is not a valid compression method !"); - } - return compression; -}; - -/** - * Create a worker to generate a zip file. - * @param {JSZip} zip the JSZip instance at the right root level. - * @param {Object} options to generate the zip file. - * @param {String} comment the comment to use. - */ -exports.generateWorker = function (zip, options, comment) { - - var zipFileWorker = new ZipFileWorker(options.streamFiles, comment, options.platform, options.encodeFileName); - var entriesCount = 0; - try { - - zip.forEach(function (relativePath, file) { - entriesCount++; - var compression = getCompression(file.options.compression, options.compression); - var compressionOptions = file.options.compressionOptions || options.compressionOptions || {}; - var dir = file.dir, date = file.date; - - file._compressWorker(compression, compressionOptions) - .withStreamInfo("file", { - name : relativePath, - dir : dir, - date : date, - comment : file.comment || "", - unixPermissions : file.unixPermissions, - dosPermissions : file.dosPermissions - }) - .pipe(zipFileWorker); - }); - zipFileWorker.entriesCount = entriesCount; - } catch (e) { - zipFileWorker.error(e); - } - - return zipFileWorker; -}; - -},{"../compressions":3,"./ZipFileWorker":8}],10:[function(require,module,exports){ -'use strict'; - -/** - * Representation a of zip file in js - * @constructor - */ -function JSZip() { - // if this constructor is used without `new`, it adds `new` before itself: - if(!(this instanceof JSZip)) { - return new JSZip(); - } - - if(arguments.length) { - throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide."); - } - - // object containing the files : - // { - // "folder/" : {...}, - // "folder/data.txt" : {...} - // } - // NOTE: we use a null prototype because we do not - // want filenames like "toString" coming from a zip file - // to overwrite methods and attributes in a normal Object. - this.files = Object.create(null); - - this.comment = null; - - // Where we are in the hierarchy - this.root = ""; - this.clone = function() { - var newObj = new JSZip(); - for (var i in this) { - if (typeof this[i] !== "function") { - newObj[i] = this[i]; - } - } - return newObj; - }; -} -JSZip.prototype = require('./object'); -JSZip.prototype.loadAsync = require('./load'); -JSZip.support = require('./support'); -JSZip.defaults = require('./defaults'); - -// TODO find a better way to handle this version, -// a require('package.json').version doesn't work with webpack, see #327 -JSZip.version = "3.7.1"; - -JSZip.loadAsync = function (content, options) { - return new JSZip().loadAsync(content, options); -}; - -JSZip.external = require("./external"); -module.exports = JSZip; - -},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(require,module,exports){ -'use strict'; -var utils = require('./utils'); -var external = require("./external"); -var utf8 = require('./utf8'); -var ZipEntries = require('./zipEntries'); -var Crc32Probe = require('./stream/Crc32Probe'); -var nodejsUtils = require("./nodejsUtils"); - -/** - * Check the CRC32 of an entry. - * @param {ZipEntry} zipEntry the zip entry to check. - * @return {Promise} the result. - */ -function checkEntryCRC32(zipEntry) { - return new external.Promise(function (resolve, reject) { - var worker = zipEntry.decompressed.getContentWorker().pipe(new Crc32Probe()); - worker.on("error", function (e) { - reject(e); - }) - .on("end", function () { - if (worker.streamInfo.crc32 !== zipEntry.decompressed.crc32) { - reject(new Error("Corrupted zip : CRC32 mismatch")); - } else { - resolve(); - } - }) - .resume(); - }); -} - -module.exports = function (data, options) { - var zip = this; - options = utils.extend(options || {}, { - base64: false, - checkCRC32: false, - optimizedBinaryString: false, - createFolders: false, - decodeFileName: utf8.utf8decode - }); - - if (nodejsUtils.isNode && nodejsUtils.isStream(data)) { - return external.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")); - } - - return utils.prepareContent("the loaded zip file", data, true, options.optimizedBinaryString, options.base64) - .then(function (data) { - var zipEntries = new ZipEntries(options); - zipEntries.load(data); - return zipEntries; - }).then(function checkCRC32(zipEntries) { - var promises = [external.Promise.resolve(zipEntries)]; - var files = zipEntries.files; - if (options.checkCRC32) { - for (var i = 0; i < files.length; i++) { - promises.push(checkEntryCRC32(files[i])); - } - } - return external.Promise.all(promises); - }).then(function addFiles(results) { - var zipEntries = results.shift(); - var files = zipEntries.files; - for (var i = 0; i < files.length; i++) { - var input = files[i]; - zip.file(input.fileNameStr, input.decompressed, { - binary: true, - optimizedBinaryString: true, - date: input.date, - dir: input.dir, - comment: input.fileCommentStr.length ? input.fileCommentStr : null, - unixPermissions: input.unixPermissions, - dosPermissions: input.dosPermissions, - createFolders: options.createFolders - }); - } - if (zipEntries.zipComment.length) { - zip.comment = zipEntries.zipComment; - } - - return zip; - }); -}; - -},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(require,module,exports){ -"use strict"; - -var utils = require('../utils'); -var GenericWorker = require('../stream/GenericWorker'); - -/** - * A worker that use a nodejs stream as source. - * @constructor - * @param {String} filename the name of the file entry for this stream. - * @param {Readable} stream the nodejs stream. - */ -function NodejsStreamInputAdapter(filename, stream) { - GenericWorker.call(this, "Nodejs stream input adapter for " + filename); - this._upstreamEnded = false; - this._bindStream(stream); -} - -utils.inherits(NodejsStreamInputAdapter, GenericWorker); - -/** - * Prepare the stream and bind the callbacks on it. - * Do this ASAP on node 0.10 ! A lazy binding doesn't always work. - * @param {Stream} stream the nodejs stream to use. - */ -NodejsStreamInputAdapter.prototype._bindStream = function (stream) { - var self = this; - this._stream = stream; - stream.pause(); - stream - .on("data", function (chunk) { - self.push({ - data: chunk, - meta : { - percent : 0 - } - }); - }) - .on("error", function (e) { - if(self.isPaused) { - this.generatedError = e; - } else { - self.error(e); - } - }) - .on("end", function () { - if(self.isPaused) { - self._upstreamEnded = true; - } else { - self.end(); - } - }); -}; -NodejsStreamInputAdapter.prototype.pause = function () { - if(!GenericWorker.prototype.pause.call(this)) { - return false; - } - this._stream.pause(); - return true; -}; -NodejsStreamInputAdapter.prototype.resume = function () { - if(!GenericWorker.prototype.resume.call(this)) { - return false; - } - - if(this._upstreamEnded) { - this.end(); - } else { - this._stream.resume(); - } - - return true; -}; - -module.exports = NodejsStreamInputAdapter; - -},{"../stream/GenericWorker":28,"../utils":32}],13:[function(require,module,exports){ -'use strict'; - -var Readable = require('readable-stream').Readable; - -var utils = require('../utils'); -utils.inherits(NodejsStreamOutputAdapter, Readable); - -/** -* A nodejs stream using a worker as source. -* @see the SourceWrapper in http://nodejs.org/api/stream.html -* @constructor -* @param {StreamHelper} helper the helper wrapping the worker -* @param {Object} options the nodejs stream options -* @param {Function} updateCb the update callback. -*/ -function NodejsStreamOutputAdapter(helper, options, updateCb) { - Readable.call(this, options); - this._helper = helper; - - var self = this; - helper.on("data", function (data, meta) { - if (!self.push(data)) { - self._helper.pause(); - } - if(updateCb) { - updateCb(meta); - } - }) - .on("error", function(e) { - self.emit('error', e); - }) - .on("end", function () { - self.push(null); - }); -} - - -NodejsStreamOutputAdapter.prototype._read = function() { - this._helper.resume(); -}; - -module.exports = NodejsStreamOutputAdapter; - -},{"../utils":32,"readable-stream":16}],14:[function(require,module,exports){ -'use strict'; - -module.exports = { - /** - * True if this is running in Nodejs, will be undefined in a browser. - * In a browser, browserify won't include this file and the whole module - * will be resolved an empty object. - */ - isNode : typeof Buffer !== "undefined", - /** - * Create a new nodejs Buffer from an existing content. - * @param {Object} data the data to pass to the constructor. - * @param {String} encoding the encoding to use. - * @return {Buffer} a new Buffer. - */ - newBufferFrom: function(data, encoding) { - if (Buffer.from && Buffer.from !== Uint8Array.from) { - return Buffer.from(data, encoding); - } else { - if (typeof data === "number") { - // Safeguard for old Node.js versions. On newer versions, - // Buffer.from(number) / Buffer(number, encoding) already throw. - throw new Error("The \"data\" argument must not be a number"); - } - return new Buffer(data, encoding); - } - }, - /** - * Create a new nodejs Buffer with the specified size. - * @param {Integer} size the size of the buffer. - * @return {Buffer} a new Buffer. - */ - allocBuffer: function (size) { - if (Buffer.alloc) { - return Buffer.alloc(size); - } else { - var buf = new Buffer(size); - buf.fill(0); - return buf; - } - }, - /** - * Find out if an object is a Buffer. - * @param {Object} b the object to test. - * @return {Boolean} true if the object is a Buffer, false otherwise. - */ - isBuffer : function(b){ - return Buffer.isBuffer(b); - }, - - isStream : function (obj) { - return obj && - typeof obj.on === "function" && - typeof obj.pause === "function" && - typeof obj.resume === "function"; - } -}; - -},{}],15:[function(require,module,exports){ -'use strict'; -var utf8 = require('./utf8'); -var utils = require('./utils'); -var GenericWorker = require('./stream/GenericWorker'); -var StreamHelper = require('./stream/StreamHelper'); -var defaults = require('./defaults'); -var CompressedObject = require('./compressedObject'); -var ZipObject = require('./zipObject'); -var generate = require("./generate"); -var nodejsUtils = require("./nodejsUtils"); -var NodejsStreamInputAdapter = require("./nodejs/NodejsStreamInputAdapter"); - - -/** - * Add a file in the current folder. - * @private - * @param {string} name the name of the file - * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data of the file - * @param {Object} originalOptions the options of the file - * @return {Object} the new file. - */ -var fileAdd = function(name, data, originalOptions) { - // be sure sub folders exist - var dataType = utils.getTypeOf(data), - parent; - - - /* - * Correct options. - */ - - var o = utils.extend(originalOptions || {}, defaults); - o.date = o.date || new Date(); - if (o.compression !== null) { - o.compression = o.compression.toUpperCase(); - } - - if (typeof o.unixPermissions === "string") { - o.unixPermissions = parseInt(o.unixPermissions, 8); - } - - // UNX_IFDIR 0040000 see zipinfo.c - if (o.unixPermissions && (o.unixPermissions & 0x4000)) { - o.dir = true; - } - // Bit 4 Directory - if (o.dosPermissions && (o.dosPermissions & 0x0010)) { - o.dir = true; - } - - if (o.dir) { - name = forceTrailingSlash(name); - } - if (o.createFolders && (parent = parentFolder(name))) { - folderAdd.call(this, parent, true); - } - - var isUnicodeString = dataType === "string" && o.binary === false && o.base64 === false; - if (!originalOptions || typeof originalOptions.binary === "undefined") { - o.binary = !isUnicodeString; - } - - - var isCompressedEmpty = (data instanceof CompressedObject) && data.uncompressedSize === 0; - - if (isCompressedEmpty || o.dir || !data || data.length === 0) { - o.base64 = false; - o.binary = true; - data = ""; - o.compression = "STORE"; - dataType = "string"; - } - - /* - * Convert content to fit. - */ - - var zipObjectContent = null; - if (data instanceof CompressedObject || data instanceof GenericWorker) { - zipObjectContent = data; - } else if (nodejsUtils.isNode && nodejsUtils.isStream(data)) { - zipObjectContent = new NodejsStreamInputAdapter(name, data); - } else { - zipObjectContent = utils.prepareContent(name, data, o.binary, o.optimizedBinaryString, o.base64); - } - - var object = new ZipObject(name, zipObjectContent, o); - this.files[name] = object; - /* - TODO: we can't throw an exception because we have async promises - (we can have a promise of a Date() for example) but returning a - promise is useless because file(name, data) returns the JSZip - object for chaining. Should we break that to allow the user - to catch the error ? - - return external.Promise.resolve(zipObjectContent) - .then(function () { - return object; - }); - */ -}; - -/** - * Find the parent folder of the path. - * @private - * @param {string} path the path to use - * @return {string} the parent folder, or "" - */ -var parentFolder = function (path) { - if (path.slice(-1) === '/') { - path = path.substring(0, path.length - 1); - } - var lastSlash = path.lastIndexOf('/'); - return (lastSlash > 0) ? path.substring(0, lastSlash) : ""; -}; - -/** - * Returns the path with a slash at the end. - * @private - * @param {String} path the path to check. - * @return {String} the path with a trailing slash. - */ -var forceTrailingSlash = function(path) { - // Check the name ends with a / - if (path.slice(-1) !== "/") { - path += "/"; // IE doesn't like substr(-1) - } - return path; -}; - -/** - * Add a (sub) folder in the current folder. - * @private - * @param {string} name the folder's name - * @param {boolean=} [createFolders] If true, automatically create sub - * folders. Defaults to false. - * @return {Object} the new folder. - */ -var folderAdd = function(name, createFolders) { - createFolders = (typeof createFolders !== 'undefined') ? createFolders : defaults.createFolders; - - name = forceTrailingSlash(name); - - // Does this folder already exist? - if (!this.files[name]) { - fileAdd.call(this, name, null, { - dir: true, - createFolders: createFolders - }); - } - return this.files[name]; -}; - -/** -* Cross-window, cross-Node-context regular expression detection -* @param {Object} object Anything -* @return {Boolean} true if the object is a regular expression, -* false otherwise -*/ -function isRegExp(object) { - return Object.prototype.toString.call(object) === "[object RegExp]"; -} - -// return the actual prototype of JSZip -var out = { - /** - * @see loadAsync - */ - load: function() { - throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); - }, - - - /** - * Call a callback function for each entry at this folder level. - * @param {Function} cb the callback function: - * function (relativePath, file) {...} - * It takes 2 arguments : the relative path and the file. - */ - forEach: function(cb) { - var filename, relativePath, file; - /* jshint ignore:start */ - // ignore warning about unwanted properties because this.files is a null prototype object - for (filename in this.files) { - file = this.files[filename]; - relativePath = filename.slice(this.root.length, filename.length); - if (relativePath && filename.slice(0, this.root.length) === this.root) { // the file is in the current root - cb(relativePath, file); // TODO reverse the parameters ? need to be clean AND consistent with the filter search fn... - } - } - /* jshint ignore:end */ - }, - - /** - * Filter nested files/folders with the specified function. - * @param {Function} search the predicate to use : - * function (relativePath, file) {...} - * It takes 2 arguments : the relative path and the file. - * @return {Array} An array of matching elements. - */ - filter: function(search) { - var result = []; - this.forEach(function (relativePath, entry) { - if (search(relativePath, entry)) { // the file matches the function - result.push(entry); - } - - }); - return result; - }, - - /** - * Add a file to the zip file, or search a file. - * @param {string|RegExp} name The name of the file to add (if data is defined), - * the name of the file to find (if no data) or a regex to match files. - * @param {String|ArrayBuffer|Uint8Array|Buffer} data The file data, either raw or base64 encoded - * @param {Object} o File options - * @return {JSZip|Object|Array} this JSZip object (when adding a file), - * a file (when searching by string) or an array of files (when searching by regex). - */ - file: function(name, data, o) { - if (arguments.length === 1) { - if (isRegExp(name)) { - var regexp = name; - return this.filter(function(relativePath, file) { - return !file.dir && regexp.test(relativePath); - }); - } - else { // text - var obj = this.files[this.root + name]; - if (obj && !obj.dir) { - return obj; - } else { - return null; - } - } - } - else { // more than one argument : we have data ! - name = this.root + name; - fileAdd.call(this, name, data, o); - } - return this; - }, - - /** - * Add a directory to the zip file, or search. - * @param {String|RegExp} arg The name of the directory to add, or a regex to search folders. - * @return {JSZip} an object with the new directory as the root, or an array containing matching folders. - */ - folder: function(arg) { - if (!arg) { - return this; - } - - if (isRegExp(arg)) { - return this.filter(function(relativePath, file) { - return file.dir && arg.test(relativePath); - }); - } - - // else, name is a new folder - var name = this.root + arg; - var newFolder = folderAdd.call(this, name); - - // Allow chaining by returning a new object with this folder as the root - var ret = this.clone(); - ret.root = newFolder.name; - return ret; - }, - - /** - * Delete a file, or a directory and all sub-files, from the zip - * @param {string} name the name of the file to delete - * @return {JSZip} this JSZip object - */ - remove: function(name) { - name = this.root + name; - var file = this.files[name]; - if (!file) { - // Look for any folders - if (name.slice(-1) !== "/") { - name += "/"; - } - file = this.files[name]; - } - - if (file && !file.dir) { - // file - delete this.files[name]; - } else { - // maybe a folder, delete recursively - var kids = this.filter(function(relativePath, file) { - return file.name.slice(0, name.length) === name; - }); - for (var i = 0; i < kids.length; i++) { - delete this.files[kids[i].name]; - } - } - - return this; - }, - - /** - * Generate the complete zip file - * @param {Object} options the options to generate the zip file : - * - compression, "STORE" by default. - * - type, "base64" by default. Values are : string, base64, uint8array, arraybuffer, blob. - * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the zip file - */ - generate: function(options) { - throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); - }, - - /** - * Generate the complete zip file as an internal stream. - * @param {Object} options the options to generate the zip file : - * - compression, "STORE" by default. - * - type, "base64" by default. Values are : string, base64, uint8array, arraybuffer, blob. - * @return {StreamHelper} the streamed zip file. - */ - generateInternalStream: function(options) { - var worker, opts = {}; - try { - opts = utils.extend(options || {}, { - streamFiles: false, - compression: "STORE", - compressionOptions : null, - type: "", - platform: "DOS", - comment: null, - mimeType: 'application/zip', - encodeFileName: utf8.utf8encode - }); - - opts.type = opts.type.toLowerCase(); - opts.compression = opts.compression.toUpperCase(); - - // "binarystring" is preferred but the internals use "string". - if(opts.type === "binarystring") { - opts.type = "string"; - } - - if (!opts.type) { - throw new Error("No output type specified."); - } - - utils.checkSupport(opts.type); - - // accept nodejs `process.platform` - if( - opts.platform === 'darwin' || - opts.platform === 'freebsd' || - opts.platform === 'linux' || - opts.platform === 'sunos' - ) { - opts.platform = "UNIX"; - } - if (opts.platform === 'win32') { - opts.platform = "DOS"; - } - - var comment = opts.comment || this.comment || ""; - worker = generate.generateWorker(this, opts, comment); - } catch (e) { - worker = new GenericWorker("error"); - worker.error(e); - } - return new StreamHelper(worker, opts.type || "string", opts.mimeType); - }, - /** - * Generate the complete zip file asynchronously. - * @see generateInternalStream - */ - generateAsync: function(options, onUpdate) { - return this.generateInternalStream(options).accumulate(onUpdate); - }, - /** - * Generate the complete zip file asynchronously. - * @see generateInternalStream - */ - generateNodeStream: function(options, onUpdate) { - options = options || {}; - if (!options.type) { - options.type = "nodebuffer"; - } - return this.generateInternalStream(options).toNodejsStream(onUpdate); - } -}; -module.exports = out; - -},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(require,module,exports){ -/* - * This file is used by module bundlers (browserify/webpack/etc) when - * including a stream implementation. We use "readable-stream" to get a - * consistent behavior between nodejs versions but bundlers often have a shim - * for "stream". Using this shim greatly improve the compatibility and greatly - * reduce the final size of the bundle (only one stream implementation, not - * two). - */ -module.exports = require("stream"); - -},{"stream":undefined}],17:[function(require,module,exports){ -'use strict'; -var DataReader = require('./DataReader'); -var utils = require('../utils'); - -function ArrayReader(data) { - DataReader.call(this, data); - for(var i = 0; i < this.data.length; i++) { - data[i] = data[i] & 0xFF; - } -} -utils.inherits(ArrayReader, DataReader); -/** - * @see DataReader.byteAt - */ -ArrayReader.prototype.byteAt = function(i) { - return this.data[this.zero + i]; -}; -/** - * @see DataReader.lastIndexOfSignature - */ -ArrayReader.prototype.lastIndexOfSignature = function(sig) { - var sig0 = sig.charCodeAt(0), - sig1 = sig.charCodeAt(1), - sig2 = sig.charCodeAt(2), - sig3 = sig.charCodeAt(3); - for (var i = this.length - 4; i >= 0; --i) { - if (this.data[i] === sig0 && this.data[i + 1] === sig1 && this.data[i + 2] === sig2 && this.data[i + 3] === sig3) { - return i - this.zero; - } - } - - return -1; -}; -/** - * @see DataReader.readAndCheckSignature - */ -ArrayReader.prototype.readAndCheckSignature = function (sig) { - var sig0 = sig.charCodeAt(0), - sig1 = sig.charCodeAt(1), - sig2 = sig.charCodeAt(2), - sig3 = sig.charCodeAt(3), - data = this.readData(4); - return sig0 === data[0] && sig1 === data[1] && sig2 === data[2] && sig3 === data[3]; -}; -/** - * @see DataReader.readData - */ -ArrayReader.prototype.readData = function(size) { - this.checkOffset(size); - if(size === 0) { - return []; - } - var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); - this.index += size; - return result; -}; -module.exports = ArrayReader; - -},{"../utils":32,"./DataReader":18}],18:[function(require,module,exports){ -'use strict'; -var utils = require('../utils'); - -function DataReader(data) { - this.data = data; // type : see implementation - this.length = data.length; - this.index = 0; - this.zero = 0; -} -DataReader.prototype = { - /** - * Check that the offset will not go too far. - * @param {string} offset the additional offset to check. - * @throws {Error} an Error if the offset is out of bounds. - */ - checkOffset: function(offset) { - this.checkIndex(this.index + offset); - }, - /** - * Check that the specified index will not be too far. - * @param {string} newIndex the index to check. - * @throws {Error} an Error if the index is out of bounds. - */ - checkIndex: function(newIndex) { - if (this.length < this.zero + newIndex || newIndex < 0) { - throw new Error("End of data reached (data length = " + this.length + ", asked index = " + (newIndex) + "). Corrupted zip ?"); - } - }, - /** - * Change the index. - * @param {number} newIndex The new index. - * @throws {Error} if the new index is out of the data. - */ - setIndex: function(newIndex) { - this.checkIndex(newIndex); - this.index = newIndex; - }, - /** - * Skip the next n bytes. - * @param {number} n the number of bytes to skip. - * @throws {Error} if the new index is out of the data. - */ - skip: function(n) { - this.setIndex(this.index + n); - }, - /** - * Get the byte at the specified index. - * @param {number} i the index to use. - * @return {number} a byte. - */ - byteAt: function(i) { - // see implementations - }, - /** - * Get the next number with a given byte size. - * @param {number} size the number of bytes to read. - * @return {number} the corresponding number. - */ - readInt: function(size) { - var result = 0, - i; - this.checkOffset(size); - for (i = this.index + size - 1; i >= this.index; i--) { - result = (result << 8) + this.byteAt(i); - } - this.index += size; - return result; - }, - /** - * Get the next string with a given byte size. - * @param {number} size the number of bytes to read. - * @return {string} the corresponding string. - */ - readString: function(size) { - return utils.transformTo("string", this.readData(size)); - }, - /** - * Get raw data without conversion, bytes. - * @param {number} size the number of bytes to read. - * @return {Object} the raw data, implementation specific. - */ - readData: function(size) { - // see implementations - }, - /** - * Find the last occurrence of a zip signature (4 bytes). - * @param {string} sig the signature to find. - * @return {number} the index of the last occurrence, -1 if not found. - */ - lastIndexOfSignature: function(sig) { - // see implementations - }, - /** - * Read the signature (4 bytes) at the current position and compare it with sig. - * @param {string} sig the expected signature - * @return {boolean} true if the signature matches, false otherwise. - */ - readAndCheckSignature: function(sig) { - // see implementations - }, - /** - * Get the next date. - * @return {Date} the date. - */ - readDate: function() { - var dostime = this.readInt(4); - return new Date(Date.UTC( - ((dostime >> 25) & 0x7f) + 1980, // year - ((dostime >> 21) & 0x0f) - 1, // month - (dostime >> 16) & 0x1f, // day - (dostime >> 11) & 0x1f, // hour - (dostime >> 5) & 0x3f, // minute - (dostime & 0x1f) << 1)); // second - } -}; -module.exports = DataReader; - -},{"../utils":32}],19:[function(require,module,exports){ -'use strict'; -var Uint8ArrayReader = require('./Uint8ArrayReader'); -var utils = require('../utils'); - -function NodeBufferReader(data) { - Uint8ArrayReader.call(this, data); -} -utils.inherits(NodeBufferReader, Uint8ArrayReader); - -/** - * @see DataReader.readData - */ -NodeBufferReader.prototype.readData = function(size) { - this.checkOffset(size); - var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); - this.index += size; - return result; -}; -module.exports = NodeBufferReader; - -},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(require,module,exports){ -'use strict'; -var DataReader = require('./DataReader'); -var utils = require('../utils'); - -function StringReader(data) { - DataReader.call(this, data); -} -utils.inherits(StringReader, DataReader); -/** - * @see DataReader.byteAt - */ -StringReader.prototype.byteAt = function(i) { - return this.data.charCodeAt(this.zero + i); -}; -/** - * @see DataReader.lastIndexOfSignature - */ -StringReader.prototype.lastIndexOfSignature = function(sig) { - return this.data.lastIndexOf(sig) - this.zero; -}; -/** - * @see DataReader.readAndCheckSignature - */ -StringReader.prototype.readAndCheckSignature = function (sig) { - var data = this.readData(4); - return sig === data; -}; -/** - * @see DataReader.readData - */ -StringReader.prototype.readData = function(size) { - this.checkOffset(size); - // this will work because the constructor applied the "& 0xff" mask. - var result = this.data.slice(this.zero + this.index, this.zero + this.index + size); - this.index += size; - return result; -}; -module.exports = StringReader; - -},{"../utils":32,"./DataReader":18}],21:[function(require,module,exports){ -'use strict'; -var ArrayReader = require('./ArrayReader'); -var utils = require('../utils'); - -function Uint8ArrayReader(data) { - ArrayReader.call(this, data); -} -utils.inherits(Uint8ArrayReader, ArrayReader); -/** - * @see DataReader.readData - */ -Uint8ArrayReader.prototype.readData = function(size) { - this.checkOffset(size); - if(size === 0) { - // in IE10, when using subarray(idx, idx), we get the array [0x00] instead of []. - return new Uint8Array(0); - } - var result = this.data.subarray(this.zero + this.index, this.zero + this.index + size); - this.index += size; - return result; -}; -module.exports = Uint8ArrayReader; - -},{"../utils":32,"./ArrayReader":17}],22:[function(require,module,exports){ -'use strict'; - -var utils = require('../utils'); -var support = require('../support'); -var ArrayReader = require('./ArrayReader'); -var StringReader = require('./StringReader'); -var NodeBufferReader = require('./NodeBufferReader'); -var Uint8ArrayReader = require('./Uint8ArrayReader'); - -/** - * Create a reader adapted to the data. - * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data to read. - * @return {DataReader} the data reader. - */ -module.exports = function (data) { - var type = utils.getTypeOf(data); - utils.checkSupport(type); - if (type === "string" && !support.uint8array) { - return new StringReader(data); - } - if (type === "nodebuffer") { - return new NodeBufferReader(data); - } - if (support.uint8array) { - return new Uint8ArrayReader(utils.transformTo("uint8array", data)); - } - return new ArrayReader(utils.transformTo("array", data)); -}; - -},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(require,module,exports){ -'use strict'; -exports.LOCAL_FILE_HEADER = "PK\x03\x04"; -exports.CENTRAL_FILE_HEADER = "PK\x01\x02"; -exports.CENTRAL_DIRECTORY_END = "PK\x05\x06"; -exports.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x06\x07"; -exports.ZIP64_CENTRAL_DIRECTORY_END = "PK\x06\x06"; -exports.DATA_DESCRIPTOR = "PK\x07\x08"; - -},{}],24:[function(require,module,exports){ -'use strict'; - -var GenericWorker = require('./GenericWorker'); -var utils = require('../utils'); - -/** - * A worker which convert chunks to a specified type. - * @constructor - * @param {String} destType the destination type. - */ -function ConvertWorker(destType) { - GenericWorker.call(this, "ConvertWorker to " + destType); - this.destType = destType; -} -utils.inherits(ConvertWorker, GenericWorker); - -/** - * @see GenericWorker.processChunk - */ -ConvertWorker.prototype.processChunk = function (chunk) { - this.push({ - data : utils.transformTo(this.destType, chunk.data), - meta : chunk.meta - }); -}; -module.exports = ConvertWorker; - -},{"../utils":32,"./GenericWorker":28}],25:[function(require,module,exports){ -'use strict'; - -var GenericWorker = require('./GenericWorker'); -var crc32 = require('../crc32'); -var utils = require('../utils'); - -/** - * A worker which calculate the crc32 of the data flowing through. - * @constructor - */ -function Crc32Probe() { - GenericWorker.call(this, "Crc32Probe"); - this.withStreamInfo("crc32", 0); -} -utils.inherits(Crc32Probe, GenericWorker); - -/** - * @see GenericWorker.processChunk - */ -Crc32Probe.prototype.processChunk = function (chunk) { - this.streamInfo.crc32 = crc32(chunk.data, this.streamInfo.crc32 || 0); - this.push(chunk); -}; -module.exports = Crc32Probe; - -},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(require,module,exports){ -'use strict'; - -var utils = require('../utils'); -var GenericWorker = require('./GenericWorker'); - -/** - * A worker which calculate the total length of the data flowing through. - * @constructor - * @param {String} propName the name used to expose the length - */ -function DataLengthProbe(propName) { - GenericWorker.call(this, "DataLengthProbe for " + propName); - this.propName = propName; - this.withStreamInfo(propName, 0); -} -utils.inherits(DataLengthProbe, GenericWorker); - -/** - * @see GenericWorker.processChunk - */ -DataLengthProbe.prototype.processChunk = function (chunk) { - if(chunk) { - var length = this.streamInfo[this.propName] || 0; - this.streamInfo[this.propName] = length + chunk.data.length; - } - GenericWorker.prototype.processChunk.call(this, chunk); -}; -module.exports = DataLengthProbe; - - -},{"../utils":32,"./GenericWorker":28}],27:[function(require,module,exports){ -'use strict'; - -var utils = require('../utils'); -var GenericWorker = require('./GenericWorker'); - -// the size of the generated chunks -// TODO expose this as a public variable -var DEFAULT_BLOCK_SIZE = 16 * 1024; - -/** - * A worker that reads a content and emits chunks. - * @constructor - * @param {Promise} dataP the promise of the data to split - */ -function DataWorker(dataP) { - GenericWorker.call(this, "DataWorker"); - var self = this; - this.dataIsReady = false; - this.index = 0; - this.max = 0; - this.data = null; - this.type = ""; - - this._tickScheduled = false; - - dataP.then(function (data) { - self.dataIsReady = true; - self.data = data; - self.max = data && data.length || 0; - self.type = utils.getTypeOf(data); - if(!self.isPaused) { - self._tickAndRepeat(); - } - }, function (e) { - self.error(e); - }); -} - -utils.inherits(DataWorker, GenericWorker); - -/** - * @see GenericWorker.cleanUp - */ -DataWorker.prototype.cleanUp = function () { - GenericWorker.prototype.cleanUp.call(this); - this.data = null; -}; - -/** - * @see GenericWorker.resume - */ -DataWorker.prototype.resume = function () { - if(!GenericWorker.prototype.resume.call(this)) { - return false; - } - - if (!this._tickScheduled && this.dataIsReady) { - this._tickScheduled = true; - utils.delay(this._tickAndRepeat, [], this); - } - return true; -}; - -/** - * Trigger a tick a schedule an other call to this function. - */ -DataWorker.prototype._tickAndRepeat = function() { - this._tickScheduled = false; - if(this.isPaused || this.isFinished) { - return; - } - this._tick(); - if(!this.isFinished) { - utils.delay(this._tickAndRepeat, [], this); - this._tickScheduled = true; - } -}; - -/** - * Read and push a chunk. - */ -DataWorker.prototype._tick = function() { - - if(this.isPaused || this.isFinished) { - return false; - } - - var size = DEFAULT_BLOCK_SIZE; - var data = null, nextIndex = Math.min(this.max, this.index + size); - if (this.index >= this.max) { - // EOF - return this.end(); - } else { - switch(this.type) { - case "string": - data = this.data.substring(this.index, nextIndex); - break; - case "uint8array": - data = this.data.subarray(this.index, nextIndex); - break; - case "array": - case "nodebuffer": - data = this.data.slice(this.index, nextIndex); - break; - } - this.index = nextIndex; - return this.push({ - data : data, - meta : { - percent : this.max ? this.index / this.max * 100 : 0 - } - }); - } -}; - -module.exports = DataWorker; - -},{"../utils":32,"./GenericWorker":28}],28:[function(require,module,exports){ -'use strict'; - -/** - * A worker that does nothing but passing chunks to the next one. This is like - * a nodejs stream but with some differences. On the good side : - * - it works on IE 6-9 without any issue / polyfill - * - it weights less than the full dependencies bundled with browserify - * - it forwards errors (no need to declare an error handler EVERYWHERE) - * - * A chunk is an object with 2 attributes : `meta` and `data`. The former is an - * object containing anything (`percent` for example), see each worker for more - * details. The latter is the real data (String, Uint8Array, etc). - * - * @constructor - * @param {String} name the name of the stream (mainly used for debugging purposes) - */ -function GenericWorker(name) { - // the name of the worker - this.name = name || "default"; - // an object containing metadata about the workers chain - this.streamInfo = {}; - // an error which happened when the worker was paused - this.generatedError = null; - // an object containing metadata to be merged by this worker into the general metadata - this.extraStreamInfo = {}; - // true if the stream is paused (and should not do anything), false otherwise - this.isPaused = true; - // true if the stream is finished (and should not do anything), false otherwise - this.isFinished = false; - // true if the stream is locked to prevent further structure updates (pipe), false otherwise - this.isLocked = false; - // the event listeners - this._listeners = { - 'data':[], - 'end':[], - 'error':[] - }; - // the previous worker, if any - this.previous = null; -} - -GenericWorker.prototype = { - /** - * Push a chunk to the next workers. - * @param {Object} chunk the chunk to push - */ - push : function (chunk) { - this.emit("data", chunk); - }, - /** - * End the stream. - * @return {Boolean} true if this call ended the worker, false otherwise. - */ - end : function () { - if (this.isFinished) { - return false; - } - - this.flush(); - try { - this.emit("end"); - this.cleanUp(); - this.isFinished = true; - } catch (e) { - this.emit("error", e); - } - return true; - }, - /** - * End the stream with an error. - * @param {Error} e the error which caused the premature end. - * @return {Boolean} true if this call ended the worker with an error, false otherwise. - */ - error : function (e) { - if (this.isFinished) { - return false; - } - - if(this.isPaused) { - this.generatedError = e; - } else { - this.isFinished = true; - - this.emit("error", e); - - // in the workers chain exploded in the middle of the chain, - // the error event will go downward but we also need to notify - // workers upward that there has been an error. - if(this.previous) { - this.previous.error(e); - } - - this.cleanUp(); - } - return true; - }, - /** - * Add a callback on an event. - * @param {String} name the name of the event (data, end, error) - * @param {Function} listener the function to call when the event is triggered - * @return {GenericWorker} the current object for chainability - */ - on : function (name, listener) { - this._listeners[name].push(listener); - return this; - }, - /** - * Clean any references when a worker is ending. - */ - cleanUp : function () { - this.streamInfo = this.generatedError = this.extraStreamInfo = null; - this._listeners = []; - }, - /** - * Trigger an event. This will call registered callback with the provided arg. - * @param {String} name the name of the event (data, end, error) - * @param {Object} arg the argument to call the callback with. - */ - emit : function (name, arg) { - if (this._listeners[name]) { - for(var i = 0; i < this._listeners[name].length; i++) { - this._listeners[name][i].call(this, arg); - } - } - }, - /** - * Chain a worker with an other. - * @param {Worker} next the worker receiving events from the current one. - * @return {worker} the next worker for chainability - */ - pipe : function (next) { - return next.registerPrevious(this); - }, - /** - * Same as `pipe` in the other direction. - * Using an API with `pipe(next)` is very easy. - * Implementing the API with the point of view of the next one registering - * a source is easier, see the ZipFileWorker. - * @param {Worker} previous the previous worker, sending events to this one - * @return {Worker} the current worker for chainability - */ - registerPrevious : function (previous) { - if (this.isLocked) { - throw new Error("The stream '" + this + "' has already been used."); - } - - // sharing the streamInfo... - this.streamInfo = previous.streamInfo; - // ... and adding our own bits - this.mergeStreamInfo(); - this.previous = previous; - var self = this; - previous.on('data', function (chunk) { - self.processChunk(chunk); - }); - previous.on('end', function () { - self.end(); - }); - previous.on('error', function (e) { - self.error(e); - }); - return this; - }, - /** - * Pause the stream so it doesn't send events anymore. - * @return {Boolean} true if this call paused the worker, false otherwise. - */ - pause : function () { - if(this.isPaused || this.isFinished) { - return false; - } - this.isPaused = true; - - if(this.previous) { - this.previous.pause(); - } - return true; - }, - /** - * Resume a paused stream. - * @return {Boolean} true if this call resumed the worker, false otherwise. - */ - resume : function () { - if(!this.isPaused || this.isFinished) { - return false; - } - this.isPaused = false; - - // if true, the worker tried to resume but failed - var withError = false; - if(this.generatedError) { - this.error(this.generatedError); - withError = true; - } - if(this.previous) { - this.previous.resume(); - } - - return !withError; - }, - /** - * Flush any remaining bytes as the stream is ending. - */ - flush : function () {}, - /** - * Process a chunk. This is usually the method overridden. - * @param {Object} chunk the chunk to process. - */ - processChunk : function(chunk) { - this.push(chunk); - }, - /** - * Add a key/value to be added in the workers chain streamInfo once activated. - * @param {String} key the key to use - * @param {Object} value the associated value - * @return {Worker} the current worker for chainability - */ - withStreamInfo : function (key, value) { - this.extraStreamInfo[key] = value; - this.mergeStreamInfo(); - return this; - }, - /** - * Merge this worker's streamInfo into the chain's streamInfo. - */ - mergeStreamInfo : function () { - for(var key in this.extraStreamInfo) { - if (!this.extraStreamInfo.hasOwnProperty(key)) { - continue; - } - this.streamInfo[key] = this.extraStreamInfo[key]; - } - }, - - /** - * Lock the stream to prevent further updates on the workers chain. - * After calling this method, all calls to pipe will fail. - */ - lock: function () { - if (this.isLocked) { - throw new Error("The stream '" + this + "' has already been used."); - } - this.isLocked = true; - if (this.previous) { - this.previous.lock(); - } - }, - - /** - * - * Pretty print the workers chain. - */ - toString : function () { - var me = "Worker " + this.name; - if (this.previous) { - return this.previous + " -> " + me; - } else { - return me; - } - } -}; - -module.exports = GenericWorker; - -},{}],29:[function(require,module,exports){ -'use strict'; - -var utils = require('../utils'); -var ConvertWorker = require('./ConvertWorker'); -var GenericWorker = require('./GenericWorker'); -var base64 = require('../base64'); -var support = require("../support"); -var external = require("../external"); - -var NodejsStreamOutputAdapter = null; -if (support.nodestream) { - try { - NodejsStreamOutputAdapter = require('../nodejs/NodejsStreamOutputAdapter'); - } catch(e) {} -} - -/** - * Apply the final transformation of the data. If the user wants a Blob for - * example, it's easier to work with an U8intArray and finally do the - * ArrayBuffer/Blob conversion. - * @param {String} type the name of the final type - * @param {String|Uint8Array|Buffer} content the content to transform - * @param {String} mimeType the mime type of the content, if applicable. - * @return {String|Uint8Array|ArrayBuffer|Buffer|Blob} the content in the right format. - */ -function transformZipOutput(type, content, mimeType) { - switch(type) { - case "blob" : - return utils.newBlob(utils.transformTo("arraybuffer", content), mimeType); - case "base64" : - return base64.encode(content); - default : - return utils.transformTo(type, content); - } -} - -/** - * Concatenate an array of data of the given type. - * @param {String} type the type of the data in the given array. - * @param {Array} dataArray the array containing the data chunks to concatenate - * @return {String|Uint8Array|Buffer} the concatenated data - * @throws Error if the asked type is unsupported - */ -function concat (type, dataArray) { - var i, index = 0, res = null, totalLength = 0; - for(i = 0; i < dataArray.length; i++) { - totalLength += dataArray[i].length; - } - switch(type) { - case "string": - return dataArray.join(""); - case "array": - return Array.prototype.concat.apply([], dataArray); - case "uint8array": - res = new Uint8Array(totalLength); - for(i = 0; i < dataArray.length; i++) { - res.set(dataArray[i], index); - index += dataArray[i].length; - } - return res; - case "nodebuffer": - return Buffer.concat(dataArray); - default: - throw new Error("concat : unsupported type '" + type + "'"); - } -} - -/** - * Listen a StreamHelper, accumulate its content and concatenate it into a - * complete block. - * @param {StreamHelper} helper the helper to use. - * @param {Function} updateCallback a callback called on each update. Called - * with one arg : - * - the metadata linked to the update received. - * @return Promise the promise for the accumulation. - */ -function accumulate(helper, updateCallback) { - return new external.Promise(function (resolve, reject){ - var dataArray = []; - var chunkType = helper._internalType, - resultType = helper._outputType, - mimeType = helper._mimeType; - helper - .on('data', function (data, meta) { - dataArray.push(data); - if(updateCallback) { - updateCallback(meta); - } - }) - .on('error', function(err) { - dataArray = []; - reject(err); - }) - .on('end', function (){ - try { - var result = transformZipOutput(resultType, concat(chunkType, dataArray), mimeType); - resolve(result); - } catch (e) { - reject(e); - } - dataArray = []; - }) - .resume(); - }); -} - -/** - * An helper to easily use workers outside of JSZip. - * @constructor - * @param {Worker} worker the worker to wrap - * @param {String} outputType the type of data expected by the use - * @param {String} mimeType the mime type of the content, if applicable. - */ -function StreamHelper(worker, outputType, mimeType) { - var internalType = outputType; - switch(outputType) { - case "blob": - case "arraybuffer": - internalType = "uint8array"; - break; - case "base64": - internalType = "string"; - break; - } - - try { - // the type used internally - this._internalType = internalType; - // the type used to output results - this._outputType = outputType; - // the mime type - this._mimeType = mimeType; - utils.checkSupport(internalType); - this._worker = worker.pipe(new ConvertWorker(internalType)); - // the last workers can be rewired without issues but we need to - // prevent any updates on previous workers. - worker.lock(); - } catch(e) { - this._worker = new GenericWorker("error"); - this._worker.error(e); - } -} - -StreamHelper.prototype = { - /** - * Listen a StreamHelper, accumulate its content and concatenate it into a - * complete block. - * @param {Function} updateCb the update callback. - * @return Promise the promise for the accumulation. - */ - accumulate : function (updateCb) { - return accumulate(this, updateCb); - }, - /** - * Add a listener on an event triggered on a stream. - * @param {String} evt the name of the event - * @param {Function} fn the listener - * @return {StreamHelper} the current helper. - */ - on : function (evt, fn) { - var self = this; - - if(evt === "data") { - this._worker.on(evt, function (chunk) { - fn.call(self, chunk.data, chunk.meta); - }); - } else { - this._worker.on(evt, function () { - utils.delay(fn, arguments, self); - }); - } - return this; - }, - /** - * Resume the flow of chunks. - * @return {StreamHelper} the current helper. - */ - resume : function () { - utils.delay(this._worker.resume, [], this._worker); - return this; - }, - /** - * Pause the flow of chunks. - * @return {StreamHelper} the current helper. - */ - pause : function () { - this._worker.pause(); - return this; - }, - /** - * Return a nodejs stream for this helper. - * @param {Function} updateCb the update callback. - * @return {NodejsStreamOutputAdapter} the nodejs stream. - */ - toNodejsStream : function (updateCb) { - utils.checkSupport("nodestream"); - if (this._outputType !== "nodebuffer") { - // an object stream containing blob/arraybuffer/uint8array/string - // is strange and I don't know if it would be useful. - // I you find this comment and have a good usecase, please open a - // bug report ! - throw new Error(this._outputType + " is not supported by this method"); - } - - return new NodejsStreamOutputAdapter(this, { - objectMode : this._outputType !== "nodebuffer" - }, updateCb); - } -}; - - -module.exports = StreamHelper; - -},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(require,module,exports){ -'use strict'; - -exports.base64 = true; -exports.array = true; -exports.string = true; -exports.arraybuffer = typeof ArrayBuffer !== "undefined" && typeof Uint8Array !== "undefined"; -exports.nodebuffer = typeof Buffer !== "undefined"; -// contains true if JSZip can read/generate Uint8Array, false otherwise. -exports.uint8array = typeof Uint8Array !== "undefined"; - -if (typeof ArrayBuffer === "undefined") { - exports.blob = false; -} -else { - var buffer = new ArrayBuffer(0); - try { - exports.blob = new Blob([buffer], { - type: "application/zip" - }).size === 0; - } - catch (e) { - try { - var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder; - var builder = new Builder(); - builder.append(buffer); - exports.blob = builder.getBlob('application/zip').size === 0; - } - catch (e) { - exports.blob = false; - } - } -} - -try { - exports.nodestream = !!require('readable-stream').Readable; -} catch(e) { - exports.nodestream = false; -} - -},{"readable-stream":16}],31:[function(require,module,exports){ -'use strict'; - -var utils = require('./utils'); -var support = require('./support'); -var nodejsUtils = require('./nodejsUtils'); -var GenericWorker = require('./stream/GenericWorker'); - -/** - * The following functions come from pako, from pako/lib/utils/strings - * released under the MIT license, see pako https://github.com/nodeca/pako/ - */ - -// Table with utf8 lengths (calculated by first byte of sequence) -// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS, -// because max possible codepoint is 0x10ffff -var _utf8len = new Array(256); -for (var i=0; i<256; i++) { - _utf8len[i] = (i >= 252 ? 6 : i >= 248 ? 5 : i >= 240 ? 4 : i >= 224 ? 3 : i >= 192 ? 2 : 1); -} -_utf8len[254]=_utf8len[254]=1; // Invalid sequence start - -// convert string to array (typed, when possible) -var string2buf = function (str) { - var buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0; - - // count binary size - for (m_pos = 0; m_pos < str_len; m_pos++) { - c = str.charCodeAt(m_pos); - if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { - c2 = str.charCodeAt(m_pos+1); - if ((c2 & 0xfc00) === 0xdc00) { - c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); - m_pos++; - } - } - buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4; - } - - // allocate buffer - if (support.uint8array) { - buf = new Uint8Array(buf_len); - } else { - buf = new Array(buf_len); - } - - // convert - for (i=0, m_pos = 0; i < buf_len; m_pos++) { - c = str.charCodeAt(m_pos); - if ((c & 0xfc00) === 0xd800 && (m_pos+1 < str_len)) { - c2 = str.charCodeAt(m_pos+1); - if ((c2 & 0xfc00) === 0xdc00) { - c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00); - m_pos++; - } - } - if (c < 0x80) { - /* one byte */ - buf[i++] = c; - } else if (c < 0x800) { - /* two bytes */ - buf[i++] = 0xC0 | (c >>> 6); - buf[i++] = 0x80 | (c & 0x3f); - } else if (c < 0x10000) { - /* three bytes */ - buf[i++] = 0xE0 | (c >>> 12); - buf[i++] = 0x80 | (c >>> 6 & 0x3f); - buf[i++] = 0x80 | (c & 0x3f); - } else { - /* four bytes */ - buf[i++] = 0xf0 | (c >>> 18); - buf[i++] = 0x80 | (c >>> 12 & 0x3f); - buf[i++] = 0x80 | (c >>> 6 & 0x3f); - buf[i++] = 0x80 | (c & 0x3f); - } - } - - return buf; -}; - -// Calculate max possible position in utf8 buffer, -// that will not break sequence. If that's not possible -// - (very small limits) return max size as is. -// -// buf[] - utf8 bytes array -// max - length limit (mandatory); -var utf8border = function(buf, max) { - var pos; - - max = max || buf.length; - if (max > buf.length) { max = buf.length; } - - // go back from last position, until start of sequence found - pos = max-1; - while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; } - - // Fuckup - very small and broken sequence, - // return max, because we should return something anyway. - if (pos < 0) { return max; } - - // If we came to start of buffer - that means vuffer is too small, - // return max too. - if (pos === 0) { return max; } - - return (pos + _utf8len[buf[pos]] > max) ? pos : max; -}; - -// convert array to string -var buf2string = function (buf) { - var str, i, out, c, c_len; - var len = buf.length; - - // Reserve max possible length (2 words per char) - // NB: by unknown reasons, Array is significantly faster for - // String.fromCharCode.apply than Uint16Array. - var utf16buf = new Array(len*2); - - for (out=0, i=0; i 4) { utf16buf[out++] = 0xfffd; i += c_len-1; continue; } - - // apply mask on first byte - c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07; - // join the rest - while (c_len > 1 && i < len) { - c = (c << 6) | (buf[i++] & 0x3f); - c_len--; - } - - // terminated by end of string? - if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; } - - if (c < 0x10000) { - utf16buf[out++] = c; - } else { - c -= 0x10000; - utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff); - utf16buf[out++] = 0xdc00 | (c & 0x3ff); - } - } - - // shrinkBuf(utf16buf, out) - if (utf16buf.length !== out) { - if(utf16buf.subarray) { - utf16buf = utf16buf.subarray(0, out); - } else { - utf16buf.length = out; - } - } - - // return String.fromCharCode.apply(null, utf16buf); - return utils.applyFromCharCode(utf16buf); -}; - - -// That's all for the pako functions. - - -/** - * Transform a javascript string into an array (typed if possible) of bytes, - * UTF-8 encoded. - * @param {String} str the string to encode - * @return {Array|Uint8Array|Buffer} the UTF-8 encoded string. - */ -exports.utf8encode = function utf8encode(str) { - if (support.nodebuffer) { - return nodejsUtils.newBufferFrom(str, "utf-8"); - } - - return string2buf(str); -}; - - -/** - * Transform a bytes array (or a representation) representing an UTF-8 encoded - * string into a javascript string. - * @param {Array|Uint8Array|Buffer} buf the data de decode - * @return {String} the decoded string. - */ -exports.utf8decode = function utf8decode(buf) { - if (support.nodebuffer) { - return utils.transformTo("nodebuffer", buf).toString("utf-8"); - } - - buf = utils.transformTo(support.uint8array ? "uint8array" : "array", buf); - - return buf2string(buf); -}; - -/** - * A worker to decode utf8 encoded binary chunks into string chunks. - * @constructor - */ -function Utf8DecodeWorker() { - GenericWorker.call(this, "utf-8 decode"); - // the last bytes if a chunk didn't end with a complete codepoint. - this.leftOver = null; -} -utils.inherits(Utf8DecodeWorker, GenericWorker); - -/** - * @see GenericWorker.processChunk - */ -Utf8DecodeWorker.prototype.processChunk = function (chunk) { - - var data = utils.transformTo(support.uint8array ? "uint8array" : "array", chunk.data); - - // 1st step, re-use what's left of the previous chunk - if (this.leftOver && this.leftOver.length) { - if(support.uint8array) { - var previousData = data; - data = new Uint8Array(previousData.length + this.leftOver.length); - data.set(this.leftOver, 0); - data.set(previousData, this.leftOver.length); - } else { - data = this.leftOver.concat(data); - } - this.leftOver = null; - } - - var nextBoundary = utf8border(data); - var usableData = data; - if (nextBoundary !== data.length) { - if (support.uint8array) { - usableData = data.subarray(0, nextBoundary); - this.leftOver = data.subarray(nextBoundary, data.length); - } else { - usableData = data.slice(0, nextBoundary); - this.leftOver = data.slice(nextBoundary, data.length); - } - } - - this.push({ - data : exports.utf8decode(usableData), - meta : chunk.meta - }); -}; - -/** - * @see GenericWorker.flush - */ -Utf8DecodeWorker.prototype.flush = function () { - if(this.leftOver && this.leftOver.length) { - this.push({ - data : exports.utf8decode(this.leftOver), - meta : {} - }); - this.leftOver = null; - } -}; -exports.Utf8DecodeWorker = Utf8DecodeWorker; - -/** - * A worker to endcode string chunks into utf8 encoded binary chunks. - * @constructor - */ -function Utf8EncodeWorker() { - GenericWorker.call(this, "utf-8 encode"); -} -utils.inherits(Utf8EncodeWorker, GenericWorker); - -/** - * @see GenericWorker.processChunk - */ -Utf8EncodeWorker.prototype.processChunk = function (chunk) { - this.push({ - data : exports.utf8encode(chunk.data), - meta : chunk.meta - }); -}; -exports.Utf8EncodeWorker = Utf8EncodeWorker; - -},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(require,module,exports){ -'use strict'; - -var support = require('./support'); -var base64 = require('./base64'); -var nodejsUtils = require('./nodejsUtils'); -var setImmediate = require('set-immediate-shim'); -var external = require("./external"); - - -/** - * Convert a string that pass as a "binary string": it should represent a byte - * array but may have > 255 char codes. Be sure to take only the first byte - * and returns the byte array. - * @param {String} str the string to transform. - * @return {Array|Uint8Array} the string in a binary format. - */ -function string2binary(str) { - var result = null; - if (support.uint8array) { - result = new Uint8Array(str.length); - } else { - result = new Array(str.length); - } - return stringToArrayLike(str, result); -} - -/** - * Create a new blob with the given content and the given type. - * @param {String|ArrayBuffer} part the content to put in the blob. DO NOT use - * an Uint8Array because the stock browser of android 4 won't accept it (it - * will be silently converted to a string, "[object Uint8Array]"). - * - * Use only ONE part to build the blob to avoid a memory leak in IE11 / Edge: - * when a large amount of Array is used to create the Blob, the amount of - * memory consumed is nearly 100 times the original data amount. - * - * @param {String} type the mime type of the blob. - * @return {Blob} the created blob. - */ -exports.newBlob = function(part, type) { - exports.checkSupport("blob"); - - try { - // Blob constructor - return new Blob([part], { - type: type - }); - } - catch (e) { - - try { - // deprecated, browser only, old way - var Builder = self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder; - var builder = new Builder(); - builder.append(part); - return builder.getBlob(type); - } - catch (e) { - - // well, fuck ?! - throw new Error("Bug : can't construct the Blob."); - } - } - - -}; -/** - * The identity function. - * @param {Object} input the input. - * @return {Object} the same input. - */ -function identity(input) { - return input; -} - -/** - * Fill in an array with a string. - * @param {String} str the string to use. - * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to fill in (will be mutated). - * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated array. - */ -function stringToArrayLike(str, array) { - for (var i = 0; i < str.length; ++i) { - array[i] = str.charCodeAt(i) & 0xFF; - } - return array; -} - -/** - * An helper for the function arrayLikeToString. - * This contains static information and functions that - * can be optimized by the browser JIT compiler. - */ -var arrayToStringHelper = { - /** - * Transform an array of int into a string, chunk by chunk. - * See the performances notes on arrayLikeToString. - * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. - * @param {String} type the type of the array. - * @param {Integer} chunk the chunk size. - * @return {String} the resulting string. - * @throws Error if the chunk is too big for the stack. - */ - stringifyByChunk: function(array, type, chunk) { - var result = [], k = 0, len = array.length; - // shortcut - if (len <= chunk) { - return String.fromCharCode.apply(null, array); - } - while (k < len) { - if (type === "array" || type === "nodebuffer") { - result.push(String.fromCharCode.apply(null, array.slice(k, Math.min(k + chunk, len)))); - } - else { - result.push(String.fromCharCode.apply(null, array.subarray(k, Math.min(k + chunk, len)))); - } - k += chunk; - } - return result.join(""); - }, - /** - * Call String.fromCharCode on every item in the array. - * This is the naive implementation, which generate A LOT of intermediate string. - * This should be used when everything else fail. - * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. - * @return {String} the result. - */ - stringifyByChar: function(array){ - var resultStr = ""; - for(var i = 0; i < array.length; i++) { - resultStr += String.fromCharCode(array[i]); - } - return resultStr; - }, - applyCanBeUsed : { - /** - * true if the browser accepts to use String.fromCharCode on Uint8Array - */ - uint8array : (function () { - try { - return support.uint8array && String.fromCharCode.apply(null, new Uint8Array(1)).length === 1; - } catch (e) { - return false; - } - })(), - /** - * true if the browser accepts to use String.fromCharCode on nodejs Buffer. - */ - nodebuffer : (function () { - try { - return support.nodebuffer && String.fromCharCode.apply(null, nodejsUtils.allocBuffer(1)).length === 1; - } catch (e) { - return false; - } - })() - } -}; - -/** - * Transform an array-like object to a string. - * @param {Array|ArrayBuffer|Uint8Array|Buffer} array the array to transform. - * @return {String} the result. - */ -function arrayLikeToString(array) { - // Performances notes : - // -------------------- - // String.fromCharCode.apply(null, array) is the fastest, see - // see http://jsperf.com/converting-a-uint8array-to-a-string/2 - // but the stack is limited (and we can get huge arrays !). - // - // result += String.fromCharCode(array[i]); generate too many strings ! - // - // This code is inspired by http://jsperf.com/arraybuffer-to-string-apply-performance/2 - // TODO : we now have workers that split the work. Do we still need that ? - var chunk = 65536, - type = exports.getTypeOf(array), - canUseApply = true; - if (type === "uint8array") { - canUseApply = arrayToStringHelper.applyCanBeUsed.uint8array; - } else if (type === "nodebuffer") { - canUseApply = arrayToStringHelper.applyCanBeUsed.nodebuffer; - } - - if (canUseApply) { - while (chunk > 1) { - try { - return arrayToStringHelper.stringifyByChunk(array, type, chunk); - } catch (e) { - chunk = Math.floor(chunk / 2); - } - } - } - - // no apply or chunk error : slow and painful algorithm - // default browser on android 4.* - return arrayToStringHelper.stringifyByChar(array); -} - -exports.applyFromCharCode = arrayLikeToString; - - -/** - * Copy the data from an array-like to an other array-like. - * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayFrom the origin array. - * @param {Array|ArrayBuffer|Uint8Array|Buffer} arrayTo the destination array which will be mutated. - * @return {Array|ArrayBuffer|Uint8Array|Buffer} the updated destination array. - */ -function arrayLikeToArrayLike(arrayFrom, arrayTo) { - for (var i = 0; i < arrayFrom.length; i++) { - arrayTo[i] = arrayFrom[i]; - } - return arrayTo; -} - -// a matrix containing functions to transform everything into everything. -var transform = {}; - -// string to ? -transform["string"] = { - "string": identity, - "array": function(input) { - return stringToArrayLike(input, new Array(input.length)); - }, - "arraybuffer": function(input) { - return transform["string"]["uint8array"](input).buffer; - }, - "uint8array": function(input) { - return stringToArrayLike(input, new Uint8Array(input.length)); - }, - "nodebuffer": function(input) { - return stringToArrayLike(input, nodejsUtils.allocBuffer(input.length)); - } -}; - -// array to ? -transform["array"] = { - "string": arrayLikeToString, - "array": identity, - "arraybuffer": function(input) { - return (new Uint8Array(input)).buffer; - }, - "uint8array": function(input) { - return new Uint8Array(input); - }, - "nodebuffer": function(input) { - return nodejsUtils.newBufferFrom(input); - } -}; - -// arraybuffer to ? -transform["arraybuffer"] = { - "string": function(input) { - return arrayLikeToString(new Uint8Array(input)); - }, - "array": function(input) { - return arrayLikeToArrayLike(new Uint8Array(input), new Array(input.byteLength)); - }, - "arraybuffer": identity, - "uint8array": function(input) { - return new Uint8Array(input); - }, - "nodebuffer": function(input) { - return nodejsUtils.newBufferFrom(new Uint8Array(input)); - } -}; - -// uint8array to ? -transform["uint8array"] = { - "string": arrayLikeToString, - "array": function(input) { - return arrayLikeToArrayLike(input, new Array(input.length)); - }, - "arraybuffer": function(input) { - return input.buffer; - }, - "uint8array": identity, - "nodebuffer": function(input) { - return nodejsUtils.newBufferFrom(input); - } -}; - -// nodebuffer to ? -transform["nodebuffer"] = { - "string": arrayLikeToString, - "array": function(input) { - return arrayLikeToArrayLike(input, new Array(input.length)); - }, - "arraybuffer": function(input) { - return transform["nodebuffer"]["uint8array"](input).buffer; - }, - "uint8array": function(input) { - return arrayLikeToArrayLike(input, new Uint8Array(input.length)); - }, - "nodebuffer": identity -}; - -/** - * Transform an input into any type. - * The supported output type are : string, array, uint8array, arraybuffer, nodebuffer. - * If no output type is specified, the unmodified input will be returned. - * @param {String} outputType the output type. - * @param {String|Array|ArrayBuffer|Uint8Array|Buffer} input the input to convert. - * @throws {Error} an Error if the browser doesn't support the requested output type. - */ -exports.transformTo = function(outputType, input) { - if (!input) { - // undefined, null, etc - // an empty string won't harm. - input = ""; - } - if (!outputType) { - return input; - } - exports.checkSupport(outputType); - var inputType = exports.getTypeOf(input); - var result = transform[inputType][outputType](input); - return result; -}; - -/** - * Return the type of the input. - * The type will be in a format valid for JSZip.utils.transformTo : string, array, uint8array, arraybuffer. - * @param {Object} input the input to identify. - * @return {String} the (lowercase) type of the input. - */ -exports.getTypeOf = function(input) { - if (typeof input === "string") { - return "string"; - } - if (Object.prototype.toString.call(input) === "[object Array]") { - return "array"; - } - if (support.nodebuffer && nodejsUtils.isBuffer(input)) { - return "nodebuffer"; - } - if (support.uint8array && input instanceof Uint8Array) { - return "uint8array"; - } - if (support.arraybuffer && input instanceof ArrayBuffer) { - return "arraybuffer"; - } -}; - -/** - * Throw an exception if the type is not supported. - * @param {String} type the type to check. - * @throws {Error} an Error if the browser doesn't support the requested type. - */ -exports.checkSupport = function(type) { - var supported = support[type.toLowerCase()]; - if (!supported) { - throw new Error(type + " is not supported by this platform"); - } -}; - -exports.MAX_VALUE_16BITS = 65535; -exports.MAX_VALUE_32BITS = -1; // well, "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF" is parsed as -1 - -/** - * Prettify a string read as binary. - * @param {string} str the string to prettify. - * @return {string} a pretty string. - */ -exports.pretty = function(str) { - var res = '', - code, i; - for (i = 0; i < (str || "").length; i++) { - code = str.charCodeAt(i); - res += '\\x' + (code < 16 ? "0" : "") + code.toString(16).toUpperCase(); - } - return res; -}; - -/** - * Defer the call of a function. - * @param {Function} callback the function to call asynchronously. - * @param {Array} args the arguments to give to the callback. - */ -exports.delay = function(callback, args, self) { - setImmediate(function () { - callback.apply(self || null, args || []); - }); -}; - -/** - * Extends a prototype with an other, without calling a constructor with - * side effects. Inspired by nodejs' `utils.inherits` - * @param {Function} ctor the constructor to augment - * @param {Function} superCtor the parent constructor to use - */ -exports.inherits = function (ctor, superCtor) { - var Obj = function() {}; - Obj.prototype = superCtor.prototype; - ctor.prototype = new Obj(); -}; - -/** - * Merge the objects passed as parameters into a new one. - * @private - * @param {...Object} var_args All objects to merge. - * @return {Object} a new object with the data of the others. - */ -exports.extend = function() { - var result = {}, i, attr; - for (i = 0; i < arguments.length; i++) { // arguments is not enumerable in some browsers - for (attr in arguments[i]) { - if (arguments[i].hasOwnProperty(attr) && typeof result[attr] === "undefined") { - result[attr] = arguments[i][attr]; - } - } - } - return result; -}; - -/** - * Transform arbitrary content into a Promise. - * @param {String} name a name for the content being processed. - * @param {Object} inputData the content to process. - * @param {Boolean} isBinary true if the content is not an unicode string - * @param {Boolean} isOptimizedBinaryString true if the string content only has one byte per character. - * @param {Boolean} isBase64 true if the string content is encoded with base64. - * @return {Promise} a promise in a format usable by JSZip. - */ -exports.prepareContent = function(name, inputData, isBinary, isOptimizedBinaryString, isBase64) { - - // if inputData is already a promise, this flatten it. - var promise = external.Promise.resolve(inputData).then(function(data) { - - - var isBlob = support.blob && (data instanceof Blob || ['[object File]', '[object Blob]'].indexOf(Object.prototype.toString.call(data)) !== -1); - - if (isBlob && typeof FileReader !== "undefined") { - return new external.Promise(function (resolve, reject) { - var reader = new FileReader(); - - reader.onload = function(e) { - resolve(e.target.result); - }; - reader.onerror = function(e) { - reject(e.target.error); - }; - reader.readAsArrayBuffer(data); - }); - } else { - return data; - } - }); - - return promise.then(function(data) { - var dataType = exports.getTypeOf(data); - - if (!dataType) { - return external.Promise.reject( - new Error("Can't read the data of '" + name + "'. Is it " + - "in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?") - ); - } - // special case : it's way easier to work with Uint8Array than with ArrayBuffer - if (dataType === "arraybuffer") { - data = exports.transformTo("uint8array", data); - } else if (dataType === "string") { - if (isBase64) { - data = base64.decode(data); - } - else if (isBinary) { - // optimizedBinaryString === true means that the file has already been filtered with a 0xFF mask - if (isOptimizedBinaryString !== true) { - // this is a string, not in a base64 format. - // Be sure that this is a correct "binary string" - data = string2binary(data); - } - } - } - return data; - }); -}; - -},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(require,module,exports){ -'use strict'; -var readerFor = require('./reader/readerFor'); -var utils = require('./utils'); -var sig = require('./signature'); -var ZipEntry = require('./zipEntry'); -var utf8 = require('./utf8'); -var support = require('./support'); -// class ZipEntries {{{ -/** - * All the entries in the zip file. - * @constructor - * @param {Object} loadOptions Options for loading the stream. - */ -function ZipEntries(loadOptions) { - this.files = []; - this.loadOptions = loadOptions; -} -ZipEntries.prototype = { - /** - * Check that the reader is on the specified signature. - * @param {string} expectedSignature the expected signature. - * @throws {Error} if it is an other signature. - */ - checkSignature: function(expectedSignature) { - if (!this.reader.readAndCheckSignature(expectedSignature)) { - this.reader.index -= 4; - var signature = this.reader.readString(4); - throw new Error("Corrupted zip or bug: unexpected signature " + "(" + utils.pretty(signature) + ", expected " + utils.pretty(expectedSignature) + ")"); - } - }, - /** - * Check if the given signature is at the given index. - * @param {number} askedIndex the index to check. - * @param {string} expectedSignature the signature to expect. - * @return {boolean} true if the signature is here, false otherwise. - */ - isSignature: function(askedIndex, expectedSignature) { - var currentIndex = this.reader.index; - this.reader.setIndex(askedIndex); - var signature = this.reader.readString(4); - var result = signature === expectedSignature; - this.reader.setIndex(currentIndex); - return result; - }, - /** - * Read the end of the central directory. - */ - readBlockEndOfCentral: function() { - this.diskNumber = this.reader.readInt(2); - this.diskWithCentralDirStart = this.reader.readInt(2); - this.centralDirRecordsOnThisDisk = this.reader.readInt(2); - this.centralDirRecords = this.reader.readInt(2); - this.centralDirSize = this.reader.readInt(4); - this.centralDirOffset = this.reader.readInt(4); - - this.zipCommentLength = this.reader.readInt(2); - // warning : the encoding depends of the system locale - // On a linux machine with LANG=en_US.utf8, this field is utf8 encoded. - // On a windows machine, this field is encoded with the localized windows code page. - var zipComment = this.reader.readData(this.zipCommentLength); - var decodeParamType = support.uint8array ? "uint8array" : "array"; - // To get consistent behavior with the generation part, we will assume that - // this is utf8 encoded unless specified otherwise. - var decodeContent = utils.transformTo(decodeParamType, zipComment); - this.zipComment = this.loadOptions.decodeFileName(decodeContent); - }, - /** - * Read the end of the Zip 64 central directory. - * Not merged with the method readEndOfCentral : - * The end of central can coexist with its Zip64 brother, - * I don't want to read the wrong number of bytes ! - */ - readBlockZip64EndOfCentral: function() { - this.zip64EndOfCentralSize = this.reader.readInt(8); - this.reader.skip(4); - // this.versionMadeBy = this.reader.readString(2); - // this.versionNeeded = this.reader.readInt(2); - this.diskNumber = this.reader.readInt(4); - this.diskWithCentralDirStart = this.reader.readInt(4); - this.centralDirRecordsOnThisDisk = this.reader.readInt(8); - this.centralDirRecords = this.reader.readInt(8); - this.centralDirSize = this.reader.readInt(8); - this.centralDirOffset = this.reader.readInt(8); - - this.zip64ExtensibleData = {}; - var extraDataSize = this.zip64EndOfCentralSize - 44, - index = 0, - extraFieldId, - extraFieldLength, - extraFieldValue; - while (index < extraDataSize) { - extraFieldId = this.reader.readInt(2); - extraFieldLength = this.reader.readInt(4); - extraFieldValue = this.reader.readData(extraFieldLength); - this.zip64ExtensibleData[extraFieldId] = { - id: extraFieldId, - length: extraFieldLength, - value: extraFieldValue - }; - } - }, - /** - * Read the end of the Zip 64 central directory locator. - */ - readBlockZip64EndOfCentralLocator: function() { - this.diskWithZip64CentralDirStart = this.reader.readInt(4); - this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8); - this.disksCount = this.reader.readInt(4); - if (this.disksCount > 1) { - throw new Error("Multi-volumes zip are not supported"); - } - }, - /** - * Read the local files, based on the offset read in the central part. - */ - readLocalFiles: function() { - var i, file; - for (i = 0; i < this.files.length; i++) { - file = this.files[i]; - this.reader.setIndex(file.localHeaderOffset); - this.checkSignature(sig.LOCAL_FILE_HEADER); - file.readLocalPart(this.reader); - file.handleUTF8(); - file.processAttributes(); - } - }, - /** - * Read the central directory. - */ - readCentralDir: function() { - var file; - - this.reader.setIndex(this.centralDirOffset); - while (this.reader.readAndCheckSignature(sig.CENTRAL_FILE_HEADER)) { - file = new ZipEntry({ - zip64: this.zip64 - }, this.loadOptions); - file.readCentralPart(this.reader); - this.files.push(file); - } - - if (this.centralDirRecords !== this.files.length) { - if (this.centralDirRecords !== 0 && this.files.length === 0) { - // We expected some records but couldn't find ANY. - // This is really suspicious, as if something went wrong. - throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length); - } else { - // We found some records but not all. - // Something is wrong but we got something for the user: no error here. - // console.warn("expected", this.centralDirRecords, "records in central dir, got", this.files.length); - } - } - }, - /** - * Read the end of central directory. - */ - readEndOfCentral: function() { - var offset = this.reader.lastIndexOfSignature(sig.CENTRAL_DIRECTORY_END); - if (offset < 0) { - // Check if the content is a truncated zip or complete garbage. - // A "LOCAL_FILE_HEADER" is not required at the beginning (auto - // extractible zip for example) but it can give a good hint. - // If an ajax request was used without responseType, we will also - // get unreadable data. - var isGarbage = !this.isSignature(0, sig.LOCAL_FILE_HEADER); - - if (isGarbage) { - throw new Error("Can't find end of central directory : is this a zip file ? " + - "If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"); - } else { - throw new Error("Corrupted zip: can't find end of central directory"); - } - - } - this.reader.setIndex(offset); - var endOfCentralDirOffset = offset; - this.checkSignature(sig.CENTRAL_DIRECTORY_END); - this.readBlockEndOfCentral(); - - - /* extract from the zip spec : - 4) If one of the fields in the end of central directory - record is too small to hold required data, the field - should be set to -1 (0xFFFF or 0xFFFFFFFF) and the - ZIP64 format record should be created. - 5) The end of central directory record and the - Zip64 end of central directory locator record must - reside on the same disk when splitting or spanning - an archive. - */ - if (this.diskNumber === utils.MAX_VALUE_16BITS || this.diskWithCentralDirStart === utils.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === utils.MAX_VALUE_16BITS || this.centralDirRecords === utils.MAX_VALUE_16BITS || this.centralDirSize === utils.MAX_VALUE_32BITS || this.centralDirOffset === utils.MAX_VALUE_32BITS) { - this.zip64 = true; - - /* - Warning : the zip64 extension is supported, but ONLY if the 64bits integer read from - the zip file can fit into a 32bits integer. This cannot be solved : JavaScript represents - all numbers as 64-bit double precision IEEE 754 floating point numbers. - So, we have 53bits for integers and bitwise operations treat everything as 32bits. - see https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Operators/Bitwise_Operators - and http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf section 8.5 - */ - - // should look for a zip64 EOCD locator - offset = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR); - if (offset < 0) { - throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator"); - } - this.reader.setIndex(offset); - this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_LOCATOR); - this.readBlockZip64EndOfCentralLocator(); - - // now the zip64 EOCD record - if (!this.isSignature(this.relativeOffsetEndOfZip64CentralDir, sig.ZIP64_CENTRAL_DIRECTORY_END)) { - // console.warn("ZIP64 end of central directory not where expected."); - this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(sig.ZIP64_CENTRAL_DIRECTORY_END); - if (this.relativeOffsetEndOfZip64CentralDir < 0) { - throw new Error("Corrupted zip: can't find the ZIP64 end of central directory"); - } - } - this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir); - this.checkSignature(sig.ZIP64_CENTRAL_DIRECTORY_END); - this.readBlockZip64EndOfCentral(); - } - - var expectedEndOfCentralDirOffset = this.centralDirOffset + this.centralDirSize; - if (this.zip64) { - expectedEndOfCentralDirOffset += 20; // end of central dir 64 locator - expectedEndOfCentralDirOffset += 12 /* should not include the leading 12 bytes */ + this.zip64EndOfCentralSize; - } - - var extraBytes = endOfCentralDirOffset - expectedEndOfCentralDirOffset; - - if (extraBytes > 0) { - // console.warn(extraBytes, "extra bytes at beginning or within zipfile"); - if (this.isSignature(endOfCentralDirOffset, sig.CENTRAL_FILE_HEADER)) { - // The offsets seem wrong, but we have something at the specified offset. - // So… we keep it. - } else { - // the offset is wrong, update the "zero" of the reader - // this happens if data has been prepended (crx files for example) - this.reader.zero = extraBytes; - } - } else if (extraBytes < 0) { - throw new Error("Corrupted zip: missing " + Math.abs(extraBytes) + " bytes."); - } - }, - prepareReader: function(data) { - this.reader = readerFor(data); - }, - /** - * Read a zip file and create ZipEntries. - * @param {String|ArrayBuffer|Uint8Array|Buffer} data the binary string representing a zip file. - */ - load: function(data) { - this.prepareReader(data); - this.readEndOfCentral(); - this.readCentralDir(); - this.readLocalFiles(); - } -}; -// }}} end of ZipEntries -module.exports = ZipEntries; - -},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(require,module,exports){ -'use strict'; -var readerFor = require('./reader/readerFor'); -var utils = require('./utils'); -var CompressedObject = require('./compressedObject'); -var crc32fn = require('./crc32'); -var utf8 = require('./utf8'); -var compressions = require('./compressions'); -var support = require('./support'); - -var MADE_BY_DOS = 0x00; -var MADE_BY_UNIX = 0x03; - -/** - * Find a compression registered in JSZip. - * @param {string} compressionMethod the method magic to find. - * @return {Object|null} the JSZip compression object, null if none found. - */ -var findCompression = function(compressionMethod) { - for (var method in compressions) { - if (!compressions.hasOwnProperty(method)) { - continue; - } - if (compressions[method].magic === compressionMethod) { - return compressions[method]; - } - } - return null; -}; - -// class ZipEntry {{{ -/** - * An entry in the zip file. - * @constructor - * @param {Object} options Options of the current file. - * @param {Object} loadOptions Options for loading the stream. - */ -function ZipEntry(options, loadOptions) { - this.options = options; - this.loadOptions = loadOptions; -} -ZipEntry.prototype = { - /** - * say if the file is encrypted. - * @return {boolean} true if the file is encrypted, false otherwise. - */ - isEncrypted: function() { - // bit 1 is set - return (this.bitFlag & 0x0001) === 0x0001; - }, - /** - * say if the file has utf-8 filename/comment. - * @return {boolean} true if the filename/comment is in utf-8, false otherwise. - */ - useUTF8: function() { - // bit 11 is set - return (this.bitFlag & 0x0800) === 0x0800; - }, - /** - * Read the local part of a zip file and add the info in this object. - * @param {DataReader} reader the reader to use. - */ - readLocalPart: function(reader) { - var compression, localExtraFieldsLength; - - // we already know everything from the central dir ! - // If the central dir data are false, we are doomed. - // On the bright side, the local part is scary : zip64, data descriptors, both, etc. - // The less data we get here, the more reliable this should be. - // Let's skip the whole header and dash to the data ! - reader.skip(22); - // in some zip created on windows, the filename stored in the central dir contains \ instead of /. - // Strangely, the filename here is OK. - // I would love to treat these zip files as corrupted (see http://www.info-zip.org/FAQ.html#backslashes - // or APPNOTE#4.4.17.1, "All slashes MUST be forward slashes '/'") but there are a lot of bad zip generators... - // Search "unzip mismatching "local" filename continuing with "central" filename version" on - // the internet. - // - // I think I see the logic here : the central directory is used to display - // content and the local directory is used to extract the files. Mixing / and \ - // may be used to display \ to windows users and use / when extracting the files. - // Unfortunately, this lead also to some issues : http://seclists.org/fulldisclosure/2009/Sep/394 - this.fileNameLength = reader.readInt(2); - localExtraFieldsLength = reader.readInt(2); // can't be sure this will be the same as the central dir - // the fileName is stored as binary data, the handleUTF8 method will take care of the encoding. - this.fileName = reader.readData(this.fileNameLength); - reader.skip(localExtraFieldsLength); - - if (this.compressedSize === -1 || this.uncompressedSize === -1) { - throw new Error("Bug or corrupted zip : didn't get enough information from the central directory " + "(compressedSize === -1 || uncompressedSize === -1)"); - } - - compression = findCompression(this.compressionMethod); - if (compression === null) { // no compression found - throw new Error("Corrupted zip : compression " + utils.pretty(this.compressionMethod) + " unknown (inner file : " + utils.transformTo("string", this.fileName) + ")"); - } - this.decompressed = new CompressedObject(this.compressedSize, this.uncompressedSize, this.crc32, compression, reader.readData(this.compressedSize)); - }, - - /** - * Read the central part of a zip file and add the info in this object. - * @param {DataReader} reader the reader to use. - */ - readCentralPart: function(reader) { - this.versionMadeBy = reader.readInt(2); - reader.skip(2); - // this.versionNeeded = reader.readInt(2); - this.bitFlag = reader.readInt(2); - this.compressionMethod = reader.readString(2); - this.date = reader.readDate(); - this.crc32 = reader.readInt(4); - this.compressedSize = reader.readInt(4); - this.uncompressedSize = reader.readInt(4); - var fileNameLength = reader.readInt(2); - this.extraFieldsLength = reader.readInt(2); - this.fileCommentLength = reader.readInt(2); - this.diskNumberStart = reader.readInt(2); - this.internalFileAttributes = reader.readInt(2); - this.externalFileAttributes = reader.readInt(4); - this.localHeaderOffset = reader.readInt(4); - - if (this.isEncrypted()) { - throw new Error("Encrypted zip are not supported"); - } - - // will be read in the local part, see the comments there - reader.skip(fileNameLength); - this.readExtraFields(reader); - this.parseZIP64ExtraField(reader); - this.fileComment = reader.readData(this.fileCommentLength); - }, - - /** - * Parse the external file attributes and get the unix/dos permissions. - */ - processAttributes: function () { - this.unixPermissions = null; - this.dosPermissions = null; - var madeBy = this.versionMadeBy >> 8; - - // Check if we have the DOS directory flag set. - // We look for it in the DOS and UNIX permissions - // but some unknown platform could set it as a compatibility flag. - this.dir = this.externalFileAttributes & 0x0010 ? true : false; - - if(madeBy === MADE_BY_DOS) { - // first 6 bits (0 to 5) - this.dosPermissions = this.externalFileAttributes & 0x3F; - } - - if(madeBy === MADE_BY_UNIX) { - this.unixPermissions = (this.externalFileAttributes >> 16) & 0xFFFF; - // the octal permissions are in (this.unixPermissions & 0x01FF).toString(8); - } - - // fail safe : if the name ends with a / it probably means a folder - if (!this.dir && this.fileNameStr.slice(-1) === '/') { - this.dir = true; - } - }, - - /** - * Parse the ZIP64 extra field and merge the info in the current ZipEntry. - * @param {DataReader} reader the reader to use. - */ - parseZIP64ExtraField: function(reader) { - - if (!this.extraFields[0x0001]) { - return; - } - - // should be something, preparing the extra reader - var extraReader = readerFor(this.extraFields[0x0001].value); - - // I really hope that these 64bits integer can fit in 32 bits integer, because js - // won't let us have more. - if (this.uncompressedSize === utils.MAX_VALUE_32BITS) { - this.uncompressedSize = extraReader.readInt(8); - } - if (this.compressedSize === utils.MAX_VALUE_32BITS) { - this.compressedSize = extraReader.readInt(8); - } - if (this.localHeaderOffset === utils.MAX_VALUE_32BITS) { - this.localHeaderOffset = extraReader.readInt(8); - } - if (this.diskNumberStart === utils.MAX_VALUE_32BITS) { - this.diskNumberStart = extraReader.readInt(4); - } - }, - /** - * Read the central part of a zip file and add the info in this object. - * @param {DataReader} reader the reader to use. - */ - readExtraFields: function(reader) { - var end = reader.index + this.extraFieldsLength, - extraFieldId, - extraFieldLength, - extraFieldValue; - - if (!this.extraFields) { - this.extraFields = {}; - } - - while (reader.index + 4 < end) { - extraFieldId = reader.readInt(2); - extraFieldLength = reader.readInt(2); - extraFieldValue = reader.readData(extraFieldLength); - - this.extraFields[extraFieldId] = { - id: extraFieldId, - length: extraFieldLength, - value: extraFieldValue - }; - } - - reader.setIndex(end); - }, - /** - * Apply an UTF8 transformation if needed. - */ - handleUTF8: function() { - var decodeParamType = support.uint8array ? "uint8array" : "array"; - if (this.useUTF8()) { - this.fileNameStr = utf8.utf8decode(this.fileName); - this.fileCommentStr = utf8.utf8decode(this.fileComment); - } else { - var upath = this.findExtraFieldUnicodePath(); - if (upath !== null) { - this.fileNameStr = upath; - } else { - // ASCII text or unsupported code page - var fileNameByteArray = utils.transformTo(decodeParamType, this.fileName); - this.fileNameStr = this.loadOptions.decodeFileName(fileNameByteArray); - } - - var ucomment = this.findExtraFieldUnicodeComment(); - if (ucomment !== null) { - this.fileCommentStr = ucomment; - } else { - // ASCII text or unsupported code page - var commentByteArray = utils.transformTo(decodeParamType, this.fileComment); - this.fileCommentStr = this.loadOptions.decodeFileName(commentByteArray); - } - } - }, - - /** - * Find the unicode path declared in the extra field, if any. - * @return {String} the unicode path, null otherwise. - */ - findExtraFieldUnicodePath: function() { - var upathField = this.extraFields[0x7075]; - if (upathField) { - var extraReader = readerFor(upathField.value); - - // wrong version - if (extraReader.readInt(1) !== 1) { - return null; - } - - // the crc of the filename changed, this field is out of date. - if (crc32fn(this.fileName) !== extraReader.readInt(4)) { - return null; - } - - return utf8.utf8decode(extraReader.readData(upathField.length - 5)); - } - return null; - }, - - /** - * Find the unicode comment declared in the extra field, if any. - * @return {String} the unicode comment, null otherwise. - */ - findExtraFieldUnicodeComment: function() { - var ucommentField = this.extraFields[0x6375]; - if (ucommentField) { - var extraReader = readerFor(ucommentField.value); - - // wrong version - if (extraReader.readInt(1) !== 1) { - return null; - } - - // the crc of the comment changed, this field is out of date. - if (crc32fn(this.fileComment) !== extraReader.readInt(4)) { - return null; - } - - return utf8.utf8decode(extraReader.readData(ucommentField.length - 5)); - } - return null; - } -}; -module.exports = ZipEntry; - -},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(require,module,exports){ -'use strict'; - -var StreamHelper = require('./stream/StreamHelper'); -var DataWorker = require('./stream/DataWorker'); -var utf8 = require('./utf8'); -var CompressedObject = require('./compressedObject'); -var GenericWorker = require('./stream/GenericWorker'); - -/** - * A simple object representing a file in the zip file. - * @constructor - * @param {string} name the name of the file - * @param {String|ArrayBuffer|Uint8Array|Buffer} data the data - * @param {Object} options the options of the file - */ -var ZipObject = function(name, data, options) { - this.name = name; - this.dir = options.dir; - this.date = options.date; - this.comment = options.comment; - this.unixPermissions = options.unixPermissions; - this.dosPermissions = options.dosPermissions; - - this._data = data; - this._dataBinary = options.binary; - // keep only the compression - this.options = { - compression : options.compression, - compressionOptions : options.compressionOptions - }; -}; - -ZipObject.prototype = { - /** - * Create an internal stream for the content of this object. - * @param {String} type the type of each chunk. - * @return StreamHelper the stream. - */ - internalStream: function (type) { - var result = null, outputType = "string"; - try { - if (!type) { - throw new Error("No output type specified."); - } - outputType = type.toLowerCase(); - var askUnicodeString = outputType === "string" || outputType === "text"; - if (outputType === "binarystring" || outputType === "text") { - outputType = "string"; - } - result = this._decompressWorker(); - - var isUnicodeString = !this._dataBinary; - - if (isUnicodeString && !askUnicodeString) { - result = result.pipe(new utf8.Utf8EncodeWorker()); - } - if (!isUnicodeString && askUnicodeString) { - result = result.pipe(new utf8.Utf8DecodeWorker()); - } - } catch (e) { - result = new GenericWorker("error"); - result.error(e); - } - - return new StreamHelper(result, outputType, ""); - }, - - /** - * Prepare the content in the asked type. - * @param {String} type the type of the result. - * @param {Function} onUpdate a function to call on each internal update. - * @return Promise the promise of the result. - */ - async: function (type, onUpdate) { - return this.internalStream(type).accumulate(onUpdate); - }, - - /** - * Prepare the content as a nodejs stream. - * @param {String} type the type of each chunk. - * @param {Function} onUpdate a function to call on each internal update. - * @return Stream the stream. - */ - nodeStream: function (type, onUpdate) { - return this.internalStream(type || "nodebuffer").toNodejsStream(onUpdate); - }, - - /** - * Return a worker for the compressed content. - * @private - * @param {Object} compression the compression object to use. - * @param {Object} compressionOptions the options to use when compressing. - * @return Worker the worker. - */ - _compressWorker: function (compression, compressionOptions) { - if ( - this._data instanceof CompressedObject && - this._data.compression.magic === compression.magic - ) { - return this._data.getCompressedWorker(); - } else { - var result = this._decompressWorker(); - if(!this._dataBinary) { - result = result.pipe(new utf8.Utf8EncodeWorker()); - } - return CompressedObject.createWorkerFrom(result, compression, compressionOptions); - } - }, - /** - * Return a worker for the decompressed content. - * @private - * @return Worker the worker. - */ - _decompressWorker : function () { - if (this._data instanceof CompressedObject) { - return this._data.getContentWorker(); - } else if (this._data instanceof GenericWorker) { - return this._data; - } else { - return new DataWorker(this._data); - } - } -}; - -var removedMethods = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"]; -var removedFn = function () { - throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide."); -}; - -for(var i = 0; i < removedMethods.length; i++) { - ZipObject.prototype[removedMethods[i]] = removedFn; -} -module.exports = ZipObject; - -},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(require,module,exports){ -(function (global){ -'use strict'; -var Mutation = global.MutationObserver || global.WebKitMutationObserver; - -var scheduleDrain; - -{ - if (Mutation) { - var called = 0; - var observer = new Mutation(nextTick); - var element = global.document.createTextNode(''); - observer.observe(element, { - characterData: true - }); - scheduleDrain = function () { - element.data = (called = ++called % 2); - }; - } else if (!global.setImmediate && typeof global.MessageChannel !== 'undefined') { - var channel = new global.MessageChannel(); - channel.port1.onmessage = nextTick; - scheduleDrain = function () { - channel.port2.postMessage(0); - }; - } else if ('document' in global && 'onreadystatechange' in global.document.createElement('script')) { - scheduleDrain = function () { - - // Create a - - - +
    diff --git a/cdi/4.1/apidocs/allpackages-index.html b/cdi/4.1/apidocs/allpackages-index.html index 2608d2fd4b..25381b748e 100644 --- a/cdi/4.1/apidocs/allpackages-index.html +++ b/cdi/4.1/apidocs/allpackages-index.html @@ -1,15 +1,15 @@ - + All Packages (Jakarta Contexts and Dependency Injection API) + - @@ -24,7 +24,7 @@