mariofusco commented on code in PR #6103:
URL:
https://github.com/apache/incubator-kie-drools/pull/6103#discussion_r1775406324
##########
kie-api/src/main/java/org/kie/api/runtime/StatelessKieSession.java:
##########
@@ -106,51 +103,6 @@
* results.getValue( "Get People" );// returns the query as a QueryResults
instance.
* </pre>
*/
-public interface StatelessKieSession
- extends
- StatelessRuleSession,
- StatelessProcessSession,
- CommandExecutor,
- KieRuntimeEventManager {
-
- /**
- * @return the Globals store
- */
- Globals getGlobals();
-
- /**
- * Sets a global value on the globals store
- *
- * @param identifier the global identifier
- * @param value the value assigned to the global identifier
- */
- void setGlobal(String identifier,
- Object value);
-
-
- /**
- * Registers a channel with the given name
- *
- * @param name the name of the channel
- * @param channel the channel instance. It has to be thread safe.
- */
- void registerChannel(String name,
- Channel channel);
-
- /**
- * Unregisters the channel with the given name
- *
- * @param name
- */
- void unregisterChannel(String name);
-
- /**
- * @return a map with all registered channels.
- */
- Map<String, Channel> getChannels();
+public interface StatelessKieSession extends StatelessRuleSession,
StatelessProcessSession, RuntimeSession, KieRuntimeEventManager {
Review Comment:
Unfortunately you're right, or at least the name of those interfaces are
quite misleading, but we cannot change them if we want to keep backward
compatibility.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]