wip made remote ejb working over http
This commit is contained in:
parent
d4e537a2bf
commit
2a0d992642
393 changed files with 8916 additions and 3872 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<parent>
|
||||
<artifactId>vasc-backend</artifactId>
|
||||
<groupId>net.forwardfire.vasc</groupId>
|
||||
<version>0.3.5-SNAPSHOT</version>
|
||||
<version>0.4.1-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
<artifactId>vasc-backend-mongodb</artifactId>
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@ import net.forwardfire.vasc.backend.AbstractVascBackend;
|
|||
import net.forwardfire.vasc.backend.VascBackendState;
|
||||
import net.forwardfire.vasc.core.VascEntry;
|
||||
import net.forwardfire.vasc.core.VascEntryField;
|
||||
import net.forwardfire.vasc.core.VascException;
|
||||
import net.forwardfire.vasc.core.entry.VascEntryFieldValue;
|
||||
import net.forwardfire.vasc.core.entry.VascEntryRecordCreator;
|
||||
import net.forwardfire.vasc.core.VascException;
|
||||
|
||||
|
||||
import com.mongodb.DB;
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@
|
|||
package net.forwardfire.vasc.backend.mongodb;
|
||||
|
||||
import net.forwardfire.vasc.core.VascEntryField;
|
||||
import net.forwardfire.vasc.core.VascException;
|
||||
import net.forwardfire.vasc.core.entry.VascEntryFieldValue;
|
||||
import net.forwardfire.vasc.core.VascException;
|
||||
|
||||
|
||||
import com.mongodb.BasicDBObject;
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ package net.forwardfire.vasc.backend.mongodb;
|
|||
|
||||
import net.forwardfire.vasc.core.VascEntry;
|
||||
import net.forwardfire.vasc.core.entry.VascEntryRecordCreator;
|
||||
import net.forwardfire.vasc.core.VascException;
|
||||
|
||||
|
||||
import com.mongodb.BasicDBObject;
|
||||
|
|
@ -39,7 +40,7 @@ public class MongodbVascEntryRecordCreator implements VascEntryRecordCreator {
|
|||
|
||||
private static final long serialVersionUID = -9213830731796787384L;
|
||||
|
||||
public Object newRecord(VascEntry entry) throws Exception {
|
||||
public Object newRecord(VascEntry entry) throws VascException {
|
||||
return new BasicDBObject();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<eld:root xmlns:eld="http://eld.x4o.org/eld/eld-lang.eld">
|
||||
<eld:elementClass tag="mongodbBackend" objectClassName="net.forwardfire.vasc.backend.mongodb.MongodbVascBackend"/>
|
||||
<eld:elementClass tag="mongodbConnectionProvider" objectClassName="net.forwardfire.vasc.backend.mongodb.MongodbConnectionProviderImpl"/>
|
||||
</eld:root>
|
||||
<root:module
|
||||
xmlns="http://eld.x4o.org/xml/ns/eld-lang"
|
||||
xmlns:root="http://eld.x4o.org/xml/ns/eld-root"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://eld.x4o.org/xml/ns/eld-root http://eld.x4o.org/xml/ns/eld-root-1.0.xsd"
|
||||
providerName="vasc.forwardfire.net"
|
||||
name="Vasc Backend MongoDB"
|
||||
id="vasc-backend-mongodb"
|
||||
>
|
||||
<description>Provides VASC MongoDB backend support.</description>
|
||||
<namespace uri="http://vasc.forwardfire.net/xml/ns/vasc-backend-mongodb"
|
||||
schemaUri="http://vasc.forwardfire.net/xml/ns/vasc-backend-mongodb-1.0.xsd"
|
||||
schemaResource="vasc-backend-mongodb-1.0.xsd"
|
||||
schemaPrefix="mongo"
|
||||
name="Vasc Backend MongoDB"
|
||||
id="ns-vasc-backend-mongodb"
|
||||
>
|
||||
<description>Provides backend and connection provider support.</description>
|
||||
<element tag="mongodbBackend" objectClass="net.forwardfire.vasc.backend.mongodb.MongodbVascBackend"/>
|
||||
<element tag="mongodbConnectionProvider" objectClass="net.forwardfire.vasc.backend.mongodb.MongodbConnectionProviderImpl"/>
|
||||
</namespace>
|
||||
</root:module>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<modules version="1.0"
|
||||
xmlns="http://language.x4o.org/xml/ns/modules"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://language.x4o.org/xml/ns/modules http://language.x4o.org/xml/ns/modules-1.0.xsd"
|
||||
>
|
||||
<language version="1.0">
|
||||
<eld-resource>vasc-backend-mongodb.eld</eld-resource>
|
||||
</language>
|
||||
</modules>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
|
||||
<properties>
|
||||
<comment>
|
||||
Vasc namespace for the mongodb backend
|
||||
</comment>
|
||||
<entry key="eld.http://vasc.forwardfire.net/eld/vasc-backend-mongodb.eld">vasc-backend-mongodb.eld</entry>
|
||||
</properties>
|
||||
Loading…
Add table
Add a link
Reference in a new issue