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

com.cookingfox.chefling.impl.command.CreateChildContainerCommandImpl Maven / Gradle / Ivy

Go to download

Chefling is a very minimal dependency injection container written in pure Java.

There is a newer version: 7.1.1
Show newest version
package com.cookingfox.chefling.impl.command;

import com.cookingfox.chefling.api.CheflingContainer;
import com.cookingfox.chefling.api.command.CreateChildContainerCommand;

/**
 * @see CreateChildContainerCommand
 */
public class CreateChildContainerCommandImpl extends AbstractCommand implements CreateChildContainerCommand {

    public CreateChildContainerCommandImpl(CommandContainer container) {
        super(container);
    }

    @Override
    public CheflingContainer createChildContainer() {
        CheflingContainer child = new CommandContainer();

        _container.addChildContainer(child);

        return child;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy