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
Original issue reported on code.google.com by
vil...@users.sourceforge.net
on 24 Jul 2014 at 4:47