|
|
|
|
@ -32,27 +32,33 @@ public class JedisProccessor {
|
|
|
|
|
|
|
|
|
|
@Record(ExecutionTime.RUNTIME_INIT)
|
|
|
|
|
@BuildStep
|
|
|
|
|
void build(JedisRecorder recorder, BuildProducer<ServiceStartBuildItem> serviceStart, BeanContainerBuildItem beanContainer, ShutdownContextBuildItem shutdownContext) {
|
|
|
|
|
void build(JedisRecorder recorder, BuildProducer<ServiceStartBuildItem> serviceStart,
|
|
|
|
|
BeanContainerBuildItem beanContainer, ShutdownContextBuildItem shutdownContext) {
|
|
|
|
|
System.out.println("JedisProccessor - build");
|
|
|
|
|
// BuildProducer<ReflectiveClassBuildItem> reflectiveClassBuildItemBuildProducer) {
|
|
|
|
|
// reflectiveClassBuildItemBuildProducer.produce(new ReflectiveClassBuildItem(false, false, BaseGenericObjectPool.class.getName()));
|
|
|
|
|
// reflectiveClassBuildItemBuildProducer.produce(new ReflectiveClassBuildItem(false, false, DefaultEvictionPolicy.class.getName()));
|
|
|
|
|
// BuildProducer<ReflectiveClassBuildItem>
|
|
|
|
|
// reflectiveClassBuildItemBuildProducer) {
|
|
|
|
|
// reflectiveClassBuildItemBuildProducer.produce(new
|
|
|
|
|
// ReflectiveClassBuildItem(false, false,
|
|
|
|
|
// BaseGenericObjectPool.class.getName()));
|
|
|
|
|
// reflectiveClassBuildItemBuildProducer.produce(new
|
|
|
|
|
// ReflectiveClassBuildItem(false, false,
|
|
|
|
|
// DefaultEvictionPolicy.class.getName()));
|
|
|
|
|
recorder.initialize(config, beanContainer.getValue(), shutdownContext);
|
|
|
|
|
serviceStart.produce(new ServiceStartBuildItem("jedis"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// @BuildStep
|
|
|
|
|
// SubstrateProxyDefinitionBuildItem httpProxies() {
|
|
|
|
|
// return new SubstrateProxyDefinitionBuildItem(MBeanServer.class.getName(),
|
|
|
|
|
// MBeanServerConnection.class.getName(),
|
|
|
|
|
// KeyedObjectPool.class.getName(),
|
|
|
|
|
// KeyedPooledObjectFactory.class.getName(),
|
|
|
|
|
// ObjectPool.class.getName(),
|
|
|
|
|
// PooledObject.class.getName(),
|
|
|
|
|
// PooledObjectFactory.class.getName(),
|
|
|
|
|
// SwallowedExceptionListener.class.getName(),
|
|
|
|
|
// TrackedUse.class.getName(),
|
|
|
|
|
// UsageTracking.class.getName());
|
|
|
|
|
// }
|
|
|
|
|
// SubstrateProxyDefinitionBuildItem httpProxies() {
|
|
|
|
|
// return new SubstrateProxyDefinitionBuildItem(MBeanServer.class.getName(),
|
|
|
|
|
// MBeanServerConnection.class.getName(),
|
|
|
|
|
// KeyedObjectPool.class.getName(),
|
|
|
|
|
// KeyedPooledObjectFactory.class.getName(),
|
|
|
|
|
// ObjectPool.class.getName(),
|
|
|
|
|
// PooledObject.class.getName(),
|
|
|
|
|
// PooledObjectFactory.class.getName(),
|
|
|
|
|
// SwallowedExceptionListener.class.getName(),
|
|
|
|
|
// TrackedUse.class.getName(),
|
|
|
|
|
// UsageTracking.class.getName());
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|