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

org.codehaus.plexus.component.manager.SingletonComponentManagerFactory Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package org.codehaus.plexus.component.manager;

import org.codehaus.plexus.MutablePlexusContainer;
import org.codehaus.plexus.component.repository.ComponentDescriptor;
import org.codehaus.plexus.lifecycle.LifecycleHandler;

public class SingletonComponentManagerFactory implements ComponentManagerFactory
{
    public String getId()
    {
        return "singleton";
    }

    @SuppressWarnings({"RawUseOfParameterizedType"})
    public  ComponentManager createComponentManager( MutablePlexusContainer container,
                                                       LifecycleHandler lifecycleHandler,
                                                       ComponentDescriptor componentDescriptor )
    {
        return new SingletonComponentManager( container, lifecycleHandler, componentDescriptor );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy