| java.lang.Object javax.media.jai.OperationRegistry javax.media.jai.ThreadSafeOperationRegistry
ThreadSafeOperationRegistry | final class ThreadSafeOperationRegistry extends OperationRegistry (Code) | | A wrapper class on OperationRegistry which is
thread safe. Every method is wrapped with an appropriate read
or a write lock. Exceptions are caught and the lock is released
before the exception is re-thrown.
since: JAI 1.1 |
Method Summary | |
public void | addPropertyGenerator(String modeName, String descriptorName, PropertyGenerator generator) | public void | clearFactoryPreferences(String modeName, String descriptorName, String productName) | public void | clearOperationPreferences(String operationName, String productName) | public void | clearProductPreferences(String modeName, String descriptorName) | public void | clearPropertyState(String modeName) | public void | copyPropertyFromSource(String modeName, String descriptorName, String propertyName, int sourceIndex) | public RegistryElementDescriptor | getDescriptor(Class descriptorClass, String descriptorName) | public RegistryElementDescriptor | getDescriptor(String modeName, String descriptorName) | public String[] | getDescriptorNames(Class descriptorClass) | public String[] | getDescriptorNames(String modeName) | public List | getDescriptors(Class descriptorClass) | public List | getDescriptors(String modeName) | public Object | getFactory(String modeName, String descriptorName) | public Iterator | getFactoryIterator(String modeName, String descriptorName) | public Object[][] | getFactoryPreferences(String modeName, String descriptorName, String productName) | public String[] | getGeneratedPropertyNames(String modeName, String descriptorName) | public List | getOrderedFactoryList(String modeName, String descriptorName, String productName) | public Vector | getOrderedProductList(String modeName, String descriptorName) | public String[][] | getProductPreferences(String modeName, String descriptorName) | public PropertySource | getPropertySource(String modeName, String descriptorName, Object op, Vector sources) | public PropertySource | getPropertySource(OperationNode op) | public String[] | getRegistryModes() | public void | initializeFromStream(InputStream in) | public Object | invokeFactory(String modeName, String descriptorName, Object[] args) | public void | readExternal(ObjectInput in) | public void | registerDescriptor(RegistryElementDescriptor descriptor) | public void | registerFactory(String modeName, String descriptorName, String productName, Object factory) | public void | registerServices(ClassLoader cl) | public void | removePropertyGenerator(String modeName, String descriptorName, PropertyGenerator generator) | public void | removeRegistryMode(String modeName) | public void | setFactoryPreference(String modeName, String descriptorName, String productName, Object preferredOp, Object otherOp) | public void | setProductPreference(String modeName, String descriptorName, String preferredProductName, String otherProductName) | public void | suppressAllProperties(String modeName, String descriptorName) | public void | suppressProperty(String modeName, String descriptorName, String propertyName) | public String | toString() | public void | unregisterDescriptor(RegistryElementDescriptor descriptor) | public void | unregisterFactory(String modeName, String descriptorName, String productName, Object factory) | public void | unregisterOperationDescriptor(String operationName) | public void | unsetFactoryPreference(String modeName, String descriptorName, String productName, Object preferredOp, Object otherOp) | public void | unsetProductPreference(String modeName, String descriptorName, String preferredProductName, String otherProductName) | public void | updateFromStream(InputStream in) | public void | writeExternal(ObjectOutput out) | public void | writeToStream(OutputStream out) |
ThreadSafeOperationRegistry | public ThreadSafeOperationRegistry()(Code) | | |
clearFactoryPreferences | public void clearFactoryPreferences(String modeName, String descriptorName, String productName)(Code) | | |
clearOperationPreferences | public void clearOperationPreferences(String operationName, String productName)(Code) | | |
clearProductPreferences | public void clearProductPreferences(String modeName, String descriptorName)(Code) | | |
clearPropertyState | public void clearPropertyState(String modeName)(Code) | | |
copyPropertyFromSource | public void copyPropertyFromSource(String modeName, String descriptorName, String propertyName, int sourceIndex)(Code) | | |
removeRegistryMode | public void removeRegistryMode(String modeName)(Code) | | NEW JAI 1.1 methods ************************
|
setProductPreference | public void setProductPreference(String modeName, String descriptorName, String preferredProductName, String otherProductName)(Code) | | |
suppressAllProperties | public void suppressAllProperties(String modeName, String descriptorName)(Code) | | |
unregisterOperationDescriptor | public void unregisterOperationDescriptor(String operationName)(Code) | | DEPRECATED METHODS ************************
|
unsetProductPreference | public void unsetProductPreference(String modeName, String descriptorName, String preferredProductName, String otherProductName)(Code) | | |
Methods inherited from javax.media.jai.OperationRegistry | public void addPropertyGenerator(String modeName, String descriptorName, PropertyGenerator generator)(Code)(Java Doc) public void addPropertyGenerator(String operationName, PropertyGenerator generator)(Code)(Java Doc) public void clearCIFPreferences(String operationName, String productName)(Code)(Java Doc) public void clearFactoryPreferences(String modeName, String descriptorName, String productName)(Code)(Java Doc) public void clearOperationPreferences(String operationName, String productName)(Code)(Java Doc) public void clearProductPreferences(String modeName, String descriptorName)(Code)(Java Doc) public void clearProductPreferences(String operationName)(Code)(Java Doc) public void clearPropertyState(String modeName)(Code)(Java Doc) public void clearPropertyState()(Code)(Java Doc) public void clearRIFPreferences(String operationName, String productName)(Code)(Java Doc) public void copyPropertyFromSource(String modeName, String descriptorName, String propertyName, int sourceIndex)(Code)(Java Doc) public void copyPropertyFromSource(String operationName, String propertyName, int sourceIndex)(Code)(Java Doc) public PlanarImage create(String operationName, ParameterBlock paramBlock, RenderingHints renderHints)(Code)(Java Doc) public CollectionImage createCollection(String operationName, ParameterBlock args, RenderingHints hints)(Code)(Java Doc) public ContextualRenderedImageFactory createRenderable(String operationName, ParameterBlock paramBlock)(Code)(Java Doc) public RegistryElementDescriptor getDescriptor(Class descriptorClass, String descriptorName)(Code)(Java Doc) public RegistryElementDescriptor getDescriptor(String modeName, String descriptorName)(Code)(Java Doc) public String[] getDescriptorNames(Class descriptorClass)(Code)(Java Doc) public String[] getDescriptorNames(String modeName)(Code)(Java Doc) public List getDescriptors(Class descriptorClass)(Code)(Java Doc) public List getDescriptors(String modeName)(Code)(Java Doc) public Object getFactory(String modeName, String descriptorName)(Code)(Java Doc) public Iterator getFactoryIterator(String modeName, String descriptorName)(Code)(Java Doc) public Object[][] getFactoryPreferences(String modeName, String descriptorName, String productName)(Code)(Java Doc) public String[] getGeneratedPropertyNames(String modeName, String descriptorName)(Code)(Java Doc) public String[] getGeneratedPropertyNames(String operationName)(Code)(Java Doc) String getLocalName(String modeName, Object factoryInstance)(Code)(Java Doc) public OperationDescriptor getOperationDescriptor(String operationName)(Code)(Java Doc) public Vector getOperationDescriptors()(Code)(Java Doc) public String[] getOperationNames()(Code)(Java Doc) public Vector getOrderedCIFList(String operationName, String productName)(Code)(Java Doc) public List getOrderedFactoryList(String modeName, String descriptorName, String productName)(Code)(Java Doc) public Vector getOrderedProductList(String modeName, String descriptorName)(Code)(Java Doc) public Vector getOrderedProductList(String operationName)(Code)(Java Doc) public Vector getOrderedRIFList(String operationName, String productName)(Code)(Java Doc) public String[][] getProductPreferences(String modeName, String descriptorName)(Code)(Java Doc) public String[][] getProductPreferences(String operationName)(Code)(Java Doc) public PropertySource getPropertySource(String modeName, String descriptorName, Object op, Vector sources)(Code)(Java Doc) public PropertySource getPropertySource(OperationNode op)(Code)(Java Doc) public PropertySource getPropertySource(RenderedOp op)(Code)(Java Doc) public PropertySource getPropertySource(RenderableOp op)(Code)(Java Doc) public String[] getRegistryModes()(Code)(Java Doc) public static OperationRegistry getThreadSafeOperationRegistry()(Code)(Java Doc) public void initializeFromStream(InputStream in) throws IOException(Code)(Java Doc) static OperationRegistry initializeRegistry()(Code)(Java Doc) public Object invokeFactory(String modeName, String descriptorName, Object[] args)(Code)(Java Doc) public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException(Code)(Java Doc) public void registerCIF(String operationName, String productName, CollectionImageFactory CIF)(Code)(Java Doc) public void registerCRIF(String operationName, ContextualRenderedImageFactory CRIF)(Code)(Java Doc) public void registerDescriptor(RegistryElementDescriptor descriptor)(Code)(Java Doc) public void registerFactory(String modeName, String descriptorName, String productName, Object factory)(Code)(Java Doc) public void registerOperationDescriptor(OperationDescriptor odesc, String operationName)(Code)(Java Doc) public void registerRIF(String operationName, String productName, RenderedImageFactory RIF)(Code)(Java Doc) public void registerServices(ClassLoader cl) throws IOException(Code)(Java Doc) public void removePropertyGenerator(String modeName, String descriptorName, PropertyGenerator generator)(Code)(Java Doc) public void removePropertyGenerator(String operationName, PropertyGenerator generator)(Code)(Java Doc) public void removeRegistryMode(String modeName)(Code)(Java Doc) public void setCIFPreference(String operationName, String productName, CollectionImageFactory preferredCIF, CollectionImageFactory otherCIF)(Code)(Java Doc) public void setFactoryPreference(String modeName, String descriptorName, String productName, Object preferredOp, Object otherOp)(Code)(Java Doc) public void setProductPreference(String modeName, String descriptorName, String preferredProductName, String otherProductName)(Code)(Java Doc) public void setProductPreference(String operationName, String preferredProductName, String otherProductName)(Code)(Java Doc) public void setRIFPreference(String operationName, String productName, RenderedImageFactory preferredRIF, RenderedImageFactory otherRIF)(Code)(Java Doc) public void suppressAllProperties(String modeName, String descriptorName)(Code)(Java Doc) public void suppressAllProperties(String operationName)(Code)(Java Doc) public void suppressProperty(String modeName, String descriptorName, String propertyName)(Code)(Java Doc) public void suppressProperty(String operationName, String propertyName)(Code)(Java Doc) public String toString()(Code)(Java Doc) public void unregisterCIF(String operationName, String productName, CollectionImageFactory CIF)(Code)(Java Doc) public void unregisterCRIF(String operationName, ContextualRenderedImageFactory CRIF)(Code)(Java Doc) public void unregisterDescriptor(RegistryElementDescriptor descriptor)(Code)(Java Doc) public void unregisterFactory(String modeName, String descriptorName, String productName, Object factory)(Code)(Java Doc) public void unregisterOperationDescriptor(String operationName)(Code)(Java Doc) public void unregisterRIF(String operationName, String productName, RenderedImageFactory RIF)(Code)(Java Doc) public void unsetCIFPreference(String operationName, String productName, CollectionImageFactory preferredCIF, CollectionImageFactory otherCIF)(Code)(Java Doc) public void unsetFactoryPreference(String modeName, String descriptorName, String productName, Object preferredOp, Object otherOp)(Code)(Java Doc) public void unsetProductPreference(String modeName, String descriptorName, String preferredProductName, String otherProductName)(Code)(Java Doc) public void unsetProductPreference(String operationName, String preferredProductName, String otherProductName)(Code)(Java Doc) public void unsetRIFPreference(String operationName, String productName, RenderedImageFactory preferredRIF, RenderedImageFactory otherRIF)(Code)(Java Doc) public void updateFromStream(InputStream in) throws IOException(Code)(Java Doc) public void writeExternal(ObjectOutput out) throws IOException(Code)(Java Doc) public void writeToStream(OutputStream out) throws IOException(Code)(Java Doc)
|
|
|