public HibernateEntityValueEncoder(Class<E> entityClass, String identifierPropertyName, Session session, PropertyAccess propertyAccess, TypeCoercer typeCoercer, Logger logger) { this.entityClass = entityClass; this.session = session; this.typeCoercer = typeCoercer; this.logger = logger; propertyAdapter = propertyAccess.getAdapter(this.entityClass).getPropertyAdapter(identifierPropertyName); }
public void run() { propertyAccess.clearCache(); typeCoercer.clearCache(); } };
public AspectDecoratorImpl(@Builtin PlasticProxyFactory proxyFactory) { this.proxyFactory = proxyFactory; }
public void registerForShutdown(RegistryShutdownHub hub) { hub.addRegistryShutdownListener(new Runnable() { @Override public void run() { cleanup(); shutdown = true; } }); }
/** * A chain of command for providing values for {@link Inject}-ed fields in * component classes. The service's * configuration can be extended to allow for different automatic injections * (based on some combination of field * type and field name). */ public InjectionProvider2 buildInjectionProvider(List<InjectionProvider2> configuration) { return chainBuilder.build(InjectionProvider2.class, configuration); }
synchronized void setStatus(Status status) { if (perThreadStatus != null) perThreadStatus.set(status); else this.status = status; } }
public AlertManagerImpl(ApplicationStateManager asm, Request request, AjaxResponseRenderer ajaxResponseRenderer, PerthreadManager perThreadManager) { this.asm = asm; this.request = request; this.ajaxResponseRenderer = ajaxResponseRenderer; needAlertStorageCleanup = perThreadManager.createValue(); }
@Override public T map(S value) { return coercion.coerce(value); } };
void setupRender() { ExceptionAnalysis analysis = analyzer.analyze(exception); stack = analysis.getExceptionInfos(); }
@Override public void run() { listener.registryDidShutdown(); } });
/** * @since 5.4 */ public ValueLabelProvider<?> buildValueLabelProvider(Map<Class, ValueLabelProvider> configuration) { return strategyBuilder.build(ValueLabelProvider.class, configuration); }
public HibernateEntityValueEncoder(Class<E> entityClass, String identifierPropertyName, Session session, PropertyAccess propertyAccess, TypeCoercer typeCoercer, Logger logger) { this.entityClass = entityClass; this.session = session; this.typeCoercer = typeCoercer; this.logger = logger; propertyAdapter = propertyAccess.getAdapter(this.entityClass).getPropertyAdapter(identifierPropertyName); }
public ThunkCreatorImpl(@Builtin PlasticProxyFactory proxyFactory) { this.proxyFactory = proxyFactory; }
public PipelineBuilderImpl(@Builtin PlasticProxyFactory proxyFactory, DefaultImplementationBuilder defaultImplementationBuilder) { this.proxyFactory = proxyFactory; this.defaultImplementationBuilder = defaultImplementationBuilder; }
public PropertyShadowBuilderImpl(@Builtin PlasticProxyFactory proxyFactory, PropertyAccess propertyAccess) { this.proxyFactory = proxyFactory; this.propertyAccess = propertyAccess; }
public DefaultImplementationBuilderImpl(@Builtin PlasticProxyFactory proxyFactory) { this.proxyFactory = proxyFactory; }
public StrategyBuilderImpl(@Builtin PlasticProxyFactory proxyFactory) { this.proxyFactory = proxyFactory; }