Package com.atomikos.icatch

Examples of com.atomikos.icatch.TSListener


    private void notifyListeners ( boolean init , boolean before )
    {
       
        Enumeration enumm = listeners_.elements ();
        while ( enumm.hasMoreElements () ) {
            TSListener l = (TSListener) enumm.nextElement ();
            try {
              if ( init ) {
                  l.init ( before , properties_ );
              } else {
                  l.shutdown ( before );
              }
            }
            catch ( Exception e ) {
                Configuration.logWarning ( "Error in TSListener" , e );
            }
View Full Code Here


            TransactionService service )
    {
        service_ = service;
        Iterator it = tsListenersList_.iterator ();
        while ( it.hasNext () && service != null ) {
            TSListener l = (TSListener) it.next ();
            service_.addTSListener ( l );
        }
    }
View Full Code Here

    private void notifyListeners ( boolean init , boolean before )
    {

        Enumeration enumm = tsListeners_.elements ();
        while ( enumm.hasMoreElements () ) {
            TSListener l = (TSListener) enumm.nextElement ();
            try {
              if ( init ) {
                  l.init ( before , initProperties_ );
              } else {
                  l.shutdown ( before );
              }
            }
            catch ( Exception e ) {
                LOGGER.logWarning ( "Error in TSListener" , e );
            }
View Full Code Here

    {
        service_ = service;
        addAllTSListenerServicesFromClasspath();
        Iterator it = tsListenersList_.iterator ();
        while ( it.hasNext () && service != null ) {
            TSListener l = (TSListener) it.next ();
            service_.addTSListener ( l );
        }
    }
View Full Code Here

          LogAdministrator nxt = ( LogAdministrator ) it.next();
          registerLogAdministrator ( nxt );
        }
        it = tsListeners_.iterator();
        while ( it.hasNext() ) {
          TSListener nxt = ( TSListener ) it.next();
          registerTSListener ( nxt );
        }
        delegate_.init ( info );
    }
View Full Code Here

          LogAdministrator nxt = ( LogAdministrator ) it.next();
          registerLogAdministrator ( nxt );
        }
        it = tsListeners_.iterator();
        while ( it.hasNext() ) {
          TSListener nxt = ( TSListener ) it.next();
          registerTSListener ( nxt );
        }
        delegate_.init ( info );
    }
View Full Code Here

    private void notifyListeners ( boolean init , boolean before )
    {
       
        Enumeration enumm = listeners_.elements ();
        while ( enumm.hasMoreElements () ) {
            TSListener l = (TSListener) enumm.nextElement ();
            try {
              if ( init ) {
                  l.init ( before , properties_ );
              } else {
                  l.shutdown ( before );
              }
            }
            catch ( Exception e ) {
                Configuration.logWarning ( "Error in TSListener" , e );
            }
View Full Code Here

            TransactionService service )
    {
        service_ = service;
        Iterator it = tsListenersList_.iterator ();
        while ( it.hasNext () && service != null ) {
            TSListener l = (TSListener) it.next ();
            service_.addTSListener ( l );
        }
    }
View Full Code Here

          LogAdministrator nxt = ( LogAdministrator ) it.next();
          registerLogAdministrator ( nxt );
        }
        it = tsListeners_.iterator();
        while ( it.hasNext() ) {
          TSListener nxt = ( TSListener ) it.next();
          registerTSListener ( nxt );
        }
        delegate_.init ( info );
    }
View Full Code Here

          LogAdministrator nxt = ( LogAdministrator ) it.next();
          registerLogAdministrator ( nxt );
        }
        it = tsListeners_.iterator();
        while ( it.hasNext() ) {
          TSListener nxt = ( TSListener ) it.next();
          registerTSListener ( nxt );
        }
        delegate_.init ( info );
    }
View Full Code Here

TOP

Related Classes of com.atomikos.icatch.TSListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.