Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use getInstanceForInjection to find injection point, better hierachy …
…for standard beans, enable a couple of TCK tests git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@1263 1c488680-804c-0410-94cd-c6b725194a0e
- Loading branch information
Showing
22 changed files
with
365 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 0 additions & 66 deletions
66
webbeans-ri/src/main/java/org/jboss/webbeans/bean/InjectionPointBean.java
This file was deleted.
Oops, something went wrong.
45 changes: 45 additions & 0 deletions
45
webbeans-ri/src/main/java/org/jboss/webbeans/bean/RIBean.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package org.jboss.webbeans.bean; | ||
|
||
import java.util.Set; | ||
|
||
import javax.context.Dependent; | ||
import javax.inject.manager.Bean; | ||
|
||
import org.jboss.webbeans.ManagerImpl; | ||
import org.jboss.webbeans.injection.AnnotatedInjectionPoint; | ||
|
||
public abstract class RIBean<T> extends Bean<T> | ||
{ | ||
|
||
private final ManagerImpl manager; | ||
|
||
protected RIBean(ManagerImpl manager) | ||
{ | ||
super(manager); | ||
this.manager = manager; | ||
} | ||
|
||
@Override | ||
protected ManagerImpl getManager() | ||
{ | ||
return manager; | ||
} | ||
|
||
public abstract Class<T> getType(); | ||
|
||
public abstract boolean isSpecializing(); | ||
|
||
public boolean isDependent() | ||
{ | ||
return getScopeType().equals(Dependent.class); | ||
} | ||
|
||
public abstract boolean isProxyable(); | ||
|
||
public abstract boolean isPrimitive(); | ||
|
||
public abstract Set<AnnotatedInjectionPoint<?, ?>> getInjectionPoints(); | ||
|
||
public abstract RIBean<?> getSpecializedBean(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.