forked from wildfly/wildfly
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add default DataSource integration for JAXR subsystem
- Loading branch information
1 parent
34e7590
commit 7a05c81
Showing
10 changed files
with
1,137 additions
and
135 deletions.
There are no files selected for viewing
9 changes: 4 additions & 5 deletions
9
build/src/main/resources/modules/org/jboss/as/jaxr/main/module.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
<module xmlns="urn:jboss:module:1.0" name="jaxr"> | ||
<module xmlns="urn:jboss:module:1.0" name="org.jboss.as.jaxr"> | ||
<resources> | ||
<!-- Insert resources here --> | ||
</resources> | ||
|
||
<dependencies> | ||
<module name="javax.api"/> | ||
<module name="org.jboss.staxmapper"/> | ||
<module name="org.jboss.as.controller"/> | ||
<module name="org.jboss.as.naming"/> | ||
<module name="org.jboss.as.server"/> | ||
<module name="org.jboss.modules"/> | ||
<module name="org.jboss.msc"/> | ||
<module name="org.jboss.logging"/> | ||
<module name="org.jboss.vfs"/> | ||
<module name="org.jboss.msc"/> | ||
<module name="org.jboss.staxmapper"/> | ||
</dependencies> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
jaxr/src/main/java/org/jboss/as/jaxr/service/JAXRConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
/* | ||
* JBoss, Home of Professional Open Source. | ||
* Copyright 2010, Red Hat, Inc., and individual contributors | ||
* as indicated by the @author tags. See the copyright.txt file in the | ||
* distribution for a full listing of individual contributors. | ||
* | ||
* This is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU Lesser General Public License as | ||
* published by the Free Software Foundation; either version 2.1 of | ||
* the License, or (at your option) any later version. | ||
* | ||
* This software is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this software; if not, write to the Free | ||
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
* 02110-1301 USA, or see the FSF site: http://www.fsf.org. | ||
*/ | ||
|
||
package org.jboss.as.jaxr.service; | ||
|
||
import org.jboss.msc.service.ServiceName; | ||
|
||
/** | ||
* The configuration of the JAXR subsystem. | ||
* | ||
* [TODO] AS7-2278 JAXR configuration through the domain model | ||
* | ||
* @author Thomas.Diesler@jboss.com | ||
* @since 26-Oct-2011 | ||
*/ | ||
public class JAXRConfiguration { | ||
|
||
public static final ServiceName SERVICE_BASE_NAME = ServiceName.JBOSS.append("jaxr", "as"); | ||
public static final ServiceName JUDDI_SERVICE_NAME = SERVICE_BASE_NAME.append("service"); | ||
|
||
// Should all tables be created on Start | ||
private boolean createOnStart=true; | ||
// Should all tables be dropped on Stop | ||
private boolean dropOnStop=true; | ||
// Should all tables be dropped on Start | ||
private boolean dropOnStart=true; | ||
// Datasource to Database | ||
private String dataSourceUrl="java:jboss/datasources/ExampleDS"; | ||
// Alias to the registry | ||
private String registryOperator="RegistryOperator"; | ||
// Should I bind a Context to which JaxrConnectionFactory bound | ||
private boolean bindJaxr=true; | ||
// Context to which JaxrConnectionFactory to bind to | ||
private String namingContext ="java:/JAXR"; | ||
|
||
boolean isDropOnStop() { | ||
return dropOnStop; | ||
} | ||
|
||
boolean isDropOnStart() { | ||
return dropOnStart; | ||
} | ||
|
||
String getDataSourceUrl() { | ||
return dataSourceUrl; | ||
} | ||
|
||
String getRegistryOperator() { | ||
return registryOperator; | ||
} | ||
|
||
boolean isBindJaxr() { | ||
return bindJaxr; | ||
} | ||
|
||
String getNamingContext() { | ||
return namingContext; | ||
} | ||
|
||
boolean isCreateOnStart() { | ||
return createOnStart; | ||
} | ||
} |
83 changes: 0 additions & 83 deletions
83
jaxr/src/main/java/org/jboss/as/jaxr/service/JAXRServerService.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.