package javax.webbeans;

import java.lang.annotation.Annotation;
import java.util.Set;

/**
 * Argh, this is not the name in the spec but then we have two classes called
 * Component
 */
public abstract class ComponentInstance<T>
{

   public abstract Set<Class> getTypes();
   public abstract Set<Annotation> getBindingTypes();
   public abstract Annotation getScopeType();
   public abstract Annotation getComponentType();
   public abstract String getName();
   
   public abstract T create(Container container);
   public abstract void destroy(Container container, T instance);

}
package javax.webbeans;

import java.lang.annotation.Annotation;
import java.util.Set;

/**
 * Argh, this is not the name in the spec but then we have two classes called
 * Component
 */
public abstract class ComponentInstance<T>
{

   public abstract Set<Class> getTypes();
   public abstract Set<Annotation> getBindingTypes();
   public abstract Annotation getScopeType();
   public abstract Annotation getDeploymentType();
   public abstract String getName();
   
   public abstract T create(Container container);
   public abstract void destroy(Container container, T instance);

}
Change name to deployment type (might be wrong)
Change name to deployment type (might be wrong)

git-svn-id: 811cd8a17a8c3c0c263af499002feedd54a892d0@25 1c488680-804c-0410-94cd-c6b725194a0e
