All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.imadz.lifecycle.meta.builder.impl.RelationalEventCallbackObject Maven / Gradle / Ivy

package net.imadz.lifecycle.meta.builder.impl;

import java.lang.reflect.Method;

import net.imadz.util.Readable;

public class RelationalEventCallbackObject extends EventCallbackObject {

	private final Readable readAccessor;

	public RelationalEventCallbackObject(Class eventClass,
			Readable readAccessor, Method method) {
		super(eventClass, method);
		this.readAccessor = readAccessor;
	}

	@Override
	protected Object evaluateTarget(Object target) {
		return this.readAccessor.read(target);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy