Greetings There was a difficult (for me) situation with the interceptor. The essence is as follows. There is one packet where the method is located whose parameters should be intercepted. And in another package is the interceptor itself. The deployment descriptor is in the spool class package in the META-INF folder.
The ide spoiler itself finds (it does not light in red in xml, because it is in the same package), but it cannot find the required method and class, because it is in another package. (I think so because of this) For all the exclamations of the ideas he scored and tried to intercept the arriving parameters in the method, previously knocked down, but did not work. In target all classes are, ejb-jar.xml in jar is.
And yes, you cannot change the code of the class where the method whose parameters are to be intercepted is located, i.e. all you need to do through the descriptor.
JAR files that contain enterprise bean classes packaged within a WAR module are not considered EJB JAR files, even if the bundled JAR file conforms to the format of an EJB JAR file.- Sergey