Home » Search

About listener

101-110 of 135Refresh
JDO Doc
4

preClear(event)

Method javax.jdo.listener.ClearLifecycleListener void preClear(   InstanceLifecycleEvent event ) This method is called before the implementation calls the instance method ClearCallback.jdoPreClear and before it clears the values in the instance to their Java default values. This happens
JDO Doc
4

preDelete(event)

Method javax.jdo.listener.DeleteLifecycleListener void preDelete(   InstanceLifecycleEvent event ) Invoked whenever a persistent instance is deleted, for example during javax.jdo.PersistenceManager.deletePersistent. Access to field values within this call are permitted. This method is called before
JDO Doc
4

preDetach(event)

Method javax.jdo.listener.DetachLifecycleListener void preDetach(   InstanceLifecycleEvent event ) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy before the detached copy is made. It is called before the method DetachCallback.jdoPreDetach is called
JDO Doc
4

preDirty(event)

Method javax.jdo.listener.DirtyLifecycleListener void preDirty(   InstanceLifecycleEvent event ) Invoked whenever a persistent instance is first made dirty, during an operation that modifies the value of a persistent or transactional field. Called before the value is changed. Parameters: event - Since: JDO 2.0
JDO Doc
4

preStore(event)

Method javax.jdo.listener.StoreLifecycleListener void preStore(   InstanceLifecycleEvent event ) Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit. It is called before the method StoreCallback.jdoPreStore
Forum
4

JBoss 7 startup fails

-file>index.jsp <listener> <listener-class>guest.GuestListenerlistener-class> listener> Listening on /127
Forum
3

Adding EntityListener Throws Unexpected Internal Exception

.. } and listener like below: public class MyListener {     @PostLoad     public void onPostLoad(Object ... ? This is an unexpected exception. It is thrown during analysis of the listener class in the following ObjectDB code ... above on your listener class in a console application, probably no exception will be thrown
Forum
3

Dirty checking

there is: void postDirty(InstanceLifecycleEvent event) http://www.objectdb.com/api/java/jdo/listener ... can see, there are: a) Lifecycle Listener classes, e.g: http://www.objectdb.com/java/jpa/persistence/event and b) some ... in the prior commit. in other words a 'post-commit' listener.  I can guarentee single threaded access
Forum
2

Entity factory

.setEntityFactory(myFactory); The JPA listeners are unsufficient since they are also created ... style). An alternative would be if one can create JPA listener instances inside his application and add this listener via API call to ObjectDB (like . Is it possible to implement such a functionality
Forum
2

How to Use a SF with extended Persistence Context?

.remoting] (MSC service thread 1-13) JBAS017100: Listening on localhost/127.0.0.1:4447 13:52:02,439 INFO  [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on /127.0.0.1:9999 13:52 ... .jboss.as] (MSC service thread 1-11) JBAS015951: Admin console listening on http://127.0.0.1:9990 13:52