public class ChangeSetContextImpl extends Object implements ChangeSetContextSPI, AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
static ChangeSetContextImpl |
attach() |
void |
close() |
static ChangeSetContextSPI |
getCurrent() |
int |
getId() |
boolean |
hasChangeSetMember() |
boolean |
hasChangeSetMember(String name) |
boolean |
isMarkedForCancel() |
void |
markForCancel() |
static ChangeSetContextImpl |
open() |
void |
register(ChangeSetListener listener) |
void |
register(ChangeSetMember member) |
void |
triggerBeforeClose() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisActivepublic static ChangeSetContextImpl open()
public static ChangeSetContextImpl attach()
public static ChangeSetContextSPI getCurrent()
getCurrent in interface ChangeSetContextpublic int getId()
getId in interface ChangeSetContextpublic void register(ChangeSetListener listener)
register in interface ChangeSetContextpublic void register(ChangeSetMember member)
register in interface ChangeSetContextSPIpublic boolean hasChangeSetMember(String name)
hasChangeSetMember in interface ChangeSetContextSPIpublic boolean hasChangeSetMember()
public void triggerBeforeClose()
public void close()
close in interface AutoCloseablepublic void markForCancel()
markForCancel in interface ChangeSetContextpublic boolean isMarkedForCancel()
isMarkedForCancel in interface ChangeSetContextCopyright © 2021. All rights reserved.