rumanod / jain-slee

Automatically exported from code.google.com/p/jain-slee
0 stars 0 forks source link

Invalid method signature generated when adding ACI interface to an existing SBB #109

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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/t
est/SbbAciInterfaceTestSbbActivityContextInterface.java:[3,7] error: class 
SbbActivityContextInterface is public, should be declared in a file named 
SbbActivityContextInterface.java
"""

Original issue reported on code.google.com by vil...@users.sourceforge.net on 24 Jul 2014 at 4:47