About listener

51-60 of 143Refresh
Tutorial
12

Step 2: Define a JPA Entity Class

. The next step is adding a context listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database.
JDO Doc
9

javax.jdo.spi.JDOImplHelper

to the listener list. Add the specified RegisterClassListener to the listener list. Parameters: crl - the listener to be added Since: JDO 1.0 void addStateInterrogation( StateInterrogation si) Add ... RegisterClassListener from the listener list. Remove the specified RegisterClassListener from the listener list
JPA Doc
7

javax.persistence.EntityListeners

javax.persistence Annotation EntityListeners Target: Classes Specifies the callback listener ... or mapped superclass. Since: JPA 1.0 Learn how to define and use entity listeners in Chapter 3 of the ObjectDB/JPA manual. Class[] value The callback listener classes The callback listener classes Since: JPA 1.0
JDO Doc
6

makePersistent(pc)

instances, the create life cycle listener is called. For detached instances, it locates or instantiates ... callback or the postAttach lifecycle event listener. Any references to the detached instances from ... callbacks and attach life cycle listeners are called. During application of changes of the detached
Forum
5

Glassfish 3.1.2.1 and ObjectDB 2.4.3

Service(s) Started Successfully INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port [0.0.0.0:8080] INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port [0.0.0.0:8181] INFO: WEB0169: Created HTTP listener [admin-listener] on host/port [0.0.0.0:4848] INFO: WEB0171
JDO Doc
5

addRegisterClassListener(crl)

Method javax.jdo.spi.JDOImplHelper void addRegisterClassListener(   RegisterClassListener crl ) Add the specified RegisterClassListener to the listener list. Parameters: crl - the listener to be added Since: JDO 1.0
JDO Doc
5

deletePersistentAll()

. Similarly, if there are lifecycle listeners registered for delete events on affected classes, the listener is called for each appropriate deleted instance. Before returning control
JDO Doc
5

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

.listener.InstanceLifecycleListener, and {pcClasses} is an optional comma- or whitespace-delimited ... of the given listener class. JDO implementations are permitted to define key values of their own. Any key
JDO Doc
5

javax.jdo.InstanceCallbacks

.listener.LoadCallback and javax.jdo.listener.ClearCallback. Note that JDO does not manage the state
JDO Doc
5

javax.jdo.JDOHelper

}]] where {listenerClass} is the fully qualified name of a class that implements javax.jdo.listener ... that instances of all persistence-capable classes will be observed by an instance of the given listener