01: package com.bm.cfg;
02:
03: public class JndiProperty extends NestedProperty {
04:
05: /**
06: * Constructor.
07: */
08: public JndiProperty() {
09: super ("isSessionBean", "jndiName", "className");
10: }
11:
12: /**
13: * Gets the className.
14: *
15: * @return the className
16: */
17: public String getClassName() {
18: return this .getString("className");
19: }
20:
21: /**
22: * Gets the isSessionBean.
23: *
24: * @return the isSessionBean
25: */
26: public boolean isSessionBean() {
27: return this .getBoolean("isSessionBean");
28: }
29:
30: /**
31: * Gets the jndiName.
32: *
33: * @return the jndiName
34: */
35: public String getJndiName() {
36: return this .getString("jndiName");
37: }
38:
39: }
|