Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
36fe531
commit 61b6549
Showing
32 changed files
with
566 additions
and
126 deletions.
There are no files selected for viewing
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
21 changes: 0 additions & 21 deletions
21
core/src/main/java/org/infinispan/configuration/parsing/AbstractParserContext.java
This file was deleted.
Oops, something went wrong.
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
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
15 changes: 0 additions & 15 deletions
15
core/src/main/java/org/infinispan/configuration/parsing/ParserContext.java
This file was deleted.
Oops, something went wrong.
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
31 changes: 31 additions & 0 deletions
31
...in/java/org/infinispan/remoting/transport/jgroups/AbstractJGroupsChannelConfigurator.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,31 @@ | ||
package org.infinispan.remoting.transport.jgroups; | ||
|
||
|
||
import org.jgroups.JChannel; | ||
import org.jgroups.stack.Protocol; | ||
import org.jgroups.util.SocketFactory; | ||
|
||
/** | ||
* @author Tristan Tarrant <tristan@infinispan.org> | ||
* @since 13.0 | ||
**/ | ||
public abstract class AbstractJGroupsChannelConfigurator implements JGroupsChannelConfigurator { | ||
private SocketFactory socketFactory; | ||
|
||
@Override | ||
public void setSocketFactory(SocketFactory socketFactory) { | ||
this.socketFactory = socketFactory; | ||
} | ||
|
||
public SocketFactory getSocketFactory() { | ||
return socketFactory; | ||
} | ||
|
||
protected JChannel applySocketFactory(JChannel channel) { | ||
if (socketFactory != null) { | ||
Protocol protocol = channel.getProtocolStack().getTopProtocol(); | ||
protocol.setSocketFactory(socketFactory); | ||
} | ||
return channel; | ||
} | ||
} |
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
Oops, something went wrong.