org.jboss.ejb3.embedded.dsl
Class AttachmentBuilder.AttachmentHolder<T>

java.lang.Object
  extended by org.jboss.ejb3.embedded.dsl.AttachmentBuilder.AttachmentHolder<T>
All Implemented Interfaces:
Attachment<T>
Enclosing class:
AttachmentBuilder

public static class AttachmentBuilder.AttachmentHolder<T>
extends Object
implements Attachment<T>


Constructor Summary
AttachmentBuilder.AttachmentHolder(Class<T> type, T attachment)
           
 
Method Summary
 T getAttachment()
           
 Class<T> getAttachmentType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentBuilder.AttachmentHolder

public AttachmentBuilder.AttachmentHolder(Class<T> type,
                                          T attachment)
Method Detail

getAttachment

public T getAttachment()
Specified by:
getAttachment in interface Attachment<T>

getAttachmentType

public Class<T> getAttachmentType()
Specified by:
getAttachmentType in interface Attachment<T>


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.