org.jboss.weld.bean.builtin.facade
Class AbstractFacade<T,X>

java.lang.Object
  extended by org.jboss.weld.bean.builtin.facade.AbstractFacade<T,X>
Type Parameters:
T -
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EventImpl, InstanceImpl

public abstract class AbstractFacade<T,X>
extends java.lang.Object
implements java.io.Serializable

Common implementation for binding-type-based helpers

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
protected AbstractFacade(java.lang.reflect.Type type, BeanManagerImpl manager, java.util.Set<? extends java.lang.annotation.Annotation> bindings)
           
 
Method Summary
protected  java.util.Set<? extends java.lang.annotation.Annotation> getBindings()
           
protected  BeanManagerImpl getManager()
           
protected  java.lang.reflect.Type getType()
           
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
 

Constructor Detail

AbstractFacade

protected AbstractFacade(java.lang.reflect.Type type,
                         BeanManagerImpl manager,
                         java.util.Set<? extends java.lang.annotation.Annotation> bindings)
Parameters:
type - The event type
manager - The Bean 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 BeanManagerImpl getManager()

getBindings

protected java.util.Set<? extends java.lang.annotation.Annotation> getBindings()

getType

protected java.lang.reflect.Type getType()


Copyright © 2008-2009 Seam Framework. All Rights Reserved.