Java 类com.liferay.portal.kernel.util.ResourceBundleLoader 实例源码

项目:liferay-blade-samples    文件:ResourceBundleLoaderComponent.java   
@Reference(
    target = "(&(bundle.symbolic.name=com.liferay.blogs.web)(!(component.name=com.liferay.blade.samples.hook.resourcebundle.ResourceBundleLoaderComponent)))"
)
public void setResourceBundleLoader(
    ResourceBundleLoader resourceBundleLoader) {

    _resourceBundleLoader = new AggregateResourceBundleLoader(
        new CacheResourceBundleLoader(
            new ClassResourceBundleLoader(
                "content.Language",
                ResourceBundleLoaderComponent.class.getClassLoader())),
        resourceBundleLoader);
}
项目:liferay-blade-samples    文件:ResourceBundleLoaderComponent.java   
@Reference(
    target = "(&(bundle.symbolic.name=com.liferay.blogs.web)(!(component.name=com.liferay.blade.samples.hook.resourcebundle.ResourceBundleLoaderComponent)))"
)
public void setResourceBundleLoader(
    ResourceBundleLoader resourceBundleLoader) {

    _resourceBundleLoader = new AggregateResourceBundleLoader(
        new CacheResourceBundleLoader(
            new ClassResourceBundleLoader(
                "content.Language",
                ResourceBundleLoaderComponent.class.getClassLoader())),
        resourceBundleLoader);
}
项目:liferay-blade-samples    文件:ResourceBundleLoaderComponent.java   
@Reference(
    target = "(&(bundle.symbolic.name=com.liferay.blogs.web)(!(component.name=com.liferay.blade.samples.hook.resourcebundle.ResourceBundleLoaderComponent)))"
)
public void setResourceBundleLoader(
    ResourceBundleLoader resourceBundleLoader) {

    _resourceBundleLoader = new AggregateResourceBundleLoader(
        new CacheResourceBundleLoader(
            new ClassResourceBundleLoader(
                "content.Language",
                ResourceBundleLoaderComponent.class.getClassLoader())),
        resourceBundleLoader);
}
项目:ch-inofix-timetracker    文件:TaskRecordActivityInterpreter.java   
@Override
protected ResourceBundleLoader getResourceBundleLoader() {
    return _resourceBundleLoader;
}
项目:ch-inofix-contact-manager    文件:ContactActivityInterpreter.java   
@Override
protected ResourceBundleLoader getResourceBundleLoader() {
    return _resourceBundleLoader;
}