|
|
|
@ -19,7 +19,10 @@
|
|
|
|
public class ProtocolProviderServiceIrcImpl
|
|
|
|
public class ProtocolProviderServiceIrcImpl
|
|
|
|
extends AbstractProtocolProviderService
|
|
|
|
extends AbstractProtocolProviderService
|
|
|
|
{
|
|
|
|
{
|
|
|
|
private static final Logger logger
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Logger.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
private static final Logger LOGGER
|
|
|
|
= Logger.getLogger(ProtocolProviderServiceIrcImpl.class);
|
|
|
|
= Logger.getLogger(ProtocolProviderServiceIrcImpl.class);
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
@ -73,8 +76,8 @@ public class ProtocolProviderServiceIrcImpl
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public ProtocolProviderServiceIrcImpl()
|
|
|
|
public ProtocolProviderServiceIrcImpl()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (logger.isTraceEnabled())
|
|
|
|
if (LOGGER.isTraceEnabled())
|
|
|
|
logger.trace("Creating a irc provider.");
|
|
|
|
LOGGER.trace("Creating a irc provider.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
@ -300,8 +303,8 @@ public void shutdown()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (logger.isTraceEnabled())
|
|
|
|
if (LOGGER.isTraceEnabled())
|
|
|
|
logger.trace("Killing the Irc Protocol Provider.");
|
|
|
|
LOGGER.trace("Killing the Irc Protocol Provider.");
|
|
|
|
|
|
|
|
|
|
|
|
if(isRegistered())
|
|
|
|
if(isRegistered())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -318,7 +321,7 @@ public void shutdown()
|
|
|
|
catch (OperationFailedException ex)
|
|
|
|
catch (OperationFailedException ex)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//we're shutting down so we need to silence the exception here
|
|
|
|
//we're shutting down so we need to silence the exception here
|
|
|
|
logger.error(
|
|
|
|
LOGGER.error(
|
|
|
|
"Failed to properly unregister before shutting down. "
|
|
|
|
"Failed to properly unregister before shutting down. "
|
|
|
|
+ getAccountID()
|
|
|
|
+ getAccountID()
|
|
|
|
, ex);
|
|
|
|
, ex);
|
|
|
|
|