@Description(value="represents a persistence unit managed by OpenEJB") public static class ReloadableEntityManagerFactory.JMXReloadableEntityManagerFactory extends Object
| Constructor and Description |
|---|
ReloadableEntityManagerFactory.JMXReloadableEntityManagerFactory(ReloadableEntityManagerFactory remf) |
| Modifier and Type | Method and Description |
|---|---|
void |
addJarFile(String file) |
void |
addManagedClass(String clazz) |
void |
addMappingFile(String file) |
void |
dump(String file) |
boolean |
getExcludeUnlistedClasses() |
TabularData |
getJarFiles() |
TabularData |
getManagedClasses() |
TabularData |
getMappingFiles() |
TabularData |
getProperties() |
void |
reload() |
void |
removeJarFile(String file) |
void |
removeManagedClass(String clazz) |
void |
removeMappingFile(String file) |
void |
removeProperty(String key) |
void |
setExcludeUnlistedClasses(boolean value) |
void |
setProperty(String key,
String value) |
void |
setProvider(String provider) |
void |
setSharedCacheMode(String value) |
void |
setTransactionType(String type) |
void |
setValidationMode(String value) |
public ReloadableEntityManagerFactory.JMXReloadableEntityManagerFactory(ReloadableEntityManagerFactory remf)
@ManagedOperation @Description(value="recreate the entity manager factory using new properties") public void reload()
@ManagedOperation @Description(value="change the current JPA provider") public void setProvider(String provider)
@ManagedOperation @Description(value="change the current transaction type") public void setTransactionType(String type)
@ManagedOperation @Description(value="create or modify a property of the persistence unit") public void setProperty(String key, String value)
@ManagedOperation @Description(value="remove a property of the persistence unit if it exists") public void removeProperty(String key)
@ManagedOperation @Description(value="add a mapping file") public void addMappingFile(String file)
@ManagedOperation @Description(value="remove a mapping file") public void removeMappingFile(String file)
@ManagedOperation @Description(value="add a managed class") public void addManagedClass(String clazz)
@ManagedOperation @Description(value="remove a managed class") public void removeManagedClass(String clazz)
@ManagedOperation @Description(value="add a jar file") public void addJarFile(String file)
@ManagedOperation @Description(value="remove a jar file") public void removeJarFile(String file)
@ManagedOperation @Description(value="change the shared cache mode if possible (value is ok)") public void setSharedCacheMode(String value)
@ManagedOperation @Description(value="exclude or not unlisted entities") public void setExcludeUnlistedClasses(boolean value)
@ManagedOperation @Description(value="change the validation mode if possible (value is ok)") public void setValidationMode(String value)
@ManagedOperation @Description(value="dump the current configuration for this persistence unit in a file") public void dump(String file)
@ManagedAttribute @Description(value="get exclude unlisted classes") public boolean getExcludeUnlistedClasses()
@ManagedAttribute @Description(value="get all properties") public TabularData getProperties()
@ManagedAttribute @Description(value="get all mapping files") public TabularData getMappingFiles()
@ManagedAttribute @Description(value="get all jar files") public TabularData getJarFiles()
@ManagedAttribute @Description(value="get all managed classes") public TabularData getManagedClasses()
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.