Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[JBTM-2730] Not using system default encoding but UTF-8

Fix of static analysis bug

21994 Dm: Dubious method used In org.jboss.narayana.osgi.jta.internal.ObjStoreBrowserImpl.ObjStoreBrowserImpl

(com.arjuna.ats.arjuna.tools.osb.mbean.ObjStoreBrowser):

Found a call to a method which will perform a byte to String (or String

to byte) conversion, and will assume that the default platform encoding

is suitable)

Any conversion from byt and char should not use default platform

encoding. With default encoding code behaves differently depending

platform it runs on. Especially it's harmfull when data flows from one

platform to another.

Using UTF-8 as default.

    • -1
    • +9
    ./jta/internal/ObjStoreBrowserImpl.java
  1. … 31 more files in changeset.
JBTM-2624 Update to support the admin commands in the karaf shell

    • -0
    • +44
    ./jta/ObjStoreBrowserService.java
    • -0
    • +50
    ./jta/command/AttachCommand.java
    • -0
    • +50
    ./jta/command/DeleteCommand.java
    • -0
    • +46
    ./jta/command/DetachCommand.java
    • -0
    • +50
    ./jta/command/ForgetCommand.java
    • -0
    • +51
    ./jta/command/ListCommand.java
    • -0
    • +46
    ./jta/command/ProbeCommand.java
    • -0
    • +50
    ./jta/command/SelectCommand.java
    • -0
    • +52
    ./jta/command/TypesCommand.java
    • -0
    • +281
    ./jta/internal/ObjStoreBrowserImpl.java
  1. … 3 more files in changeset.
[JBTM-2556] Add a property to the OSGi services so that consumers can discriminate which transaction manager they want to use.

[JBTM-2557] Support Spring PlatformTransactionManager inside OSGi

    • -0
    • +108
    ./jta/internal/PlatformTransactionManagerImple.java
  1. … 1 more file in changeset.
[JBTM-2556] Improve OSGi integration - support configuration using ConfigAdmin - track org.jboss.tm.XAResourceRecovery services for recovery

In order to support correctly stopping / restarting / reconfiguring the transaction manager, we build our own class loader to load the core jars.

This ensure that all static fields will be correctly reloaded when starting again after configuration change.

    • -18
    • +132
    ./jta/internal/Activator.java
    • -0
    • +205
    ./jta/internal/OsgiServer.java
    • -0
    • +60
    ./jta/internal/OsgiTransactionManager.java
  1. … 7 more files in changeset.
JBTM-2163 Update to add narayana jta bundle and feature

    • -0
    • +60
    ./jta/internal/Activator.java
  1. … 11 more files in changeset.