Status: New
Owner: ----
Labels: Component-Core-Container

New issue 109 by [email protected]: Invalid method signature generated when adding ACI interface to an existing SBB
http://code.google.com/p/jain-slee/issues/detail?id=109

If an ACI interface is selected in the initial SBB creation wizard the asSbbActivityContextInterface method is generated correctly as specified in JAIN SLEE 1.1 FR section 7.7.2.

However, if an ACI is added to an existing SBB (context menu on SBB class or sbb-jar.xml -> Modify Service Building Block (SBB) -> Classes... -> Create custom Activity Context Interface) the generated method is parameterless, which results in deployment failure
"""
2014-07-24 19:38:50,276 ERROR [org.mobicents.slee.container.component.validator.SbbComponentValidator] (HDScanner) SbbID[name=SbbAciInterfaceTestSbb,vendor=lt.elitnet,version=1.0] : violates sbb constraints, the sbb abstract class declares more abstract methods than SLEE is
 bound to implement: [asSbbActivityContextInterface[]]
"""

Moreover, if the SBB's name for which the ACI interface is created starts with "Sbb*" (as is the case with the test SBB used above), the ACI interface is generated with an invalid name - "SbbActivityContextInterface", which results in compilation error
"""
[ERROR] <workspace_path>/sbb-aci-interface-test/sbb/src/main/java/lt/elitnet/mobicents/test/SbbAciInterfaceTestSbbActivityContextInterface.java:[3,7] error: class SbbActivityContextInterface is public, should be declared in a file named SbbActivityContextInterface.java
"""

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to