org.jboss.ejb3.embedded.dsl
Class AttachmentBuilder.AttachmentHolder<T>
java.lang.Object
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>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentBuilder.AttachmentHolder
public AttachmentBuilder.AttachmentHolder(Class<T> type,
T attachment)
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.