-
- Type Parameters:
T - service contract Java type.
- All Implemented Interfaces:
- com.google.common.base.Function<org.glassfish.hk2.api.Factory<T>,T>
public final class FactoryToService<T>
extends Object
implements com.google.common.base.Function<org.glassfish.hk2.api.Factory<T>,T>
Helper function converting a HK2 service factory into the
service contract instance.
- Author:
- Marek Potociar (marek.potociar at oracle.com)
-
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
T |
apply(org.glassfish.hk2.api.Factory<T> input) |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.common.base.Function
equals
Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.