< prev index next >
src/java.desktop/share/classes/java/beans/beancontext/BeanContextServicesSupport.java
Print this page
@@ -132,14 +132,14 @@
services = new HashMap<>(serializable + 1);
bcsListeners = new ArrayList<>(1);
}
/**
- * Gets the <tt>BeanContextServices</tt> associated with this
- * <tt>BeanContextServicesSupport</tt>.
+ * Gets the {@code BeanContextServices} associated with this
+ * {@code BeanContextServicesSupport}.
*
- * @return the instance of <tt>BeanContext</tt>
+ * @return the instance of {@code BeanContext}
* this object is providing the implementation for.
*/
public BeanContextServices getBeanContextServicesPeer() {
return (BeanContextServices)getBeanContextChildPeer();
}
@@ -999,11 +999,11 @@
}
}
}
/**
- * Gets the <tt>BeanContextServicesListener</tt> (if any) of the specified
+ * Gets the {@code BeanContextServicesListener} (if any) of the specified
* child.
*
* @param child the specified child
* @return the BeanContextServicesListener (if any) of the specified child
*/
@@ -1082,24 +1082,24 @@
// do nothing ...
}
}
/**
- * Fires a <tt>BeanContextServiceEvent</tt> notifying of a new service.
+ * Fires a {@code BeanContextServiceEvent} notifying of a new service.
* @param serviceClass the service class
*/
protected final void fireServiceAdded(Class<?> serviceClass) {
BeanContextServiceAvailableEvent bcssae = new BeanContextServiceAvailableEvent(getBeanContextServicesPeer(), serviceClass);
fireServiceAdded(bcssae);
}
/**
- * Fires a <tt>BeanContextServiceAvailableEvent</tt> indicating that a new
+ * Fires a {@code BeanContextServiceAvailableEvent} indicating that a new
* service has become available.
*
- * @param bcssae the <tt>BeanContextServiceAvailableEvent</tt>
+ * @param bcssae the {@code BeanContextServiceAvailableEvent}
*/
protected final void fireServiceAdded(BeanContextServiceAvailableEvent bcssae) {
Object[] copy;
synchronized (bcsListeners) { copy = bcsListeners.toArray(); }
@@ -1108,13 +1108,13 @@
((BeanContextServicesListener)copy[i]).serviceAvailable(bcssae);
}
}
/**
- * Fires a <tt>BeanContextServiceEvent</tt> notifying of a service being revoked.
+ * Fires a {@code BeanContextServiceEvent} notifying of a service being revoked.
*
- * @param bcsre the <tt>BeanContextServiceRevokedEvent</tt>
+ * @param bcsre the {@code BeanContextServiceRevokedEvent}
*/
protected final void fireServiceRevoked(BeanContextServiceRevokedEvent bcsre) {
Object[] copy;
synchronized (bcsListeners) { copy = bcsListeners.toArray(); }
@@ -1123,11 +1123,11 @@
((BeanContextServiceRevokedListener)copy[i]).serviceRevoked(bcsre);
}
}
/**
- * Fires a <tt>BeanContextServiceRevokedEvent</tt>
+ * Fires a {@code BeanContextServiceRevokedEvent}
* indicating that a particular service is
* no longer available.
* @param serviceClass the service class
* @param revokeNow whether or not the event should be revoked now
*/
@@ -1233,27 +1233,27 @@
/*
* fields
*/
/**
- * all accesses to the <code> protected transient HashMap services </code>
+ * all accesses to the {@code protected transient HashMap services}
* field should be synchronized on that object
*/
protected transient HashMap<Object, BCSSServiceProvider> services;
/**
- * The number of instances of a serializable <tt>BeanContextServceProvider</tt>.
+ * The number of instances of a serializable {@code BeanContextServceProvider}.
*/
protected transient int serializable = 0;
/**
- * Delegate for the <tt>BeanContextServiceProvider</tt>.
+ * Delegate for the {@code BeanContextServiceProvider}.
*/
protected transient BCSSProxyServiceProvider proxy;
/**
- * List of <tt>BeanContextServicesListener</tt> objects.
+ * List of {@code BeanContextServicesListener} objects.
*/
protected transient ArrayList<BeanContextServicesListener> bcsListeners;
}
< prev index next >