Examples of plugin()


Examples of com.webobjects.jdbcadaptor.JDBCAdaptor.plugIn()

        dbPassword = (String) dict.objectForKey("password");
       
        if (dbDriver == null || dbDriver.length() == 0) {
          JDBCAdaptor jdbcAdaptor = new JDBCAdaptor("JDBC");
          jdbcAdaptor.setConnectionDictionary(dict);
          JDBCPlugIn plugIn = jdbcAdaptor.plugIn();
          dbDriver = plugIn.defaultDriverName();
        }

        minimumConnections = ERXValueUtilities.intValueWithDefault(dict.objectForKey("minConnections"), ERXProperties.intForKeyWithDefault("er.extensions.ERXJDBCConnectionBroker.minConnections", 1));
    maximumConnections = ERXValueUtilities.intValueWithDefault(dict.objectForKey("maxConnections"), ERXProperties.intForKeyWithDefault("er.extensions.ERXJDBCConnectionBroker.maxConnections", 1));
View Full Code Here

Examples of com.webobjects.jdbcadaptor.JDBCAdaptor.plugIn()

      ERXAdaptorOperationWrapper.adaptorOperationsDidPerform(ops);
    }

    private JDBCPlugIn _plugIn() {
      JDBCAdaptor jdbcadaptor = (JDBCAdaptor) adaptorContext().adaptor();
      return jdbcadaptor.plugIn();
    }

    private static NSMutableDictionary<String, NSMutableArray> pkCache = new NSMutableDictionary<String, NSMutableArray>();
    private int defaultBatchSize = ERXProperties.intForKeyWithDefault("er.extensions.ERXPrimaryKeyBatchSize", -1);
   
View Full Code Here

Examples of org.rhq.test.arquillian.DiscoveredResources.plugin()

    }
   
    private void assignDiscoveredResourceField(Object testCase, Field f) {
        DiscoveredResources config = f.getAnnotation(DiscoveredResources.class);
       
        String pluginName = config.plugin();
        String resourceTypeName = config.resourceType();
       
        ResourceType resourceType = getPluginContainer().getPluginManager().getMetadataManager().getType(resourceTypeName, pluginName);
        if (resourceType == null) {
            return;
View Full Code Here

Examples of org.rhq.test.arquillian.ResourceComponentInstances.plugin()

    }
   
    private void collectResourceComponentFields(Field f, Set<Field> fields) {
        ResourceComponentInstances a = f.getAnnotation(ResourceComponentInstances.class);
        if (a != null) {
            ResourceType rt = getResourceType(a.plugin(), a.resourceType());
            Class<?> resourceComponentClass = getResourceComponentClass(rt);
            if (hasType(f, Set.class, resourceComponentClass)) {
                fields.add(f);
            }
        }
View Full Code Here

Examples of org.rhq.test.arquillian.ResourceComponentInstances.plugin()

    }

    private void assignResourceComponentField(Object testCase, Field f) {
        ResourceComponentInstances config = f.getAnnotation(ResourceComponentInstances.class);
       
        String pluginName = config.plugin();
        String resourceTypeName = config.resourceType();

        ResourceType resourceType = getResourceType(pluginName, resourceTypeName);
        Class<?> componentClass = getResourceComponentClass(resourceType);
       
View Full Code Here

Examples of org.rhq.test.arquillian.ResourceContainers.plugin()

   

    private void assignResourceContainerField(Object testCase, Field f) {
        ResourceContainers config = f.getAnnotation(ResourceContainers.class);
       
        String pluginName = config.plugin();
        String resourceTypeName = config.resourceType();
       
        ResourceType resourceType = getPluginContainer().getPluginManager().getMetadataManager().getType(resourceTypeName, pluginName);
        if (resourceType == null) {
            return;
View Full Code Here

Examples of org.syncany.tests.util.TestClient.plugin()

    PluginOperationOptions pluginOptions = new PluginOperationOptions();
    pluginOptions.setAction(PluginAction.LIST);
    pluginOptions.setListMode(PluginListMode.LOCAL);

    // Run
    PluginOperationResult pluginResult = client.plugin(pluginOptions);
    List<Plugin> pluginList = Plugins.list(); // for comparison only!

    // Test
    assertNotNull(pluginResult);
    assertEquals(PluginResultCode.OK, pluginResult.getResultCode());
View Full Code Here

Examples of org.syncany.tests.util.TestClient.plugin()

    PluginOperationOptions pluginOptions = new PluginOperationOptions();
    pluginOptions.setAction(PluginAction.LIST);
    pluginOptions.setListMode(PluginListMode.REMOTE);
    pluginOptions.setSnapshots(false);

    PluginOperationResult pluginResult = client.plugin(pluginOptions);

    assertNotNull(pluginResult);
    assertEquals(PluginResultCode.OK, pluginResult.getResultCode());

    // Tear down
View Full Code Here

Examples of org.syncany.tests.util.TestClient.plugin()

    PluginOperationOptions pluginOptions = new PluginOperationOptions();
    pluginOptions.setAction(PluginAction.LIST);
    pluginOptions.setListMode(PluginListMode.REMOTE);
    pluginOptions.setSnapshots(true);

    PluginOperationResult pluginResult = client.plugin(pluginOptions);

    assertNotNull(pluginResult);
    assertEquals(PluginResultCode.OK, pluginResult.getResultCode());

    // Tear down
View Full Code Here

Examples of org.syncany.tests.util.TestClient.plugin()

    PluginOperationOptions pluginOptions = new PluginOperationOptions();
    pluginOptions.setAction(PluginAction.INSTALL);
    pluginOptions.setPluginId("ftp");

    PluginOperationResult pluginResult = client.plugin(pluginOptions);

    assertNotNull(pluginResult);
    assertEquals(PluginResultCode.OK, pluginResult.getResultCode());

    // Only one file should be in here: the jar for ftp.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.