Author: david.lloyd(a)jboss.com
Date: 2010-03-02 17:32:34 -0500 (Tue, 02 Mar 2010)
New Revision: 5788
Modified:
remoting-mc-int/trunk/src/main/java/org/jboss/remoting3/metadata/RemotingMetaData.java
Log:
Fix swapped method arguments
Modified:
remoting-mc-int/trunk/src/main/java/org/jboss/remoting3/metadata/RemotingMetaData.java
===================================================================
---
remoting-mc-int/trunk/src/main/java/org/jboss/remoting3/metadata/RemotingMetaData.java 2010-03-02
21:49:26 UTC (rev 5787)
+++
remoting-mc-int/trunk/src/main/java/org/jboss/remoting3/metadata/RemotingMetaData.java 2010-03-02
22:32:34 UTC (rev 5788)
@@ -112,7 +112,7 @@
for (ServiceMetaData service : services) {
final String type = service.getType();
final String groupName = defaulted(service.getGroupName(),
"default");
- final BeanMetaDataBuilder builder =
BeanMetaDataBuilder.createBuilder(ServiceManager.class.getName(), "Remoting:" +
endpoint + ":SERVICE:" + type + ":" + groupName);
+ final BeanMetaDataBuilder builder =
BeanMetaDataBuilder.createBuilder("Remoting:" + endpoint + ":SERVICE:"
+ type + ":" + groupName, ServiceManager.class.getName());
builder.ignoreCreate();
builder.ignoreDestroy();
builder.setStart("start");
@@ -130,7 +130,7 @@
}
for (LocalClientMetaData localClient : localClients) {
final String name = localClient.getName();
- final BeanMetaDataBuilder builder =
BeanMetaDataBuilder.createBuilder(Client.class.getName(), name);
+ final BeanMetaDataBuilder builder = BeanMetaDataBuilder.createBuilder(name,
Client.class.getName());
builder.ignoreCreate();
builder.ignoreDestroy();
builder.ignoreStart();
@@ -144,7 +144,7 @@
}
for (ServerMetaData server : servers) {
final String name = server.getName();
- final BeanMetaDataBuilder builder =
BeanMetaDataBuilder.createBuilder(ChannelListener.class.getName(), name);
+ final BeanMetaDataBuilder builder = BeanMetaDataBuilder.createBuilder(name,
ChannelListener.class.getName());
builder.ignoreCreate();
builder.ignoreDestroy();
builder.ignoreStart();
@@ -158,7 +158,7 @@
}
for (ConnectionMetaData connection : connections) {
final String name = connection.getName();
- final BeanMetaDataBuilder builder =
BeanMetaDataBuilder.createBuilder(Connection.class.getName(), name);
+ final BeanMetaDataBuilder builder = BeanMetaDataBuilder.createBuilder(name,
Connection.class.getName());
builder.ignoreCreate();
builder.ignoreDestroy();
builder.ignoreStart();
@@ -184,7 +184,7 @@
}
for (EndpointMetaData endpointMetaData : endpoints) {
final String name = endpointMetaData.getName();
- final BeanMetaDataBuilder builder =
BeanMetaDataBuilder.createBuilder(Endpoint.class.getName(), "Remoting:ENDPOINT:"
+ name);
+ final BeanMetaDataBuilder builder =
BeanMetaDataBuilder.createBuilder("Remoting:ENDPOINT:" + name,
Endpoint.class.getName());
if (endpointMetaData.isDefaultFlag()) {
builder.addAlias("Remoting:DEFAULT-ENDPOINT");
}
Show replies by date