Ejemplo n.º 1
0
            /*
             * Returns a string containing a concise, human-readable description of
             * this {@code Service}.
             *
             * @return a printable representation for this {@code Service}.
             */
            public override String ToString()
            {
                String result = "Provider " + provider.getName() + " Service " //$NON-NLS-1$ //$NON-NLS-2$
                                + type + "." + algorithm + " " + className;    //$NON-NLS-1$ //$NON-NLS-2$

                if (aliases != null)
                {
                    result = result + "\nAliases " + aliases.toString(); //$NON-NLS-1$
                }
                if (attributes != null)
                {
                    result = result + "\nAttributes " + attributes.toString(); //$NON-NLS-1$
                }
                return(result);
            }