View Javadoc
1   package org.andromda.cartridges.ejb3.metafacades;
2   
3   import org.andromda.cartridges.ejb3.EJB3Profile;
4   
5   /**
6    * MetafacadeLogic implementation for org.andromda.cartridges.ejb3.metafacades.EJB3MessageDrivenOperationFacade.
7    *
8    * @see EJB3MessageDrivenOperationFacade
9    */
10  public class EJB3MessageDrivenOperationFacadeLogicImpl
11      extends EJB3MessageDrivenOperationFacadeLogic
12  {
13      private static final long serialVersionUID = 34L;
14      /**
15       * @param metaObject
16       * @param context
17       */
18      public EJB3MessageDrivenOperationFacadeLogicImpl(final Object metaObject, final String context)
19      {
20          super (metaObject, context);
21      }
22  
23      /**
24       * @see EJB3MessageDrivenOperationFacade#isPostConstruct()
25       */
26      @Override
27      protected boolean handleIsPostConstruct()
28      {
29          return this.hasStereotype(EJB3Profile.STEREOTYPE_POST_CONSTRUCT);
30      }
31  
32      /**
33       * @see EJB3MessageDrivenOperationFacade#isPreDestroy()
34       */
35      @Override
36      protected boolean handleIsPreDestroy()
37      {
38          return this.hasStereotype(EJB3Profile.STEREOTYPE_PRE_DESTROY);
39      }
40  }