Package com.yahoo.container.di.config
Class RestApiContext
- java.lang.Object
-
- com.yahoo.container.di.config.RestApiContext
-
public class RestApiContext extends java.lang.Object
Only for internal JDisc use.- Author:
- gjoranv
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RestApiContext.BundleInfo
static class
RestApiContext.Injectable
-
Field Summary
Fields Modifier and Type Field Description JerseyBundlesConfig
bundlesConfig
JerseyInjectionConfig
injectionConfig
-
Constructor Summary
Constructors Constructor Description RestApiContext(JerseyBundlesConfig bundlesConfig, JerseyInjectionConfig injectionConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBundle(RestApiContext.BundleInfo bundle)
void
addInjectableComponent(com.google.inject.Key<?> key, com.yahoo.component.ComponentId id, java.lang.Object component)
java.util.List<RestApiContext.BundleInfo>
getBundles()
java.util.List<RestApiContext.Injectable>
getInjectableComponents()
-
-
-
Field Detail
-
bundlesConfig
public final JerseyBundlesConfig bundlesConfig
-
injectionConfig
public final JerseyInjectionConfig injectionConfig
-
-
Constructor Detail
-
RestApiContext
@Inject public RestApiContext(JerseyBundlesConfig bundlesConfig, JerseyInjectionConfig injectionConfig)
-
-
Method Detail
-
getBundles
public java.util.List<RestApiContext.BundleInfo> getBundles()
-
addBundle
public void addBundle(RestApiContext.BundleInfo bundle)
-
getInjectableComponents
public java.util.List<RestApiContext.Injectable> getInjectableComponents()
-
addInjectableComponent
public void addInjectableComponent(com.google.inject.Key<?> key, com.yahoo.component.ComponentId id, java.lang.Object component)
-
-