Examples of DefaultConfiguration

Examples of at.newmedialab.ldpath.parser.DefaultConfiguration

     * Initialise a new LDPath instance for querying the backend passed as argument with the default configuration.
     * @param backend
    public LDPath(RDFBackend<Node> backend) {
        this(backend,new DefaultConfiguration());
View Full Code Here

Examples of com.bazaarvoice.snitch.config.DefaultConfiguration

    private static Snitch _instance;

    public synchronized static Snitch getInstance() {
        if (_instance == null) {
            try {
                _instance = new Snitch(new DefaultConfiguration());
            } catch (Exception e) {
                throw Throwables.propagate(e);
View Full Code Here

Examples of com.denimgroup.threadfix.data.entities.DefaultConfiguration

  private DefaultConfigurationDao defaultConfigurationDao;

    @Transactional(readOnly = false)
  public DefaultConfiguration loadCurrentConfiguration() {
        DefaultConfiguration configuration;

    List<DefaultConfiguration> list = defaultConfigurationDao.retrieveAll();
    if (list.size() == 0) {
            configuration = DefaultConfiguration.getInitialConfig();
    } else if (list.size() > 1) {
      DefaultConfiguration config = list.get(0);
      for (DefaultConfiguration defaultConfig : list) {
      configuration = config;
View Full Code Here

Examples of com.mysema.query.apt.DefaultConfiguration

        Class<? extends Annotation> entities = QueryEntities.class;
        Class<? extends Annotation> entity = Entity.class;
        Class<? extends Annotation> superType = QuerySupertype.class;
        Class<? extends Annotation> embedded = Embedded.class;
        Class<? extends Annotation> skip = Transient.class;
        DefaultConfiguration conf = new DefaultConfiguration(roundEnv,
                processingEnv.getOptions(), Collections.<String>emptySet(),
                entities, entity, superType, null, embedded, skip);
        try {
            Class cl = Class.forName("com.mysema.query.mongodb.Point");
            conf.addCustomType(Double[].class, cl);
        } catch (ClassNotFoundException e) {
            throw new IllegalStateException(e);
        return conf;
View Full Code Here

Examples of com.openshift.client.configuration.DefaultConfiguration

    public IOpenShiftConnection getOpenShiftConnection() throws IOException {
        if (service == null) {
            try {

                UserConfiguration userConfiguration = new UserConfiguration(
                        new SystemConfiguration(new DefaultConfiguration()));
                if (username == null)
                    username = userConfiguration.getRhlogin();

                authKey = getBrokerAuthKey();
                authIV = getBrokerAuthIV();
View Full Code Here

Examples of com.opensymphony.workflow.config.DefaultConfiguration

     * @return the unique workflow id
    private long createWorkflow() throws InvalidRoleException,
            InvalidInputException, WorkflowException {
        this.osWorkflowInstance = new BasicWorkflow(this.caller);
        DefaultConfiguration config = new DefaultConfiguration();
        long wfId = this.osWorkflowInstance.initialize(
                this.osWorkflowName, this.action, this.map);
        return wfId;
View Full Code Here

Examples of com.opensymphony.xwork2.config.impl.DefaultConfiguration

    ProfileService profileService = new ProfileServiceImpl();

    ObjectFactory of = new ObjectFactory();
    final DummyContainer mockContainer = new DummyContainer();
    Configuration configuration = new DefaultConfiguration() {
      public Container getContainer() {
        return mockContainer;
    PackageConfig strutsDefault = makePackageConfig("beangle", null, null, "dispatcher", null, null, null);
    configuration.addPackageConfig("beangle", strutsDefault);
    // ResultMapBuilder resultMapBuilder =
    // createStrictMock(ResultMapBuilder.class);
    // set beans on mock container
    // mockContainer.setResultMapBuilder(resultMapBuilder);
    // mockContainer.setConventionsService(new ConventionsServiceImpl(""));

    SmartActionConfigBuilder builder = new SmartActionConfigBuilder(configuration, mockContainer, of);
    Set<String> names = configuration.getPackageConfigNames();
    for (String a : names) {
      System.out.println("pkgname:" + a);
      PackageConfig pkgConfig = configuration.getPackageConfig(a);
      System.out.println("namespace:" + pkgConfig.getNamespace());
      Map<String, ActionConfig> configs = pkgConfig.getAllActionConfigs();
      for (String actionName : configs.keySet()) {
        ActionConfig config = configs.get(actionName);
View Full Code Here

Examples of com.puppycrawl.tools.checkstyle.DefaultConfiguration

        extends BaseCheckTestSupport
    public void testFP() throws Exception
        final DefaultConfiguration checkConfig =
        final String[] expected = {
        verify(checkConfig, getPath("javadoc/GuavaFP.java"), expected);
View Full Code Here

Examples of net.sourceforge.stripes.config.DefaultConfiguration

public class DefaultFormatterFactoryTest {
    @Test(groups = "fast")
    public void testFormatterSuperclass() throws Exception {
        DefaultFormatterFactory factory = new DefaultFormatterFactory();
        factory.init(new DefaultConfiguration());

        Locale locale = Locale.getDefault();
        Formatter<?> formatter;

        factory.add(A.class, AFormatter.class);
View Full Code Here

Examples of org.apache.accumulo.core.conf.DefaultConfiguration

  private static final Value ONE = new Value("1".getBytes());

  static void bulkLoadLots(Logger log, State state, Value value) throws Exception {
    final Path dir = new Path("/tmp", "bulk_" + UUID.randomUUID().toString());
    final Path fail = new Path(dir.toString() + "_fail");
    final DefaultConfiguration defaultConfiguration = AccumuloConfiguration.getDefaultConfiguration();
    final Random rand = (Random) state.get("rand");
    final FileSystem fs = (FileSystem) state.get("fs");
    final int parts = rand.nextInt(10) + 1;
View Full Code Here
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.