Class BundleInstantiationSpecification


  • public final class BundleInstantiationSpecification
    extends java.lang.Object
    Specifies how a component should be instantiated from a bundle. Immutable
    Author:
    Tony Vaagenes
    • Field Detail

      • 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 Detail

      • 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 Detail

      • getInternalSearcherSpecification

        public static BundleInstantiationSpecification getInternalSearcherSpecification​(com.yahoo.component.ComponentSpecification idSpec,
                                                                                        com.yahoo.component.ComponentSpecification classSpec)
      • getInternalHandlerSpecificationFromStrings

        public static BundleInstantiationSpecification getInternalHandlerSpecificationFromStrings​(java.lang.String idSpec,
                                                                                                  java.lang.String classSpec)
      • getInternalProcessingSpecificationFromStrings

        public static BundleInstantiationSpecification getInternalProcessingSpecificationFromStrings​(java.lang.String idSpec,
                                                                                                     java.lang.String classSpec)
      • getInternalSearcherSpecificationFromStrings

        public static BundleInstantiationSpecification getInternalSearcherSpecificationFromStrings​(java.lang.String idSpec,
                                                                                                   java.lang.String classSpec)
      • getFromStrings

        public static BundleInstantiationSpecification getFromStrings​(java.lang.String idSpec,
                                                                      java.lang.String classSpec,
                                                                      java.lang.String bundleSpec)
      • inBundle

        public BundleInstantiationSpecification inBundle​(java.lang.String bundleName)
        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

        public java.lang.String getClassName()