1
2
3
4 package org.andromda.cartridges.spring.metafacades;
5
6 /***
7 * <p>
8 * Represents an operation for a SpringService.
9 * </p>
10 *
11 * Metafacade interface to be used by AndroMDA cartridges.
12 */
13 public interface SpringServiceOperation
14 extends org.andromda.metafacades.uml.ServiceOperation
15 {
16
17 /***
18 * Indicates the metafacade type (used for metafacade mappings).
19 *
20 * @return always <code>true</code>
21 */
22 public boolean isSpringServiceOperationMetaType();
23
24 /***
25 * <p>
26 * The transaction type for EJB service operations (this is used
27 * when Session EJBs wrap the spring services).
28 * </p>
29 */
30 public java.lang.String getEjbTransactionType();
31
32 /***
33 * <p>
34 * The method call for the implementation operation.
35 * </p>
36 */
37 public java.lang.String getImplementationCall();
38
39 /***
40 * <p>
41 * The name of the the operation used within the service
42 * implementation.
43 * </p>
44 */
45 public java.lang.String getImplementationName();
46
47 /***
48 * <p>
49 * The signature for the implementation operation.
50 * </p>
51 */
52 public java.lang.String getImplementationSignature();
53
54 /***
55 * <p>
56 * Gets the throws clause for this service or null if the operation
57 * doesn't have any exceptions.
58 * </p>
59 */
60 public java.lang.String getThrowsClause();
61
62 /***
63 * <p>
64 * Retrieves the throws clause allowing a comma seperated list of
65 * exceptions to be passed in and appended to the list.
66 * </p>
67 */
68 public java.lang.String getThrowsClause(java.lang.String initialExceptions);
69
70 /***
71 * <p>
72 * Stores the Spring transaction type for an operation.
73 * </p>
74 */
75 public java.lang.String getTransactionType();
76
77 /***
78 * <p>
79 * Returns true/false depending on whether or not this
80 * SpringServiceOperation should be exposed in a webservice.
81 * </p>
82 */
83 public boolean isWebserviceExposed();
84
85 }