org.jboss.webbeans
Class FacadeImpl<T>

java.lang.Object
  extended by org.jboss.webbeans.FacadeImpl<T>
Type Parameters:
T -
Direct Known Subclasses:
EventImpl, InstanceImpl

public abstract class FacadeImpl<T>
extends java.lang.Object

Common implementation for binding-type-based helpers

Author:
Gavin King

Field Summary
protected  java.util.Set<? extends java.lang.annotation.Annotation> bindings
           
protected  java.lang.reflect.Type type
           
 
Constructor Summary
protected FacadeImpl(java.lang.reflect.Type type, ManagerImpl manager, java.util.Set<? extends java.lang.annotation.Annotation> bindings)
          Constructor
 
Method Summary
protected  ManagerImpl getManager()
           
protected  java.lang.annotation.Annotation[] mergeInBindings(java.lang.annotation.Annotation... newBindings)
           
 java.lang.String toString()
          Gets a string representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

bindings

protected final java.util.Set<? extends java.lang.annotation.Annotation> bindings

type

protected final java.lang.reflect.Type type
Constructor Detail

FacadeImpl

protected FacadeImpl(java.lang.reflect.Type type,
                     ManagerImpl manager,
                     java.util.Set<? extends java.lang.annotation.Annotation> bindings)
Constructor

Parameters:
type - The event type
manager - The Web Beans manager
bindings - The binding types
Method Detail

toString

public java.lang.String toString()
Gets a string representation

Overrides:
toString in class java.lang.Object
Returns:
A string representation

mergeInBindings

protected java.lang.annotation.Annotation[] mergeInBindings(java.lang.annotation.Annotation... newBindings)

getManager

protected ManagerImpl getManager()


Copyright © 2011. All Rights Reserved.