class MethodEndpoint {

	public boolean equals(Object o) {
		if (this == o) {
			return true;
		}
		if (o != null && o instanceof MethodEndpoint) {
			MethodEndpoint other = (MethodEndpoint) o;
			return this.bean.equals(other.bean) && this.method.equals(other.method);
		}
		return false;
	}

	public  MethodEndpoint(Object bean, Method method);
	public  MethodEndpoint(Object bean, String methodName, Class<?>... parameterTypes);
	public  MethodEndpoint(String beanName, BeanFactory beanFactory, Method method);

}