.
| Method from org.springframework.beans.factory.support.BeanDefinitionResource Detail: |
public boolean equals(Object obj) {
return (obj == this ||
(obj instanceof BeanDefinitionResource &&
((BeanDefinitionResource) obj).beanDefinition.equals(this.beanDefinition)));
}
This implementation compares the underlying BeanDefinition. |
public boolean exists() {
return false;
}
|
public final BeanDefinition getBeanDefinition() {
return this.beanDefinition;
}
Return the wrapped BeanDefinition object. |
public String getDescription() {
return "BeanDefinition defined in " + this.beanDefinition.getResourceDescription();
}
|
public InputStream getInputStream() throws IOException {
throw new FileNotFoundException(
"Resource cannot be opened because it points to " + getDescription());
}
|
public int hashCode() {
return this.beanDefinition.hashCode();
}
This implementation returns the hash code of the underlying BeanDefinition. |
public boolean isReadable() {
return false;
}
|