Skip to content

OSGi support #22

@tehapo

Description

@tehapo

Classloaders are restricted in OSGi environment, so changing the line
componentClass = Class.forName(qualifiedClassName);
to
componentClass =Thread.currentThread().getContextClassLoader().loadClass(qualifiedClassName);

would enable the Clara to be used in OSGi environment.

See Vaadin forum for more information: https://vaadin.com/forum#!/thread/1492517/4080396

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions