站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 aspects API Documentation 英文版文档

VersionedObject (JBoss Aspects API) - JBoss 4.0.1 sp1 aspects API Documentation 英文版文档


org.jboss.aspects.versioned
Class VersionedObject

java.lang.Object
  extended byorg.jboss.aspects.versioned.VersionedObject

public class VersionedObject
extends Object

Manages transactional versions of an object versioned object must be Serializable or Cloneable

Version:
$Revision: 1.2 $
Author:
Bill Burke

Constructor Summary
VersionedObject(Object obj)
           
 
Method Summary
 Object createVersion(Transaction tx)
           
 Object getVersion(Transaction tx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionedObject

public VersionedObject(Object obj)
Method Detail

getVersion

public Object getVersion(Transaction tx)

createVersion

public Object createVersion(Transaction tx)
                     throws Exception
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.