Package com.yahoo.container.bundle
Class BundleInstantiationSpecification
java.lang.Object
com.yahoo.container.bundle.BundleInstantiationSpecification
Specifies how a component should be instantiated from a bundle.
Immutable
- Author:
- Tony Vaagenes
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBundleInstantiationSpecification
(com.yahoo.component.ComponentId id, com.yahoo.component.ComponentSpecification classId, com.yahoo.component.ComponentSpecification bundle) BundleInstantiationSpecification
(com.yahoo.component.ComponentSpecification id, com.yahoo.component.ComponentSpecification classId, com.yahoo.component.ComponentSpecification bundle) -
Method Summary
Modifier and TypeMethodDescriptiongetFromStrings
(String idSpec, String classSpec, String bundleSpec) getInternalHandlerSpecificationFromStrings
(String idSpec, String classSpec) getInternalProcessingSpecificationFromStrings
(String idSpec, String classSpec) getInternalSearcherSpecification
(com.yahoo.component.ComponentSpecification idSpec, com.yahoo.component.ComponentSpecification classSpec) getInternalSearcherSpecificationFromStrings
(String idSpec, String classSpec) Return a new instance of the specification with bundle name alterednestInNamespace
(com.yahoo.component.ComponentId namespace)
-
Field Details
-
id
public final com.yahoo.component.ComponentId id -
classId
public final com.yahoo.component.ComponentSpecification classId -
bundle
public final com.yahoo.component.ComponentSpecification bundle
-
-
Constructor Details
-
BundleInstantiationSpecification
public BundleInstantiationSpecification(com.yahoo.component.ComponentSpecification id, com.yahoo.component.ComponentSpecification classId, com.yahoo.component.ComponentSpecification bundle) -
BundleInstantiationSpecification
public BundleInstantiationSpecification(com.yahoo.component.ComponentId id, com.yahoo.component.ComponentSpecification classId, com.yahoo.component.ComponentSpecification bundle)
-
-
Method Details
-
getInternalSearcherSpecification
public static BundleInstantiationSpecification getInternalSearcherSpecification(com.yahoo.component.ComponentSpecification idSpec, com.yahoo.component.ComponentSpecification classSpec) -
getInternalHandlerSpecificationFromStrings
public static BundleInstantiationSpecification getInternalHandlerSpecificationFromStrings(String idSpec, String classSpec) -
getInternalProcessingSpecificationFromStrings
public static BundleInstantiationSpecification getInternalProcessingSpecificationFromStrings(String idSpec, String classSpec) -
getInternalSearcherSpecificationFromStrings
public static BundleInstantiationSpecification getInternalSearcherSpecificationFromStrings(String idSpec, String classSpec) -
getFromStrings
public static BundleInstantiationSpecification getFromStrings(String idSpec, String classSpec, String bundleSpec) -
inBundle
Return a new instance of the specification with bundle name altered- Parameters:
bundleName
- the new name of the bundle- Returns:
- the new instance of the specification
-
getClassName
-
nestInNamespace
-