Skip to content

XmlContainerFactory.create with given class #25

@erathke

Description

@erathke

Hi folks!
Very often we need to set common properties and behaviors between many Containers of our application.
It's very interesting to implement a "create" method of the XmlContainerFactory with a parameter to instantiate a given class, instead of returning a new XmlContainerLayout*
Example:
public static<T extends XmlContainerLayout> T create(String pathXml, Class<T> clazz)

Thanks in advance.
Evandro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions