All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.stanford.protege.webprotege.frame.FrameComponentSessionRendererFactory Maven / Gradle / Ivy

The newest version!
package edu.stanford.protege.webprotege.frame;

import javax.annotation.Nonnull;
import javax.inject.Inject;

import static com.google.common.base.Preconditions.checkNotNull;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 2020-04-01
 */
public class FrameComponentSessionRendererFactory {

    @Nonnull
    private final FrameComponentRenderer frameComponentRenderer;

    @Inject
    public FrameComponentSessionRendererFactory(@Nonnull FrameComponentRenderer frameComponentRenderer) {
        this.frameComponentRenderer = checkNotNull(frameComponentRenderer);
    }

    @Nonnull
    public FrameComponentSessionRenderer create() {
        return new FrameComponentSessionRenderer(frameComponentRenderer);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy