org.jboss.weld.ejb.spi.helpers
Class ForwadingBusinessInterfaceDescriptor<T>

java.lang.Object
  extended by org.jboss.weld.ejb.spi.helpers.ForwadingBusinessInterfaceDescriptor<T>
All Implemented Interfaces:
BusinessInterfaceDescriptor<T>

public abstract class ForwadingBusinessInterfaceDescriptor<T>
extends java.lang.Object
implements BusinessInterfaceDescriptor<T>

An implementation of BusinessInterfaceDescriptor which forwards all its method calls to another BusinessInterfaceDescriptor}. Subclasses should override one or more methods to modify the behavior of the backing BusinessInterfaceDescriptor as desired per the decorator pattern.

Author:
Pete Muir

Constructor Summary
ForwadingBusinessInterfaceDescriptor()
           
 
Method Summary
protected abstract  BusinessInterfaceDescriptor<T> delegate()
           
 boolean equals(java.lang.Object obj)
           
 java.lang.Class<T> getInterface()
          Gets the business interface class
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForwadingBusinessInterfaceDescriptor

public ForwadingBusinessInterfaceDescriptor()
Method Detail

delegate

protected abstract BusinessInterfaceDescriptor<T> delegate()

getInterface

public java.lang.Class<T> getInterface()
Description copied from interface: BusinessInterfaceDescriptor
Gets the business interface class

Specified by:
getInterface in interface BusinessInterfaceDescriptor<T>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


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