Hello,
my application uses a bean called dataSource in order to connect to a MySQL database. It is injected into a DatabaseManager bean that handles the DB operations. When I'm offline the bean creation process fails, because the dataSource can't be instantiated.
Now I want to make the DatabaseManager configurable
If it is set to true I don't want the dataSource bean to be created. Is this possible?
my application uses a bean called dataSource in order to connect to a MySQL database. It is injected into a DatabaseManager bean that handles the DB operations. When I'm offline the bean creation process fails, because the dataSource can't be instantiated.
Now I want to make the DatabaseManager configurable
Code:
<property name="offlineMode" value"false" />
Comment