Java EE 5 SDK

com.sun.appserv.management.util.misc
Class PackageStringSources

java.lang.Object
  extended by com.sun.appserv.management.util.misc.PackageStringSources

public class PackageStringSources
extends Object

A StringSource for a package which first looks for a class in the the package named "PackageStringSource", and then, if not found, attempts to locate a ResourceBundle with the name "Strings".

Also maintains a cache of such sources so that subsequent uses reuse prior ones.


Method Summary
static StringSource get(Class theClass, StringSource delegate)
          Get a string source for the specified class, using the specified StringSource as its delegate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static StringSource get(Class theClass,
                               StringSource delegate)
Get a string source for the specified class, using the specified StringSource as its delegate.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.