/** * Commits or rejects the pending context change. * * @param accept If true, the pending change is committed. If false, the pending change is * canceled. */ @Override public void commit(boolean accept) { super.commit(accept); }
/** * Commits or rejects the pending context change. * * @param accept If true, the pending change is committed. If false, the pending change is * canceled. */ @Override public void commit(boolean accept) { super.commit(accept); }
/** * Commits or rejects the pending context change. * * @param accept If true, the pending change is committed. If false, the pending change is * canceled. */ @Override public void commit(boolean accept) { super.commit(accept); }
/** * Commits or rejects the pending context change. * * @param accept If true, the pending change is committed. If false, the pending change is * canceled. */ @Override public void commit(boolean accept) { super.commit(accept); }
/** * Every managed context must specify a unique context name and the context change event * interface it supports. * * @param contextName Unique name for this context. * @param eventInterface The context change interface supported by this managed context. * @param initialContext The initial context state. May be null. */ protected ManagedContext(String contextName, Class<? extends IContextEvent> eventInterface, DomainClass initialContext) { this.contextName = contextName; this.eventInterface = eventInterface; setPending(initialContext); commit(true); }
/** * Every managed context must specify a unique context name and the context change event * interface it supports. * * @param contextName Unique name for this context. * @param eventInterface The context change interface supported by this managed context. * @param initialContext The initial context state. May be null. */ protected ManagedContext(String contextName, Class<? extends IContextEvent> eventInterface, DomainClass initialContext) { this.contextName = contextName; this.eventInterface = eventInterface; setPending(initialContext); commit(true); }