it.geosolutions.jaiext
Class JAIExt

java.lang.Object
  extended by it.geosolutions.jaiext.JAIExt

public class JAIExt
extends Object

Utility class used for registering and unregistering JAI and JAI-EXT operations.

Author:
Nicola Lagomarsini - GeoSolutions

Method Summary
static List<ConcurrentOperationRegistry.OperationItem> getJAIEXTOperations()
          Get a List of the available JAI-EXT operations
static List<ConcurrentOperationRegistry.OperationItem> getOperations()
          Gets a List of all the operations currently registered.
static ConcurrentOperationRegistry getRegistry()
          Returns the current ConcurrentOperationRegistry used.
static void initJAIEXT(ConcurrentOperationRegistry registry)
          Initialization of the JAIExt instance
static void registerJAIDescriptor(String descriptorName)
          This method unregister a JAI-EXT operation and register the related JAI one
static void registerJAIEXTDescriptor(String descriptorName)
          This method unregister a JAI operation and register the related JAI-EXT one
static void setJAIAcceleration(String descriptorName, boolean accelerated)
          This method sets/unsets the netive acceleration for a JAI operation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

initJAIEXT

public static void initJAIEXT(ConcurrentOperationRegistry registry)
Initialization of the JAIExt instance


registerJAIEXTDescriptor

public static void registerJAIEXTDescriptor(String descriptorName)
This method unregister a JAI operation and register the related JAI-EXT one

Parameters:
descriptorName -

registerJAIDescriptor

public static void registerJAIDescriptor(String descriptorName)
This method unregister a JAI-EXT operation and register the related JAI one

Parameters:
descriptorName -

setJAIAcceleration

public static void setJAIAcceleration(String descriptorName,
                                      boolean accelerated)
This method sets/unsets the netive acceleration for a JAI operation

Parameters:
descriptorName -
accelerated -

getOperations

public static List<ConcurrentOperationRegistry.OperationItem> getOperations()
Gets a List of all the operations currently registered.

Returns:

getJAIEXTOperations

public static List<ConcurrentOperationRegistry.OperationItem> getJAIEXTOperations()
Get a List of the available JAI-EXT operations

Returns:

getRegistry

public static ConcurrentOperationRegistry getRegistry()
Returns the current ConcurrentOperationRegistry used.

Returns:


Copyright © 2006–2015 GeoSolutions. All rights reserved.