/** * Returns the String representation of this event. * * @return String representation of the object */ public String toString() { String baseString = super.toString(); StringBuffer strBuf = new StringBuffer(); strBuf.append(baseString); strBuf.append(""); strBuf.append("Service info Details "); strBuf.append("["); if (m_vecRunningInstances != null) { strBuf.append("Running Instances = "); Enumeration elements = m_vecRunningInstances.elements(); while (elements.hasMoreElements()) { ServiceInstanceInfo info = (ServiceInstanceInfo) elements.nextElement(); strBuf.append(info.toString()); } } strBuf.append("]"); return strBuf.toString(); }