Package org.jipijapa.plugin.spi
Interface PersistenceUnitServiceRegistry
- All Known Subinterfaces:
PersistenceUnitServiceRegistry
public interface PersistenceUnitServiceRegistry
Registry of started persistence unit services.
- Author:
- Brian Stansberry (c) 2011 Red Hat Inc.
-
Method Summary
Modifier and TypeMethodDescriptiongetPersistenceUnitService(String persistenceUnitResourceName) Get the persistence unit service associated with the given management resource name.
-
Method Details
-
getPersistenceUnitService
Get the persistence unit service associated with the given management resource name.- Parameters:
persistenceUnitResourceName- the name of the management resource representing persistence unit- Returns:
- a PersistenceUnitService or
nullif the persistence unit service has not been started or has been stopped
-