本文整理汇总了Java中com.bluedragon.plugin.PluginManagerInterface类的典型用法代码示例。如果您正苦于以下问题:Java PluginManagerInterface类的具体用法?Java PluginManagerInterface怎么用?Java PluginManagerInterface使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
PluginManagerInterface类属于com.bluedragon.plugin包,在下文中一共展示了PluginManagerInterface类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: pluginStart
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
public void pluginStart(PluginManagerInterface manager, xmlCFML systemParameters) {
smtpManagerMap = new HashMap<String,SmtpManager>();
manager.registerTag( "cfsmtp", "org.alanwilliamson.openbd.plugin.cfsmtp.cfSMTP" );
manager.registerFunction("mailread", "org.alanwilliamson.openbd.plugin.cfsmtp.MailReadFunction");
manager.registerFunction("mailwrite", "org.alanwilliamson.openbd.plugin.cfsmtp.MailWriteFunction");
manager.registerFunction("maildeliver", "org.alanwilliamson.openbd.plugin.cfsmtp.MailDeliverFunction");
manager.registerFunction("smtpstart", "org.alanwilliamson.openbd.plugin.cfsmtp.SmtpStartFunction");
manager.registerFunction("smtpstop", "org.alanwilliamson.openbd.plugin.cfsmtp.SmtpStopFunction");
manager.registerFunction("smtpstatus", "org.alanwilliamson.openbd.plugin.cfsmtp.SmtpStatusFunction");
}
示例2: pluginStart
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
public void pluginStart(PluginManagerInterface manager, xmlCFML systemParameters) {
manager.registerFunction("salesforcequery", "org.alanwilliamson.openbd.plugin.salesforce.SalesForceQuery" );
manager.registerFunction("salesforcequerycallback", "org.alanwilliamson.openbd.plugin.salesforce.SalesForceQueryCallback" );
manager.registerFunction("salesforcecreate", "org.alanwilliamson.openbd.plugin.salesforce.SalesForceCreate" );
manager.registerFunction("salesforceupdate", "org.alanwilliamson.openbd.plugin.salesforce.SalesForceUpdate" );
manager.registerFunction("salesforcedelete", "org.alanwilliamson.openbd.plugin.salesforce.SalesForceDelete" );
manager.registerFunction("salesforcedescribe", "org.alanwilliamson.openbd.plugin.salesforce.SalesForceDescribe" );
}
示例3: pluginStop
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
@Override
public void pluginStop(PluginManagerInterface manager) {
Iterator<MongoDSN> it = dbPool.values().iterator();
while (it.hasNext() ){
MongoDSN db = it.next();
it.remove();
db.close();
}
}
示例4: pluginStart
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
@Override
public void pluginStart(PluginManagerInterface manager, xmlCFML systemParameters) {
manager.registerFunction("profileron", "com.bluedragon.profiler.functions.On" );
manager.registerFunction("profileroff", "com.bluedragon.profiler.functions.Off" );
manager.registerFunction("profileradd", "com.bluedragon.profiler.functions.Add" );
File pluginFolder = new File( cfEngine.thisPlatform.getFileIO().getWorkingDirectory(), "plugin-profiler" );
producerConsumer = new ProducerConsumer(pluginFolder, 2000);
}
示例5: pluginStart
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
@Override
public void pluginStart(PluginManagerInterface manager, xmlCFML systemParameters) {
manager.registerFunction("debuggerstep", "com.bluedragon.vision.functions.Step" );
manager.registerFunction("debuggerstepover", "com.bluedragon.vision.functions.StepOver" );
manager.registerFunction("debuggersteptobreakpoint", "com.bluedragon.vision.functions.StepToBreakPoint" );
manager.registerFunction("debuggersteptoend", "com.bluedragon.vision.functions.StepToEnd" );
manager.registerFunction("debuggergetsessions", "com.bluedragon.vision.functions.GetActiveSessions" );
manager.registerFunction("debuggergetrequestcount", "com.bluedragon.vision.functions.GetRequestCount" );
manager.registerFunction("debuggergetactiverequestcount", "com.bluedragon.vision.functions.GetActiveRequestCount" );
manager.registerFunction("debuggergetstats", "com.bluedragon.vision.functions.GetStats" );
manager.registerFunction("debuggerkillsession", "com.bluedragon.vision.functions.KillSession" );
manager.registerFunction("debuggerissession", "com.bluedragon.vision.functions.SessionActive" );
manager.registerFunction("debuggerinspectprofilesession", "com.bluedragon.vision.functions.InspectProfileSession" );
manager.registerFunction("debuggersetbreakpoint", "com.bluedragon.vision.functions.SetBreakPoint" );
manager.registerFunction("debuggersetbreakpointonexception", "com.bluedragon.vision.functions.SetBreakPointOnException" );
manager.registerFunction("debuggergetbreakpointonexception", "com.bluedragon.vision.functions.GetBreakPointOnException" );
manager.registerFunction("debuggerclearbreakpoint", "com.bluedragon.vision.functions.ClearBreakPoint" );
manager.registerFunction("debuggergetbreakpoints", "com.bluedragon.vision.functions.GetBreakPoints" );
manager.registerFunction("debuggerclearallbreakpoints", "com.bluedragon.vision.functions.ClearAllBreakPoints" );
manager.registerFunction("debuggerinspect", "com.bluedragon.vision.functions.InspectVar" );
manager.registerFunction("debuggerinspecttopscopes", "com.bluedragon.vision.functions.InspectTopScopes" );
manager.registerFunction("debuggerinspectlocalscope", "com.bluedragon.vision.functions.InspectLocalsVar" );
manager.registerFunction("debuggerinspectfilestack", "com.bluedragon.vision.functions.InspectFileStack" );
manager.registerFunction("debuggerinspecttagstack", "com.bluedragon.vision.functions.InspectTagStack" );
manager.registerFunction("debuggerinspectquerystack", "com.bluedragon.vision.functions.InspectQuery" );
manager.registerFunction("debuggerenable", "com.bluedragon.vision.functions.EnableDisable" );
manager.registerFunction("debuggerisenabled", "com.bluedragon.vision.functions.IsEnabled" );
coreserver = new CoreServer();
}
示例6: pluginStart
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
public void pluginStart( PluginManagerInterface Manager, xmlCFML SystemParameters )
{
Manager.registerFunction("PassphraseHash" ,"sorcerersisle.cfpassphrase.openbd.PassphraseHash");
Manager.registerFunction("PassphraseCheck","sorcerersisle.cfpassphrase.openbd.PassphraseCheck");
Manager.registerFunction("PassphraseInfo","sorcerersisle.cfpassphrase.openbd.PassphraseInfo");
Manager.registerTag("cfpassphrase","sorcerersisle.cfpassphrase.openbd.PassphraseTag");
}
示例7: pluginStart
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
public void pluginStart(PluginManagerInterface manager, xmlCFML systemParameters) {
manager.registerFunction( "barcode", "com.marcusfernstrom.openbd.plugin.barcodeGen.MainFunction" );
}
示例8: pluginStart
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
@Override public void pluginStart(PluginManagerInterface manager, xmlCFML systemParameters) {
manager.addRequestListener( this );
userFormField = systemParameters.getString("server.plugin.login.userfield");
if ( userFormField == null || userFormField.length() == 0 ){
manager.log("[LoginPlugin] <server>.<plugin>.<login>.<userfield>: no userfield specified");
userFormField = null;
return;
}
passwordFormField = systemParameters.getString("server.plugin.login.passwordfield");
if ( passwordFormField == null || passwordFormField.length() == 0 ){
manager.log("[LoginPlugin] <server>.<plugin>.<login>.<passwordfield>: no passwordfield specified");
userFormField = null;
return;
}
returnFormField = systemParameters.getString("server.plugin.login.returnfield");
if ( returnFormField == null || returnFormField.length() == 0 ){
manager.log("[LoginPlugin] <server>.<plugin>.<login>.<returnfield>: no returnfield specified");
userFormField = null;
return;
}
manager.log("[LoginPlugin] userfield=" + userFormField + "; passwordfield=" + passwordFormField + "; returnfield=" + returnFormField );
String iniFile = systemParameters.getString("server.plugin.login.ini");
if ( iniFile == null || iniFile.length() == 0 ){
manager.log("[LoginPlugin] <server>.<plugin>.<login>.<ini>: No INI path given");
userFormField = null;
return;
}
File iniF = new File(iniFile);
if ( !iniF.exists() ){
manager.log("[LoginPlugin] <server>.<plugin>.<login>.<ini>: " + iniF + " was not found");
userFormField = null;
return;
}
manager.log("[LoginPlugin] iniFile=" + iniFile );
// Setup the factory
factory = new IniSecurityManagerFactory(iniFile);
SecurityUtils.setSecurityManager(factory.getInstance());
}
示例9: pluginStop
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
public void pluginStop(PluginManagerInterface manager) {
Iterator<SmtpManager> it = smtpManagerMap.values().iterator();
while ( it.hasNext() )
it.next().stopServer();
}
示例10: pluginStop
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
public void pluginStop(PluginManagerInterface manager) {
bRunning = false;
}
示例11: pluginStart
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
public void pluginStart(PluginManagerInterface manager, xmlCFML systemParameters) {
SpreadSheetFormatOptions.initialize();
// Register the tags
manager.registerTag( "cfspreadsheet", "org.alanwilliamson.openbd.plugin.spreadsheet.tags.cfSpreadSheet" );
// Register the functions
manager.registerFunction( "IsSpreadsheetObject", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.IsSpreadsheetObject" );
manager.registerFunction( "SpreadsheetNew", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetNew" );
manager.registerFunction( "SpreadsheetWrite", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetWrite" );
manager.registerFunction( "SpreadsheetRead", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetRead" );
manager.registerFunction( "SpreadsheetReadBinary", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetReadBinary" );
manager.registerFunction( "SpreadsheetCreateSheet", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetCreateSheet" );
manager.registerFunction( "SpreadsheetDeleteSheet", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetDeleteSheet" );
manager.registerFunction( "SpreadsheetSetActiveSheet", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetSetActiveSheet" );
manager.registerFunction( "SpreadsheetSetActiveSheetNumber", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetSetActiveSheetNumber" );
manager.registerFunction( "SpreadsheetSetCellValue", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetSetCellValue" );
manager.registerFunction( "SpreadsheetSetCellFormula", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetSetCellFormula" );
manager.registerFunction( "SpreadsheetSetCellComment", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetSetCellComment" );
manager.registerFunction( "SpreadsheetGetCellComment", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetGetCellComment" );
manager.registerFunction( "SpreadsheetGetCellValue", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetGetCellValue" );
manager.registerFunction( "SpreadsheetGetCellFormula", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetGetCellFormula" );
manager.registerFunction( "SpreadsheetSetColumnWidth", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetSetColumnWidth" );
manager.registerFunction( "SpreadsheetSetRowWidth", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetSetRowWidth" );
manager.registerFunction( "SpreadsheetSetHeader", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetSetHeader" );
manager.registerFunction( "SpreadsheetSetFooter", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetSetFooter" );
manager.registerFunction( "SpreadsheetFormatCell", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetFormatCell" );
manager.registerFunction( "SpreadsheetFormatColumn", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetFormatColumn" );
manager.registerFunction( "SpreadsheetFormatColumns", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetFormatColumn" );
manager.registerFunction( "SpreadsheetFormatRow", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetFormatRow" );
manager.registerFunction( "SpreadsheetFormatRows", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetFormatRow" );
manager.registerFunction( "SpreadsheetDeleteRow", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetDeleteRow" );
manager.registerFunction( "SpreadsheetDeleteRows", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetDeleteRow" );
manager.registerFunction( "SpreadsheetDeleteColumn", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetDeleteColumn" );
manager.registerFunction( "SpreadsheetDeleteColumns", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetDeleteColumn" );
manager.registerFunction( "SpreadsheetRemoveColumn", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetRemoveColumn" );
manager.registerFunction( "SpreadsheetAddColumn", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetAddColumn" );
manager.registerFunction( "SpreadsheetShiftColumns", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetShiftColumns" );
manager.registerFunction( "SpreadsheetAddRow", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetAddRow" );
manager.registerFunction( "SpreadsheetAddRows", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetAddRow" );
manager.registerFunction( "SpreadsheetShiftRows", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetShiftRows" );
manager.registerFunction( "SpreadsheetAddFreezePane", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetAddFreezePane" );
manager.registerFunction( "SpreadsheetMergeCells", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetMergeCells" );
manager.registerFunction( "SpreadsheetAddSplitPane", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetAddSplitPane" );
manager.registerFunction( "SpreadsheetAddInfo", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetAddInfo" );
manager.registerFunction( "SpreadsheetInfo", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetInfo" );
manager.registerFunction( "SpreadsheetAddImage", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetAddImage" );
manager.registerFunction( "SpreadsheetFindCell", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetFindCell" );
manager.registerFunction( "SpreadsheetColumnFitToSize", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetColumnFitToSize" );
manager.registerFunction( "SpreadsheetQueryRead", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetQueryRead" );
manager.registerFunction( "SpreadsheetQueryWrite", "org.alanwilliamson.openbd.plugin.spreadsheet.functions.SpreadsheetQueryWrite" );
}
示例12: pluginStart
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
@Override public void pluginStart(PluginManagerInterface manager, xmlCFML systemParameters) {
manager.addRequestListener( this );
manager.registerFunction("mongoregister", "com.bluedragon.mongo.MongoRegister" );
manager.registerFunction("mongoderegister", "com.bluedragon.mongo.MongoDeRegister" );
manager.registerFunction("mongoisvalid", "com.bluedragon.mongo.MongoIsRegistered" );
manager.registerFunction("mongodatabaselist", "com.bluedragon.mongo.MongoDatabaseList" );
manager.registerFunction("mongodatabasedrop", "com.bluedragon.mongo.MongoDatabaseDrop" );
manager.registerFunction("mongodatabasestats", "com.bluedragon.mongo.MongoDatabaseStats" );
manager.registerFunction("mongodatabaseruncmd", "com.bluedragon.mongo.MongoDatabaseRunCmd" );
manager.registerFunction("mongoobjectid", "com.bluedragon.mongo.MongoObjectId" );
manager.registerFunction("mongocollectionlist", "com.bluedragon.mongo.MongoCollectionList" );
manager.registerFunction("mongocollectiondrop", "com.bluedragon.mongo.MongoCollectionDrop" );
manager.registerFunction("mongocollectioncount", "com.bluedragon.mongo.MongoCollectionCount" );
manager.registerFunction("mongocollectionrename", "com.bluedragon.mongo.MongoCollectionRename" );
manager.registerFunction("mongocollectionstats", "com.bluedragon.mongo.MongoCollectionStats" );
manager.registerFunction("mongocollectiondistinct", "com.bluedragon.mongo.MongoCollectionDistinct" );
manager.registerFunction("mongocollectioninsert", "com.bluedragon.mongo.MongoCollectionInsert" );
manager.registerFunction("mongocollectionsave", "com.bluedragon.mongo.MongoCollectionSave" );
manager.registerFunction("mongocollectionupdate", "com.bluedragon.mongo.MongoCollectionUpdate" );
manager.registerFunction("mongocollectionremove", "com.bluedragon.mongo.MongoCollectionRemove" );
manager.registerFunction("mongocollectionfind", "com.bluedragon.mongo.MongoCollectionFind" );
manager.registerFunction("mongocollectionfindone", "com.bluedragon.mongo.MongoCollectionFindOne" );
manager.registerFunction("mongocollectionfindandmodify", "com.bluedragon.mongo.MongoCollectionFindAndModify" );
manager.registerFunction("mongocollectionindexdrop", "com.bluedragon.mongo.MongoCollectionIndexDrop" );
manager.registerFunction("mongocollectionindexensure", "com.bluedragon.mongo.MongoCollectionIndexEnsure" );
manager.registerFunction("mongocollectionmapreduce", "com.bluedragon.mongo.MongoCollectionMapReduce" );
manager.registerFunction("mongocollectiongroup", "com.bluedragon.mongo.MongoCollectionGroup" );
manager.registerFunction("mongocollectionaggregate", "com.bluedragon.mongo.MongoCollectionAggregate" );
manager.registerFunction("mongogridfssave", "com.bluedragon.mongo.gridfs.Add");
manager.registerFunction("mongogridfsremove", "com.bluedragon.mongo.gridfs.Delete");
manager.registerFunction("mongogridfsfindone", "com.bluedragon.mongo.gridfs.FindOne");
manager.registerFunction("mongogridfsfind", "com.bluedragon.mongo.gridfs.Find");
manager.registerFunction("mongogridfsget", "com.bluedragon.mongo.gridfs.Get");
SystemClock.setListenerMinute(this, 2);
}
示例13: pluginStop
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
public void pluginStop(PluginManagerInterface manager) {
bRunning = false;
thisInst.producerConsumer.onClose();
}
示例14: pluginStop
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
public void pluginStop( PluginManagerInterface Manager )
{
}
示例15: pluginStop
import com.bluedragon.plugin.PluginManagerInterface; //导入依赖的package包/类
public void pluginStop(PluginManagerInterface manager) {}