1 package org.andromda.cartridges.ejb3.metafacades;
2
3 import org.andromda.cartridges.ejb3.EJB3Profile;
4
5
6
7
8
9
10 public class EJB3PersistenceContextFacadeLogicImpl
11 extends EJB3PersistenceContextFacadeLogic
12 {
13 private static final long serialVersionUID = 34L;
14
15
16
17
18 public EJB3PersistenceContextFacadeLogicImpl(final Object metaObject, final String context)
19 {
20 super (metaObject, context);
21 }
22
23
24
25
26 @Override
27 protected String handleGetUnitName()
28 {
29 return (String)this.findTaggedValue(EJB3Profile.TAGGEDVALUE_EJB_PERSISTENCE_CONTEXT_UNIT_NAME);
30 }
31
32
33
34
35 @Override
36 protected String handleGetContextType()
37 {
38 return (String)this.findTaggedValue(EJB3Profile.TAGGEDVALUE_EJB_PERSISTENCE_CONTEXT_TYPE);
39 }
40
41
42
43
44 @Override
45 protected String handleGetDatasource()
46 {
47 return (String)this.findTaggedValue(EJB3Profile.TAGGEDVALUE_EJB_PERSISTENCE_CONTEXT_DATASOURCE);
48 }
49 }