/** * ADVANCED: * Sets the WrapperPolicy for this descriptor. * This advanced feature can be used to wrap objects with other classes such as CORBA TIE objects or EJBs. */ public void setWrapperPolicy(WrapperPolicy wrapperPolicy) { this.wrapperPolicy = wrapperPolicy; // For bug 2766379 must be able to set the wrapper policy back to default // which is null. if (wrapperPolicy != null) { wrapperPolicy.setDescriptor(this); } getObjectBuilder().setHasWrapperPolicy(wrapperPolicy != null); }
/** * ADVANCED: * Sets the WrapperPolicy for this descriptor. * This advanced feature can be used to wrap objects with other classes such as CORBA TIE objects or EJBs. */ public void setWrapperPolicy(WrapperPolicy wrapperPolicy) { this.wrapperPolicy = wrapperPolicy; // For bug 2766379 must be able to set the wrapper policy back to default // which is null. if (wrapperPolicy != null) { wrapperPolicy.setDescriptor(this); } getObjectBuilder().setHasWrapperPolicy(wrapperPolicy != null); }
/** * ADVANCED: * Sets the WrapperPolicy for this descriptor. * This advanced feature can be used to wrap objects with other classes such as CORBA TIE objects or EJBs. */ public void setWrapperPolicy(WrapperPolicy wrapperPolicy) { this.wrapperPolicy = wrapperPolicy; // For bug 2766379 must be able to set the wrapper policy back to default // which is null. if (wrapperPolicy != null) { wrapperPolicy.setDescriptor(this); } getObjectBuilder().setHasWrapperPolicy(wrapperPolicy != null); }