org.jbpm.integration.spec.runtime
Class TokenAttachmentDelegate
java.lang.Object
org.jbpm.integration.spec.runtime.TokenAttachmentDelegate
- All Implemented Interfaces:
- org.jboss.bpm.api.runtime.Attachments
public class TokenAttachmentDelegate
- extends java.lang.Object
- implements org.jboss.bpm.api.runtime.Attachments
An Attachment implementation that delegates to to the ContextInstance
- Since:
- 26-Nov-2008
- Author:
- thomas.diesler@jboss.com
| Nested classes/interfaces inherited from interface org.jboss.bpm.api.runtime.Attachments |
org.jboss.bpm.api.runtime.Attachments.Key |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenAttachmentDelegate
public TokenAttachmentDelegate(TokenImpl token,
org.jbpm.context.exe.ContextInstance context)
addAttachment
public <T> T addAttachment(java.lang.Class<T> clazz,
java.lang.Object value)
- Specified by:
addAttachment in interface org.jboss.bpm.api.runtime.Attachments
addAttachment
public java.lang.Object addAttachment(java.lang.String name,
java.lang.Object value)
- Specified by:
addAttachment in interface org.jboss.bpm.api.runtime.Attachments
addAttachment
public <T> T addAttachment(java.lang.Class<T> clazz,
java.lang.String name,
java.lang.Object value)
- Specified by:
addAttachment in interface org.jboss.bpm.api.runtime.Attachments
getAttachment
public <T> T getAttachment(java.lang.Class<T> clazz)
- Specified by:
getAttachment in interface org.jboss.bpm.api.runtime.Attachments
getAttachment
public java.lang.Object getAttachment(java.lang.String name)
- Specified by:
getAttachment in interface org.jboss.bpm.api.runtime.Attachments
getAttachment
public <T> T getAttachment(java.lang.Class<T> clazz,
java.lang.String name)
- Specified by:
getAttachment in interface org.jboss.bpm.api.runtime.Attachments
getAttachmentKeys
public java.util.Collection<org.jboss.bpm.api.runtime.Attachments.Key> getAttachmentKeys()
- Specified by:
getAttachmentKeys in interface org.jboss.bpm.api.runtime.Attachments
removeAttachment
public <T> T removeAttachment(java.lang.Class<T> clazz,
java.lang.String name)
- Specified by:
removeAttachment in interface org.jboss.bpm.api.runtime.Attachments
removeAttachment
public <T> T removeAttachment(java.lang.Class<T> clazz)
- Specified by:
removeAttachment in interface org.jboss.bpm.api.runtime.Attachments
removeAttachment
public java.lang.Object removeAttachment(java.lang.String name)
- Specified by:
removeAttachment in interface org.jboss.bpm.api.runtime.Attachments
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.