it.geosolutions.jaiext
Class ConcurrentOperationRegistry.OperationItem

java.lang.Object
  extended by it.geosolutions.jaiext.ConcurrentOperationRegistry.OperationItem
Enclosing class:
ConcurrentOperationRegistry

public static class ConcurrentOperationRegistry.OperationItem
extends Object

The ConcurrentOperationRegistry.OperationItem class is a wrapper for the OperationDescriptor class which can store informations about the operations and the associated factory.

Author:
Nicola Lagomarsini GeoSolutions S.A.S.

Constructor Summary
ConcurrentOperationRegistry.OperationItem(ConcurrentOperationRegistry.OperationItem item)
           
ConcurrentOperationRegistry.OperationItem(javax.media.jai.OperationDescriptor op)
           
 
Method Summary
 Object getCurrentFactory()
          Returns the factory defined by the user.
 javax.media.jai.OperationDescriptor getDescriptor()
           
 Object getFactory()
           
 Object getMlibFactory()
           
 String getName()
           
 javax.media.jai.OperationDescriptor getOp()
           
 String getVendor()
           
 boolean isJAIEXTProduct()
          Indicates if the ConcurrentOperationRegistry.OperationItem operation is a JAI-EXT one
 boolean isMediaLibPreferred()
           
 void setFactory(Object factory)
           
 void setMlibFactory(Object factory)
           
 void setMlibPreference(boolean preferred)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConcurrentOperationRegistry.OperationItem

public ConcurrentOperationRegistry.OperationItem(javax.media.jai.OperationDescriptor op)

ConcurrentOperationRegistry.OperationItem

public ConcurrentOperationRegistry.OperationItem(ConcurrentOperationRegistry.OperationItem item)
Method Detail

getVendor

public String getVendor()

getName

public String getName()

getDescriptor

public javax.media.jai.OperationDescriptor getDescriptor()

getCurrentFactory

public Object getCurrentFactory()
Returns the factory defined by the user. If medialib is preferred, then the MediaLib factory is returned, otherwise the JAI default factory is returned.

Returns:

getFactory

public Object getFactory()

getMlibFactory

public Object getMlibFactory()

getOp

public javax.media.jai.OperationDescriptor getOp()

isMediaLibPreferred

public boolean isMediaLibPreferred()

setFactory

public void setFactory(Object factory)

setMlibFactory

public void setMlibFactory(Object factory)

setMlibPreference

public void setMlibPreference(boolean preferred)

isJAIEXTProduct

public boolean isJAIEXTProduct()
Indicates if the ConcurrentOperationRegistry.OperationItem operation is a JAI-EXT one

Returns:


Copyright © 2006–2015 GeoSolutions. All rights reserved.