/** * Gets ejb pass-by-reference value. * @return Value of property passByReference if it is not null. Otherwise * returns value of passByReference property of Application if * it is not null. Default value is false. */ public boolean getPassByReference() { boolean passByReference = false; // default // if pass-by-reference defined for ejb if (this.isPassByReferenceDefined()) { passByReference = this.passByReference.booleanValue(); // if pass-by-reference undefined for ejb set to // application's pass-by-reference value if defined } else { ejbDescriptor = this.getEjbDescriptor(); if (ejbDescriptor != null) { Application application = ejbDescriptor.getApplication(); if (application != null) { if (application.isPassByReferenceDefined()) { passByReference = application.getPassByReference(); } } } } return passByReference; }
/** * Gets ejb pass-by-reference value. * @return Value of property passByReference if it is not null. Otherwise * returns value of passByReference property of Application if * it is not null. Default value is false. */ public boolean getPassByReference() { boolean passByReference = false; // default // if pass-by-reference defined for ejb if (this.isPassByReferenceDefined()) { passByReference = this.passByReference.booleanValue(); // if pass-by-reference undefined for ejb set to // application's pass-by-reference value if defined } else { ejbDescriptor = this.getEjbDescriptor(); if (ejbDescriptor != null) { Application application = ejbDescriptor.getApplication(); if (application != null) { if (application.isPassByReferenceDefined()) { passByReference = application.getPassByReference(); } } } } return passByReference; }
appendTextChild(appNode, RuntimeTagNames.PASS_BY_REFERENCE, String.valueOf(application.getPassByReference()));
appendTextChild(appNode, RuntimeTagNames.PASS_BY_REFERENCE, String.valueOf(application.getPassByReference()));