public final class SimpleContainerProvider extends Object implements ContainerProvider
Container
.Constructor and Description |
---|
SimpleContainerProvider() |
Modifier and Type | Method and Description |
---|---|
<T> T |
createContainer(Class<T> type,
Application application)
Create an container of a given type.
|
public <T> T createContainer(Class<T> type, Application application) throws ProcessingException
ContainerProvider
createContainer
in interface ContainerProvider
T
- the type of the container.type
- the type of the container.application
- JAX-RS / Jersey application.null
if the provider does not support the requested type
.ProcessingException
- if there is an error creating the container.Copyright © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.