4.4.2 Implementation conventions of user-created plug-ins
The following shows the implementation conventions of user-created plug-ins:
-
If JP1/IM receives a request from a user or a system that uses REST APIs, it always calls the method that corresponds to the request without being aware of the plug-ins.
-
The plug-in refers to parameter information of methods and processes only those that can be processed by it. If the plug-in cannot process the methods, use return immediately without calling the setError method or logging the error.
This is because if you call the setError method without using return immediately, the next plug-in will not be called and the call operation will exit.
-
Whether a plug-in can be processed is basically determined by the sid value of the parameter. If you need to determine it based on information other than sid, see each method.