org.wildfly.clustering.infinispan.reactive.WildflyPackageImpl Maven / Gradle / Ivy
package org.wildfly.clustering.infinispan.reactive;
import java.util.Arrays;
import java.util.Collections;
import javax.annotation.processing.Generated;
import org.infinispan.factories.impl.ComponentAccessor;
import org.infinispan.factories.impl.ModuleMetadataBuilder;
import org.infinispan.factories.impl.MBeanMetadata;
import org.infinispan.factories.impl.MBeanMetadata.AttributeMetadata;
import org.infinispan.factories.impl.MBeanMetadata.OperationMetadata;
import org.infinispan.factories.impl.MBeanMetadata.OperationParameterMetadata;
import org.infinispan.factories.impl.WireContext;
import org.infinispan.lifecycle.ModuleLifecycle;
/**
* @api.private
*/
@Generated(value = "org.infinispan.component.processor.Generator", date = "2024-09-16T11:32:02.808561592Z")
public final class WildflyPackageImpl {
public static void registerMetadata(ModuleMetadataBuilder.ModuleBuilder builder) {
//start org.wildfly.clustering.infinispan.reactive.PublisherManagerFactory
builder.registerComponentAccessor("org.wildfly.clustering.infinispan.reactive.PublisherManagerFactory",
Arrays.asList("org.infinispan.reactive.publisher.impl.LocalPublisherManager", "org.infinispan.reactive.publisher.impl.ClusterPublisherManager", "NoClusterPublisherManager"),
new ComponentAccessor("org.wildfly.clustering.infinispan.reactive.PublisherManagerFactory",
1, false, "org.infinispan.factories.PublisherManagerFactory",
Collections.emptyList()) {
protected PublisherManagerFactory newInstance() {
return new PublisherManagerFactory();
}
});
//start org.wildfly.clustering.infinispan.reactive.LocalClusterPublisherManager
builder.registerComponentAccessor("org.wildfly.clustering.infinispan.reactive.LocalClusterPublisherManager",
Collections.emptyList(),
new ComponentAccessor("org.wildfly.clustering.infinispan.reactive.LocalClusterPublisherManager",
1, false, "org.infinispan.reactive.publisher.impl.LocalClusterPublisherManagerImpl",
Arrays.asList("org.infinispan.configuration.cache.Configuration")) {
protected void wire(LocalClusterPublisherManager instance, WireContext context, boolean start) {
instance.configuration = context.get("org.infinispan.configuration.cache.Configuration", org.infinispan.configuration.cache.Configuration.class, start);
}
});
//end
}
}