Package com.isomorphic.datasource
Interface ISCMapBean
public interface ISCMapBean
Marker interface that tells DataSource.getProperties() to treat instances of Map as Beans. Simply mark your bean as implementing this interface to get that result.
By default, DataSource.getProperties() treats all objects as beans - but an exception is made for objects that implement the Map interface - these are not introspected as beans, instead the key/value pairs are accessed directly via the Map APIs. This special treatment is applied because records are often simply Maps and custom Map implementations like the Jakarta Commons ListOrderedMap expose various public methods that would be queried via bean introspection, but that no one actually cares about returning as part of their record.
If you have a bean that implements the Map interface and you want it treated as a bean, by DataSource.getProperties(), mark it as implementing this interface.