|
||||||||||
| 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 SpringEngineFactoryJmxThe 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 SqlSimpleFactoryMXBeaninitQueryEngines 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 SqlSimpleFactoryMXBeaninitCrudEngines 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 SqlSimpleFactoryMXBeaninitProcedureEngines 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 SqlSimpleFactoryMXBeanresetQueryEngines 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 SqlSimpleFactoryMXBeanresetCrudEngines 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 SqlSimpleFactoryMXBeanresetProcedureEngines 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 SqlSimpleFactoryMXBeannewQueryEngine in class SqlSimpleFactoryJmxSqlEngineException
@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 SqlSimpleFactoryMXBeannewCrudEngine 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 SqlSimpleFactoryMXBeannewProcedureEngine in class SqlSimpleFactoryJmx@ManagedOperation(description="Returns the collection of names of all initialized/constructed static SQL Engine instances.") public String getNames()
getNames in interface SqlSimpleFactoryMXBeangetNames in class SqlSimpleFactoryJmx@ManagedOperation(description="Returns the collection of names of all initialized/constructed dynamic SQL Engine instances.") public String getDynamicNames()
getDynamicNames in interface SqlSimpleFactoryMXBeangetDynamicNames in class SqlSimpleFactoryJmx@ManagedOperation(description="Returns the collection of names of all initialized/constructed static SQL Engine instances.") public boolean isLazyInit()
isLazyInit in interface SqlSimpleFactoryMXBeanisLazyInit in class SqlSimpleFactoryJmx@ManagedOperation(description="Returns the processing cache used for the selected SQL Query Engine.") public String getQueryEngineProcessingCache(String name)
getQueryEngineProcessingCache in interface SqlSimpleFactoryMXBeangetQueryEngineProcessingCache in class SqlSimpleFactoryJmx@ManagedOperation(description="Returns the processing cache used for the selected SQL CRUD Engine.") public String getCrudEngineProcessingCache(String name)
getCrudEngineProcessingCache in interface SqlSimpleFactoryMXBeangetCrudEngineProcessingCache in class SqlSimpleFactoryJmx@ManagedOperation(description="Returns the processing cache used for the selected SQL Procedure Engine.") public String getProcedureEngineProcessingCache(String name)
getProcedureEngineProcessingCache in interface SqlSimpleFactoryMXBeangetProcedureEngineProcessingCache 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 SqlSimpleFactoryMXBeanresetQueryEngineProcessingCache 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 SqlSimpleFactoryMXBeanresetCrudEngineProcessingCache 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 SqlSimpleFactoryMXBeanresetProcedureEngineProcessingCache in class SqlSimpleFactoryJmx
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||