Class JerseyNode
- java.lang.Object
-
- com.yahoo.container.di.componentgraph.core.Node
-
- com.yahoo.container.di.componentgraph.core.ComponentNode
-
- com.yahoo.container.di.componentgraph.core.JerseyNode
-
public class JerseyNode extends ComponentNode
Represents an instance of RestApiContext- Author:
- gjoranv, Tony Vaagenes, ollivir
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.yahoo.container.di.componentgraph.core.ComponentNode
ComponentNode.ComponentConstructorException
-
-
Constructor Summary
Constructors Constructor Description JerseyNode(com.yahoo.component.ComponentId componentId, java.lang.String configId, java.lang.Class<?> clazz, Osgi osgi)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RestApiContext.BundleInfo
createBundleInfo(org.osgi.framework.Bundle bundle, java.util.Collection<java.lang.String> classEntries)
boolean
equals(java.lang.Object other)
static org.osgi.framework.Bundle
getBundle(Osgi osgi, java.lang.String bundleSpec)
int
hashCode()
protected RestApiContext
newInstance()
-
Methods inherited from class com.yahoo.container.di.componentgraph.core.ComponentNode
componentType, configId, configKeys, getAnnotatedConstructorParams, instanceKey, instanceType, label, setArguments, setAvailableConfigs, usedComponents
-
Methods inherited from class com.yahoo.container.di.componentgraph.core.Node
component, componentId, constructedInstance, constructInstance, equalEdges, idAndType, inject, injectAll, packageName, syntheticComponentId
-
-
-
-
Constructor Detail
-
JerseyNode
public JerseyNode(com.yahoo.component.ComponentId componentId, java.lang.String configId, java.lang.Class<?> clazz, Osgi osgi)
-
-
Method Detail
-
newInstance
protected RestApiContext newInstance()
- Overrides:
newInstance
in classComponentNode
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classComponentNode
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classComponentNode
-
createBundleInfo
public static RestApiContext.BundleInfo createBundleInfo(org.osgi.framework.Bundle bundle, java.util.Collection<java.lang.String> classEntries)
-
getBundle
public static org.osgi.framework.Bundle getBundle(Osgi osgi, java.lang.String bundleSpec)
-
-