com.sun.rave.faces.util
Class DesignTimeComponentBundle

java.lang.Object
  extended by com.sun.rave.faces.util.ComponentBundle
      extended by com.sun.rave.faces.util.DesignTimeComponentBundle

public class DesignTimeComponentBundle
extends ComponentBundle


Constructor Summary
DesignTimeComponentBundle()
           
 
Method Summary
 void init(java.lang.String baseName, java.lang.ClassLoader classLoader)
          If a class loader is not passed in, I will only be able to fetch ResourceBundles that are reachable from MY class loader.
 
Methods inherited from class com.sun.rave.faces.util.ComponentBundle
getBundle, getBundle, getMessage, getMessage, getMessage, getMessage, getMessage, getMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DesignTimeComponentBundle

public DesignTimeComponentBundle()
Method Detail

init

public void init(java.lang.String baseName,
                 java.lang.ClassLoader classLoader)
Description copied from class: ComponentBundle
If a class loader is not passed in, I will only be able to fetch ResourceBundles that are reachable from MY class loader. This is due to a bug in ResourceBundle that goes up the stack only 2 levels in order to find the appropriate class loader. Since I provide a level of indirection, I will ALWAYS be the callee, and therefore at the 2nd level. See source for ResourceBundle.getBundle() ResourceBundle.getLoader().

Overrides:
init in class ComponentBundle