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

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

Go to download

Lifecycle AOP Framework. Enabling describe enhanced State Diagram with Java language, and processing relational Lifecycle constraints(including: state validations, transitions validations), concurrency, lifecycle callbacks, lifecycle events implicitely with Lifecycle Engine. This engine can be used by class load time (Java Instrumentation) or compile time (Lifecycle-StaticWeaver-maven-plugin).

There is a newer version: 0.9.13
Show newest version
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