org.netbeans.modules.j2ee.persistenceapi/1 1.0.20

org.netbeans.modules.j2ee.persistence.spi
Interface PersistenceScopesImplementation


public interface PersistenceScopesImplementation

The SPI for PersistenceScopes.

See Also:
PersistenceScopes, PersistenceScopesFactory

Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          Adds a property change listener, allowing to listen on properties, e.g.
 PersistenceScope[] getPersistenceScopes()
          Returns the persistence scopes contained in this instance.
 void removePropertyChangeListener(PropertyChangeListener listener)
          Removes a property change listener.
 

Method Detail

getPersistenceScopes

PersistenceScope[] getPersistenceScopes()
Returns the persistence scopes contained in this instance.

Returns:
an array of PersistenceScope instances; never null.

addPropertyChangeListener

void addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener, allowing to listen on properties, e.g. PersistenceScopes.PROP_PERSISTENCE_SCOPES.

Parameters:
listener - the listener to add; can be null.

removePropertyChangeListener

void removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener.

Parameters:
listener - the listener to remove; can be null.

org.netbeans.modules.j2ee.persistenceapi/1 1.0.20

Built on August 9 2006.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.