Class EJBInterfaceOfExternalCallFinder
java.lang.Object
org.somox.gast2seff.visitors.DefaultInterfaceOfExternalCallFinder
org.annotationsmox.seffhelper.externalcallfinder.EJBInterfaceOfExternalCallFinder
- All Implemented Interfaces:
InterfaceOfExternalCallFinding
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.somox.gast2seff.visitors.InterfaceOfExternalCallFinding
InterfaceOfExternalCallFinding.InterfacePortOperationTuple
-
Constructor Summary
ConstructorDescriptionEJBInterfaceOfExternalCallFinder
(SourceCodeDecoratorRepository sourceCodeDecoratorRepository, org.palladiosimulator.pcm.repository.BasicComponent basicComponent) -
Method Summary
Modifier and TypeMethodDescriptiongetCalledInterfacePort
(org.emftext.language.java.members.Method calledMethod, org.emftext.language.java.statements.Statement statement) The EJB implementation of the external call checks whether the called method is the fire method.Methods inherited from class org.somox.gast2seff.visitors.DefaultInterfaceOfExternalCallFinder
getBasicComponent, getSourceCodeDecoratorRepository
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.somox.gast2seff.visitors.InterfaceOfExternalCallFinding
getCalledInterfacePort
-
Constructor Details
-
EJBInterfaceOfExternalCallFinder
public EJBInterfaceOfExternalCallFinder(SourceCodeDecoratorRepository sourceCodeDecoratorRepository, org.palladiosimulator.pcm.repository.BasicComponent basicComponent)
-
-
Method Details
-
getCalledInterfacePort
public InterfaceOfExternalCallFinding.InterfacePortOperationTuple getCalledInterfacePort(org.emftext.language.java.members.Method calledMethod, org.emftext.language.java.statements.Statement statement) The EJB implementation of the external call checks whether the called method is the fire method. If this is the case it returns the matching interface port operation tuple for the event.- Specified by:
getCalledInterfacePort
in interfaceInterfaceOfExternalCallFinding
- Overrides:
getCalledInterfacePort
in classDefaultInterfaceOfExternalCallFinder
- Parameters:
calledMethod
- The access to find in the PCMstatement
- The statement that issued the method call- Returns:
- interface port and operation for corresponding to the access.
-