@Test public void access_to_library_name_via_component_resources() throws Exception { Instantiator instantiator = source.getInstantiator(BASIC_COMPONENT_CLASSNAME); assertEquals(instantiator.getModel().getLibraryName(), "t5internal"); }
public Instantiator getInstantiator(final String className) { return classToInstantiator.computeIfAbsent(className, this::createInstantiatorForClass); }
ComponentInstantiatorSourceImpl implements ComponentInstantiatorSource, UpdateListener,
        Runnable, PlasticManagerDelegate, PlasticClassListener { public Instantiator getInstantiator(final String className) { return classToInstantiator.computeIfAbsent(className, this::createInstantiatorForClass); } }
ComponentInstantiatorSourceImpl implements ComponentInstantiatorSource, UpdateListener,
        Runnable, PlasticManagerDelegate, PlasticClassListener { public Instantiator getInstantiator(final String className) { return classToInstantiator.computeIfAbsent(className, this::createInstantiatorForClass); } ComponentInstantiatorSourceImpl(Logger logger,

                                           LoggerSource loggerSource,

                                           @Builtin
                                           PlasticProxyFactory proxyFactory,

                                           @Primary
                                           ComponentClassTransformWorker2 transformerChain,

                                           ClasspathURLConverter classpathURLConverter,

                                           OperationTracker tracker,

                                           Map<String, ControlledPackageType> configuration,

                                           @Symbol(SymbolConstants.PRODUCTION_MODE)
                                           boolean productionMode,

                                           ComponentClassResolver resolver,

                                           InternalComponentInvalidationEventHub invalidationHub); }
ComponentInstantiatorSourceImpl implements ComponentInstantiatorSource, UpdateListener,
        Runnable, PlasticManagerDelegate, PlasticClassListener { public Instantiator getInstantiator(final String className) { return classToInstantiator.computeIfAbsent(className, this::createInstantiatorForClass); } ComponentInstantiatorSourceImpl(Logger logger,

                                           LoggerSource loggerSource,

                                           @Builtin
                                           PlasticProxyFactory proxyFactory,

                                           @Primary
                                           ComponentClassTransformWorker2 transformerChain,

                                           ClasspathURLConverter classpathURLConverter,

                                           OperationTracker tracker,

                                           Map<String, ControlledPackageType> configuration,

                                           @Symbol(SymbolConstants.PRODUCTION_MODE)
                                           boolean productionMode,

                                           ComponentClassResolver resolver,

                                           InternalComponentInvalidationEventHub invalidationHub); @PostInjection void listenForUpdates(UpdateListenerHub hub); synchronized void checkForUpdates(); void forceComponentInvalidation(); void run(); Instantiator getInstantiator(final String className); boolean exists(String className); PlasticProxyFactory getProxyFactory(); void transform(final PlasticClass plasticClass); ClassInstantiator<T> configureInstantiator(String className, ClassInstantiator<T> instantiator); void classWillLoad(PlasticClassEvent event); }
ComponentInstantiatorSourceImpl implements ComponentInstantiatorSource, UpdateListener,
        Runnable, PlasticManagerDelegate, PlasticClassListener { public Instantiator getInstantiator(final String className) { return classToInstantiator.computeIfAbsent(className, this::createInstantiatorForClass); } ComponentInstantiatorSourceImpl(Logger logger,

                                           LoggerSource loggerSource,

                                           @Builtin
                                           PlasticProxyFactory proxyFactory,

                                           @Primary
                                           ComponentClassTransformWorker2 transformerChain,

                                           ClasspathURLConverter classpathURLConverter,

                                           OperationTracker tracker,

                                           Map<String, ControlledPackageType> configuration,

                                           @Symbol(SymbolConstants.PRODUCTION_MODE)
                                           boolean productionMode,

                                           ComponentClassResolver resolver,

                                           InternalComponentInvalidationEventHub invalidationHub); @PostInjection void listenForUpdates(UpdateListenerHub hub); synchronized void checkForUpdates(); void forceComponentInvalidation(); void run(); Instantiator getInstantiator(final String className); boolean exists(String className); PlasticProxyFactory getProxyFactory(); void transform(final PlasticClass plasticClass); ClassInstantiator<T> configureInstantiator(String className, ClassInstantiator<T> instantiator); void classWillLoad(PlasticClassEvent event);  }