* @return The instance value
*/
public static ILateralCacheListener getInstance( ILateralCacheAttributes ilca )
{
//throws IOException, NotBoundException
ILateralCacheListener ins = ( ILateralCacheListener ) instances.get( ilca.getUdpMulticastAddr() + ":" + ilca.getUdpMulticastPort() );
if ( ins == null )
{
synchronized ( LateralCacheUDPListener.class )
{
if ( ins == null )
{
ins = new LateralCacheUDPListener( ilca );
ins.init();
}
if ( log.isDebugEnabled() )
{
log.debug( "created new listener " + ilca.getUdpMulticastAddr() + ":" + ilca.getUdpMulticastPort() );
}