Package org.apache.camel.spi
Interface ResourceAware
-
public interface ResourceAware
An interface to represent an object which wishes to be injected with theResource
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Resource
getResource()
Gets theResource
.void
setResource(Resource resource)
Sets theResource
.static <T> T
trySetResource(T object, Resource resource)
Set theResource
resource if the object is an instance ofResourceAware
.
-