Package org.openengsb.core.api.l10n

Examples of org.openengsb.core.api.l10n.BundleStrings


    /**
     * It is important to set the bundlecontext here so that the localized strings are found
     */
    public void setBundleContext(BundleContext bundleContext) {
        this.bundleContext = bundleContext;
        strings = new BundleStrings(bundleContext.getBundle());
    }
View Full Code Here


    protected String id;

    public DefaultDomainProvider(String id, Bundle bundle, Class<? extends Domain> domainInterface,
            Class<? extends DomainEvents> domainEventInterface) {
        this.id = id;
        strings = new BundleStrings(bundle);
        this.domainInterface = domainInterface;
        this.domainEventInterface = domainEventInterface;
    }
View Full Code Here

        return domainInterface;
    }

    public void setBundleContext(BundleContext bundleContext) {
        this.bundleContext = bundleContext;
        this.strings = new BundleStrings(this.bundleContext.getBundle());
    }
View Full Code Here

public class AbstractValidator {

    private final BundleStrings bundleStrings;

    public AbstractValidator(BundleContext context) {
        this.bundleStrings = new BundleStrings(context.getBundle());
    }
View Full Code Here

TOP

Related Classes of org.openengsb.core.api.l10n.BundleStrings

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.