Added a generic wrapper around other resource types, so usable when a resource wraps an object that may be of one of many types, for example one configured in JNDI, with a default being local file