/** Accessor to the <code>Listener</code> instance, lazy created on demand. * The instance serves as a listener on document, environment * and also provides document initialization task for this support. * @see Listener */ private Listener getListener () { // Should not need to lock; it is always first // called within a synchronized(getLock()) block anyway. if(listener == null) { listener = new Listener(); } return listener; }
/** Accessor to the <code>Listener</code> instance, lazy created on demand. * The instance serves as a listener on document, environment * and also provides document initialization task for this support. * @see Listener */ private Listener getListener () { // Should not need to lock; it is always first // called within a synchronized(getLock()) block anyway. if(listener == null) { listener = new Listener(); } return listener; }
/** Accessor to the <code>Listener</code> instance, lazy created on demand. * The instance serves as a listener on document, environment * and also provides document initialization task for this support. * @see Listener */ private Listener getListener() { // Should not need to lock; it is always first // called within a synchronized(getLock()) block anyway. if (listener == null) { listener = new Listener(); } return listener; }