ObjectBuilder

The ObjectBuilder is used to create POJOs that uses some of the Qi4j specific concepts, such as @Service injections.

Description

Description goes here...

Declaration

package org.qi4j

import

public interface
{

}

Example

Description of Example goes here...
public class MyStuffMixin
    implements MyStuff
{
    @Structure ObjectBuilderFactory factory;

    public SomeStuff createSomeStuff()
    {
        ObjectBuilder builder = factory.newObjectBuilder( SomeStuff.class );
        return builder.newInstance();
    }
}


Qi4j and the Qi4j logo are trademarks of Richard Öberg, Niclas Hedhman and the members of the Qi4j Core Team. See Qi4j licensing for more information.
Powered by SiteVisionexternal link.