Returns the binding listener name. This method can only be called
if {@link #bindingListener} is non-null.
199754
public String getBindingListenerName() {
        ServiceReference<?> ref = bindingListener.getServiceReference();
        Object serviceDescription = ref.getProperty(Constants.SERVICE_DESCRIPTION);
        if (serviceDescription instanceof String) {
            return (String) serviceDescription;
        }

        return bindingListener.getService().getClass().getName() + " (" + ref.getBundle().getSymbolicName() + ')';
    }
919868
public final synchronized void removeListener(EventListener l) {
        if(l ==null) {
            throw new IllegalArgumentException("Listener " + l +
                                               " is null");
        }

        // Is l on the list?
        int index = -1;
        for(int i = listeners.length-1; i>=0; i--) {
            if(listeners[i].equals(l) == true) {
                index = i;
                break;
            }
        }

        // If so,  remove it
        if(index != -1) {
            EventListener[] tmp = new EventListener[listeners.length-1];
            // Copy the list up to index
            System.arraycopy(listeners, 0, tmp, 0, index);
            // Copy from two past the index, up to
            // the end of tmp (which is two elements
            // shorter than the old list)
            if(index < tmp.length)
                System.arraycopy(listeners, index+1, tmp, index, 
                                 tmp.length - index);
            // set the listener array to the new array or null
            listeners = (tmp.length == 0) ? EMPTY_LISTENERS : tmp;
        }
    }
1131235
public String getDescriptorName()
    {
        //
        // The javadocs for java.beans.EventSetDescriptor suggest that the programmatic name
        // should start w/ a lowercase letter.   So we use the unqualified event set interface
        // name w/ the first character lowercased.
        //
        String name = getShortName();
        return Character.toLowerCase(name.charAt(0)) + name.substring(1);
    }
1217338
static String getGlobalName(Binding binding) {
    if (binding.isModuleNamespace()) {
      return getGlobalName(binding.metadata(), binding.closureNamespace());
    }
    return getGlobalName(binding.originatingExport());
  }
1279981
private String getBindingName(ResourceInfo resourceInfo) {
        String destBindingName = null;

        String link = resourceInfo.getLink();
        if (link == null) {
            destBindingName = getBindingName(resourceInfo.getName());
        } else {
            destBindingName = InjectionEngineAccessor.getMessageDestinationLinkInstance().
                            findDestinationByName(resourceInfo.getApplication(),
                                                  resourceInfo.getModule(),
                                                  link);
            // if the link name is not found in the map, default the binding to
            // the link name, but strip off a module name if there is one.
            if (destBindingName == null) {
                Link mdLink = Link.parseMessageDestinationLink(resourceInfo.getModule(), link);
                destBindingName = mdLink.name;
            }
        }
        return destBindingName;
    }
133845
function ()
		{
			if (_.isNull(_listeners))
				return false;

			var isArray = _.isArray(_listeners), listener, len, args=[], _arguments=arguments;			

			var eventObject = function ()
				{
					var args = _.toArray(_arguments);
					var evtObj = this;
					args.unshift(this);
					this.index=0;
					Object.defineProperty(this,'event',{value:self,enumerable:false,writable:false});
					Object.defineProperty(this,'owner',{value:self.getParent(),enumerable:false,writable:false});
					Object.defineProperty(this,'evetName',{value:self.getEventName(),enumerable:true,writable:false});
					Object.defineProperty(this,'stopPropagation',{value:false,enumerable:false});
					Object.defineProperty(this,'lastListeners',{value:(isArray ? _listeners.length : 1),enumerable:false});
					Object.defineProperty(this,'listeners',{value:_listeners,enumerable:false,writable:false});
					Object.defineProperty(this,'arguments',{value:args,enumerable:false,writable:false});
					if (_config.async)
						this.next = function () {
							if (_.isArray(this.listeners))
							{							
								if (this.listeners.length == this.lastListeners)
									this.index++;

								var listener = this.listeners[this.index];
								var evtObj = this;
								self.callListener(listener,evtObj);
							}
						};
				},
				ieo = arguments[0] != null && typeof arguments[0] == 'object'
									&& arguments[0].stopPropagation!=undefined ? true : false,
				evtObj = ieo ? arguments[0] : new eventObject;

			if (!isArray)
			{
				self.callListener(_listeners,evtObj);
			} else
			{
				if (_listeners.length==2)
				{

					self.callListener(_listeners[0],evtObj);

					if (evtObj.stopPropagation === true || _config.async === true)
						return false;
				
					listener = _listeners.length == 2 ? _listeners[1] : _listeners[0];
					self.callListener(listener,evtObj);

				} else {
					var listeners = _listeners.slice();

					if (_config.async === true)
						self.callListener(listeners[0],evtObj);
					else 
						for (var i = 0, l = listeners.length; i < l; i++)
						{

							if (evtObj.stopPropagation == true)
								return true;

							self.callListener(listeners[i],evtObj);
						}
				}
			}
			return true;
        }
74067
public String getName()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "getName");
    
    String name = foreignDest.getName();
    
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.exit(tc, "getName", name);
    
    return name;

  }
1092714
public void setListener(Listener listener) {
        if (null != listener) {
            listenerReference = new WeakReference<Listener>(listener);
        } else {
            listenerReference = null;
        }
    }
950903
@Override
    public String getName() {
        if (name == null) {
            return null;
        }
        if (name.endsWith("_INDEX_2")) {
            return removeEnd(name, "_INDEX_2");
        }
        return name;
    }
1295731
private static Method getBindingMethod(UIComponent parent)
    {
        Class[] clazzes = parent.getClass().getInterfaces();

        for (int i = 0; i < clazzes.length; i++)
        {
            Class clazz = clazzes[i];

            if(clazz.getName().indexOf("BindingAware")!=-1)
            {
                try
                {
                    return  parent.getClass().getMethod("handleBindings",new Class[]{});
                }
                catch (NoSuchMethodException e)
                {
                    // return
                }
            }
        }

        return null;
    }
709906
public String name () {
    // lazily init name if it's not been set
    if (name == null) {
      name = getClass().getName();
      name = name.substring(name.lastIndexOf(".")+1).intern();
    }
    return name;
  }
405985
public void removeListener (ChangeListener listener)
    {
        int idx = getListenerIndex(listener);
        if (idx != -1) {
            _listeners[idx] = null;
        }
    }
505719
protected String getCallingClassName() {
        boolean outerSubclassReached = false;
        for (StackTraceElement element : Thread.currentThread().getStackTrace()) {
            // the method call that leads to the first invocation of this class or its subclass is considered the caller
            if (!knownClassNames.contains(element.getClassName())) {
                if (outerSubclassReached) {
                    return element.getClassName();
                }
            } else {
                outerSubclassReached = true;
            }
        }
        throw BeanManagerLogger.LOG.unableToIdentifyBeanManager();
    }
676345
public BaseListener getNextEnabledListener()
    {
        if (m_listener != null)
        {
            if (m_listener.isEnabled())
                return m_listener;
            else
                return m_listener.getNextEnabledListener();
        }
        else
            return null;
    }
325962
@Override
	public final String getName() {

		String name = getProperty(AbstractNode.name);
		if (name == null) {

			name = getUuid();
		}

		return name;
	}
1362797
public <T extends Widget & Checkable> boolean addOnCheckChangedListener
            (OnCheckChangedListener listener) {
        final boolean added;
        synchronized (mListeners) {
            added = mListeners.add(listener);
        }
        if (added) {
            List<T> c = getCheckableChildren();
            for (int i = 0; i < c.size(); ++i) {
                listener.onCheckChanged(this, c.get(i), i);
            }
        }
        return added;
    }
118340
@Trivial
    @Override
    public String getLocalName() {
        String addr = this.connection.getLocalHostName(true);
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
            Tr.debug(tc, "getLocalName: " + addr);
        }
        return addr;
    }