Skip to content

Commit

Permalink
Arreglos
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbva committed Feb 19, 2016
1 parent 1be67a8 commit 76a1418
Show file tree
Hide file tree
Showing 277 changed files with 18,705 additions and 18,705 deletions.
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
**/target/**
*.class
target
*.releaseBackup
release.properties
/nbactions.xml
**/target/**
*.class
target
*.releaseBackup
release.properties
/nbactions.xml
/bridje-cfg/nbproject/
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: java
jdk:
- oraclejdk8

script: mvn -Dgpg.skip=true test
language: java
jdk:
- oraclejdk8

script: mvn -Dgpg.skip=true test
404 changes: 202 additions & 202 deletions LICENSE

Large diffs are not rendered by default.

88 changes: 44 additions & 44 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
[![Build Status](https://travis-ci.org/bridje/bridje-framework.svg?branch=master)](https://travis-ci.org/bridje/bridje-framework)

Introduction
============

This package contains the Bridje Java Applications Framework. A project providing Java API for building Fast, Roboust Java Aplications with Maven.
The project is licensed under the Apache License:

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependencies
============

The project libraries can be use without dependencies.

Installation and Usage
======================

Bridje Core library is availables on the Maven Central Repository

<dependencies>
....
<dependency>
<groupId>org.bridje</groupId>
<artifactId>bridje-ioc</artifactId>
<version>0.1.2</version>
</dependency>
....
</dependencies>

About the Project
=================

The project provides a set of tools for creating Java Applications.
[![Build Status](https://travis-ci.org/bridje/bridje-framework.svg?branch=master)](https://travis-ci.org/bridje/bridje-framework)

Introduction
============

This package contains the Bridje Java Applications Framework. A project providing Java API for building Fast, Roboust Java Aplications with Maven.
The project is licensed under the Apache License:

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependencies
============

The project libraries can be use without dependencies.

Installation and Usage
======================

Bridje Core library is availables on the Maven Central Repository

<dependencies>
....
<dependency>
<groupId>org.bridje</groupId>
<artifactId>bridje-ioc</artifactId>
<version>0.1.2</version>
</dependency>
....
</dependencies>

About the Project
=================

The project provides a set of tools for creating Java Applications.
58 changes: 29 additions & 29 deletions bridje-cfg/pom.xml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.bridje</groupId>
<artifactId>bridje-parent</artifactId>
<version>0.1.3-SNAPSHOT</version>
</parent>

<artifactId>bridje-cfg</artifactId>

<name>Bridje Cfg</name>
<description>Bridje Cfg API</description>
<url>http://www.bridje.org</url>

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bridje-ioc</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.bridje</groupId>
<artifactId>bridje-parent</artifactId>
<version>0.1.3-SNAPSHOT</version>
</parent>

<artifactId>bridje-cfg</artifactId>

<name>Bridje Cfg</name>
<description>Bridje Cfg API</description>
<url>http://www.bridje.org</url>

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>bridje-ioc</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>
116 changes: 58 additions & 58 deletions bridje-cfg/src/main/java/org/bridje/cfg/ConfigRepository.java
Original file line number Diff line number Diff line change
@@ -1,58 +1,58 @@
/*
* Copyright 2015 Bridje Framework.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.bridje.cfg;

import java.io.IOException;
import java.io.Reader;
import java.io.Writer;

/**
* An interface that every configuration repository must implements.
*
* The ConfigService will use all the config repositories components to find and
* saves configurations.
*/
public interface ConfigRepository
{
/**
* Obtains a reader to the configuration resource by the given name.
*
* @param configName The name of the configuration.
* @return A Reader from wich to read the configuracion instance.
* @throws java.io.IOException If any IOException occurs during configuration retreval.
*/
Reader findConfig(String configName) throws IOException;

/**
* Obtains a writer to the configuration resource by the given name.
*
* @param configName The name for this configuration instance.
* @return The writer in wich to put the new configuration instance,
* or null if this repository does not allows configuration saving.
* @throws java.io.IOException If any IOException occurs during configuration saving.
*/
Writer saveConfig(String configName) throws IOException;

/**
* Especifies when ever this repository allows to save configuration
* instances or not.
*
* @return true this repository allows to save configuration instances,
* false otherwise.
*/
boolean canSave();
}
/*
* Copyright 2015 Bridje Framework.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.bridje.cfg;

import java.io.IOException;
import java.io.Reader;
import java.io.Writer;

/**
* An interface that every configuration repository must implements.
*
* The ConfigService will use all the config repositories components to find and
* saves configurations.
*/
public interface ConfigRepository
{
/**
* Obtains a reader to the configuration resource by the given name.
*
* @param configName The name of the configuration.
* @return A Reader from wich to read the configuracion instance.
* @throws java.io.IOException If any IOException occurs during configuration retreval.
*/
Reader findConfig(String configName) throws IOException;

/**
* Obtains a writer to the configuration resource by the given name.
*
* @param configName The name for this configuration instance.
* @return The writer in wich to put the new configuration instance,
* or null if this repository does not allows configuration saving.
* @throws java.io.IOException If any IOException occurs during configuration saving.
*/
Writer saveConfig(String configName) throws IOException;

/**
* Especifies when ever this repository allows to save configuration
* instances or not.
*
* @return true this repository allows to save configuration instances,
* false otherwise.
*/
boolean canSave();
}
Loading

0 comments on commit 76a1418

Please sign in to comment.