|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sqlproc.engine.jmx.SqlSimpleFactoryJmx
org.sqlproc.engine.spring.jmx.SpringEngineFactoryJmx
@ManagedResource(objectName="sql-processor:type=Engine", description="The simplified JMX interface for the SQL Engine factory.") public class SpringEngineFactoryJmx
The implementation of the simplified JMX interface for the SQL Engine factory.
The factory can be based on Spring DI framework for example.
For more info please see the Tutorials.
Field Summary |
---|
Fields inherited from class org.sqlproc.engine.jmx.SqlSimpleFactoryJmx |
---|
OK |
Constructor Summary | |
---|---|
SpringEngineFactoryJmx()
|
Method Summary | |
---|---|
String |
getCrudEngineProcessingCache(String name)
|
String |
getDynamicNames()
|
String |
getNames()
|
String |
getProcedureEngineProcessingCache(String name)
|
String |
getQueryEngineProcessingCache(String name)
|
String |
initCrudEngines(String names)
|
String |
initProcedureEngines(String names)
|
String |
initQueryEngines(String names)
|
boolean |
isLazyInit()
|
String |
newCrudEngine(String name,
String sqlStatement)
|
String |
newProcedureEngine(String name,
String sqlStatement)
|
String |
newQueryEngine(String name,
String sqlStatement)
|
String |
resetCrudEngineProcessingCache(String name,
String names)
|
String |
resetCrudEngines(String names)
|
String |
resetProcedureEngineProcessingCache(String name,
String names)
|
String |
resetProcedureEngines(String names)
|
String |
resetQueryEngineProcessingCache(String name,
String names)
|
String |
resetQueryEngines(String names)
|
Methods inherited from class org.sqlproc.engine.jmx.SqlSimpleFactoryJmx |
---|
setSqlEngineFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpringEngineFactoryJmx()
Method Detail |
---|
@ManagedOperation(description="In the case the SQL Query Engines are not initialized, a new static instances are established in the cache.") @ManagedOperationParameters(value=) public String initQueryEngines(String names)
initQueryEngines
in interface SqlSimpleFactoryMXBean
initQueryEngines
in class SqlSimpleFactoryJmx
@ManagedOperation(description="In the case the SQL CRUD Engines are not initialized, a new static instances are established in the cache.") @ManagedOperationParameters(value=) public String initCrudEngines(String names)
initCrudEngines
in interface SqlSimpleFactoryMXBean
initCrudEngines
in class SqlSimpleFactoryJmx
@ManagedOperation(description="In the case the SQL Procedure Engines are not initialized, a new static instances are established in the cache.") @ManagedOperationParameters(value=) public String initProcedureEngines(String names)
initProcedureEngines
in interface SqlSimpleFactoryMXBean
initProcedureEngines
in class SqlSimpleFactoryJmx
@ManagedOperation(description="In the case any dynamic SQL Query Engine is in the cache, the static one is re-established.") @ManagedOperationParameters(value=) public String resetQueryEngines(String names)
resetQueryEngines
in interface SqlSimpleFactoryMXBean
resetQueryEngines
in class SqlSimpleFactoryJmx
@ManagedOperation(description="In the case any dynamic SQL CRUD Engine is in the cache, the static one is re-established.") @ManagedOperationParameters(value=) public String resetCrudEngines(String names)
resetCrudEngines
in interface SqlSimpleFactoryMXBean
resetCrudEngines
in class SqlSimpleFactoryJmx
@ManagedOperation(description="In the case any dynamic SQL Procedure Engine is in the cache, the static one is re-established.") @ManagedOperationParameters(value=) public String resetProcedureEngines(String names)
resetProcedureEngines
in interface SqlSimpleFactoryMXBean
resetProcedureEngines
in class SqlSimpleFactoryJmx
@ManagedOperation(description="A new dynamic SQL Query Engine instance is established in the cache. The static one is suppressed.") @ManagedOperationParameters(value={,}) public String newQueryEngine(String name, String sqlStatement) throws SqlEngineException
newQueryEngine
in interface SqlSimpleFactoryMXBean
newQueryEngine
in class SqlSimpleFactoryJmx
SqlEngineException
@ManagedOperation(description="A new dynamic SQL CRUD Engine instance is established in the cache. The static one is suppressed.") @ManagedOperationParameters(value={,}) public String newCrudEngine(String name, String sqlStatement)
newCrudEngine
in interface SqlSimpleFactoryMXBean
newCrudEngine
in class SqlSimpleFactoryJmx
@ManagedOperation(description="A new dynamic SQL Procedure Engine instance is established in the cache. The static one is suppressed.") @ManagedOperationParameters(value={,}) public String newProcedureEngine(String name, String sqlStatement)
newProcedureEngine
in interface SqlSimpleFactoryMXBean
newProcedureEngine
in class SqlSimpleFactoryJmx
@ManagedOperation(description="Returns the collection of names of all initialized/constructed static SQL Engine instances.") public String getNames()
getNames
in interface SqlSimpleFactoryMXBean
getNames
in class SqlSimpleFactoryJmx
@ManagedOperation(description="Returns the collection of names of all initialized/constructed dynamic SQL Engine instances.") public String getDynamicNames()
getDynamicNames
in interface SqlSimpleFactoryMXBean
getDynamicNames
in class SqlSimpleFactoryJmx
@ManagedOperation(description="Returns the collection of names of all initialized/constructed static SQL Engine instances.") public boolean isLazyInit()
isLazyInit
in interface SqlSimpleFactoryMXBean
isLazyInit
in class SqlSimpleFactoryJmx
@ManagedOperation(description="Returns the processing cache used for the selected SQL Query Engine.") public String getQueryEngineProcessingCache(String name)
getQueryEngineProcessingCache
in interface SqlSimpleFactoryMXBean
getQueryEngineProcessingCache
in class SqlSimpleFactoryJmx
@ManagedOperation(description="Returns the processing cache used for the selected SQL CRUD Engine.") public String getCrudEngineProcessingCache(String name)
getCrudEngineProcessingCache
in interface SqlSimpleFactoryMXBean
getCrudEngineProcessingCache
in class SqlSimpleFactoryJmx
@ManagedOperation(description="Returns the processing cache used for the selected SQL Procedure Engine.") public String getProcedureEngineProcessingCache(String name)
getProcedureEngineProcessingCache
in interface SqlSimpleFactoryMXBean
getProcedureEngineProcessingCache
in class SqlSimpleFactoryJmx
@ManagedOperation(description="Clears the processing cache used for the selected SQL Query Engine.") public String resetQueryEngineProcessingCache(String name, String names)
resetQueryEngineProcessingCache
in interface SqlSimpleFactoryMXBean
resetQueryEngineProcessingCache
in class SqlSimpleFactoryJmx
@ManagedOperation(description="Clears the processing cache used for the selected SQL CRUD Engine.") public String resetCrudEngineProcessingCache(String name, String names)
resetCrudEngineProcessingCache
in interface SqlSimpleFactoryMXBean
resetCrudEngineProcessingCache
in class SqlSimpleFactoryJmx
@ManagedOperation(description="Clears the processing cache used for the selected SQL Procedure Engine.") public String resetProcedureEngineProcessingCache(String name, String names)
resetProcedureEngineProcessingCache
in interface SqlSimpleFactoryMXBean
resetProcedureEngineProcessingCache
in class SqlSimpleFactoryJmx
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |