org.jvnet.hk2.component
Class Creators

java.lang.Object
  extended by org.jvnet.hk2.component.Creators

Deprecated.

@Deprecated
public class Creators
extends Object

Creator factory.

Author:
Kohsuke Kawaguchi

Constructor Summary
Creators()
          Deprecated.  
 
Method Summary
static
<T> Creator<T>
create(Class<T> c, ServiceLocator habitat, Map<String,List<String>> metadata)
          Deprecated. This will be implemented as a find or create
static List<Inhabitant<? extends InjectionResolver>> getAllInjectionResolvers(ServiceLocator habitat)
          Deprecated. Returns all currently available injection annotations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Creators

public Creators()
Deprecated. 
Method Detail

create

public static <T> Creator<T> create(Class<T> c,
                                    ServiceLocator habitat,
                                    Map<String,List<String>> metadata)
Deprecated. 
This will be implemented as a find or create

Parameters:
c -
habitat -
metadata -
Returns:

getAllInjectionResolvers

public static List<Inhabitant<? extends InjectionResolver>> getAllInjectionResolvers(ServiceLocator habitat)
Deprecated. 
Returns all currently available injection annotations

Parameters:
habitat - the service registry
Returns:
the list of injection resolvers registered in this service registry in its parent.


Copyright © 2013 Oracle Corporation. All Rights Reserved.