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

net.java.truecommons.services.Store Maven / Gradle / Ivy

Go to download

Provides service location which is designed to work well in both JEE and OSGi environments and perfectly fits the dependency injection idiom with support for JSR 330.

There is a newer version: 2.5.0
Show newest version
/*
 * Copyright (C) 2005-2012 Schlichtherle IT Services.
 * All rights reserved. Use is subject to license terms.
 */
package net.java.truecommons.services;

import javax.inject.Provider;

/**
 * @author Christian Schlichtherle
 */
final class Store

implements Container

{ final P product; Store(final Provider

provider) { this.product = provider.get(); } @Override public P get() { return product; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy