You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now only elements that are a child of a root element are included in the Frank!Doc. Because of this the framework now contains lots of dummy methods such as:
// Dummy setter to allow JmsRealms being added to Configurations via FrankDoc.xsd
public void registerJmsRealm(JmsRealm realm) {
JmsRealmFactory.getInstance().registerJmsRealm(realm);
}
// Dummy method to include monitoring in the Frank!Doc.
public void registerMonitoring(MonitorManager factory) {
}
In order to avoid these methods I propose that we change the required rules in the digester-rules.xml from relative to absolute paths.
From: <rule pattern="*/monitoring" registerMethod="registerMonitoring" factory="nl.nn.adapterframework.monitoring.MonitoringFactory"/>
To: <rule pattern="configuration/monitoring" factory="nl.nn.adapterframework.monitoring.MonitoringFactory"/>
Note the absolute path/pattern, enforcing this element to be a child of Configuration, even though there is no setter available for this element.
The text was updated successfully, but these errors were encountered:
The Frank!Doc needs to know a Java class or interface for the child. If it is not the argument of a set/add/register method, how should the Frank!Doc know it?
Right now only elements that are a child of a root element are included in the Frank!Doc. Because of this the framework now contains lots of dummy methods such as:
In order to avoid these methods I propose that we change the required rules in the digester-rules.xml from relative to absolute paths.
From:
<rule pattern="*/monitoring" registerMethod="registerMonitoring" factory="nl.nn.adapterframework.monitoring.MonitoringFactory"/>
To:
<rule pattern="configuration/monitoring" factory="nl.nn.adapterframework.monitoring.MonitoringFactory"/>
Note the absolute path/pattern, enforcing this element to be a child of Configuration, even though there is no setter available for this element.
The text was updated successfully, but these errors were encountered: