Java Doc for RemoteDescriptor.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » javax » media » jai » remote » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » Java Advanced Imaging » javax.media.jai.remote 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.media.jai.remote.RemoteDescriptor

All known Subclasses:   javax.media.jai.remote.RemoteDescriptorImpl,
RemoteDescriptor
public interface RemoteDescriptor extends RegistryElementDescriptor(Code)
This interface provides a description of a specific remote imaging protocol. Information regarding the remote imaging protocol such as its name, the list of operations supported on a particular server, the capabilities of a server implementing this protocol, human readable documentation detailing how the String identifying the server is structured should all be provided through this interface. Each remote imaging protocol registered with the OperationRegistry must have a RemoteDescriptor.

Any implementation of the getName method of RegistryElementDescriptor is expected to return the name of the remote imaging protocol. This is the name under which this RemoteDescriptor will be registered in the OperationRegistry.

There are two RegistryModes associated with remote imaging. The first is "remoteRendered" which signifies that the remote imaging operations lie in the rendered mode, the other is "remoteRenderable" which signifies that the remote imaging operations lie in the renderable domain and deal with renderable operations.

The getServerCapabilities() method returns the capabilities of the specified server. This information may already be known by virtue of being specified in the imaging protocol, or may have to be determined from the server, in which case, the implementation must communicate with the server to get this information. To get the capabilities of the client, the getClientCapabilities() method, which exists on RemoteRIF can be used. The reason for the getClientCapabilities method being defined on the RemoteRIF instead of on the RemoteDescriptor is that the descriptor does not have any way to reference the client. Thus there is no way for the descriptor to report the client capabilities. On the other hand, the RemoteRIF is the factory that creates the client, and therefore can be expected to either know or determine the capabilities of the client.
See Also:   javax.media.jai.registry.RemoteRenderedRegistryMode
See Also:   javax.media.jai.registry.RemoteRenderableRegistryMode
since:
   JAI 1.1





Method Summary
 ObjectgetInvalidRegion(String registryModeName, String oldServerName, ParameterBlock oldParamBlock, RenderingHints oldHints, String newServerName, ParameterBlock newParamBlock, RenderingHints newHints, OperationNode node)
     Calculates the region over which two distinct remote renderings of an operation may be expected to differ.
 NegotiableCapabilitySetgetServerCapabilities(String serverName)
     Returns the set of capabilites supported by the server.
 URLgetServerNameDocs()
     Returns a URL that points to documentation containing instructions on constructing a server name string for the protocol with which this class is associated.
 OperationDescriptor[]getServerSupportedOperationList(String serverName)
     Returns the list of OperationDescriptors that describe the operations supported by the server.



Method Detail
getInvalidRegion
Object getInvalidRegion(String registryModeName, String oldServerName, ParameterBlock oldParamBlock, RenderingHints oldHints, String newServerName, ParameterBlock newParamBlock, RenderingHints newHints, OperationNode node) throws RemoteImagingException(Code)
Calculates the region over which two distinct remote renderings of an operation may be expected to differ. The operation is represented by the OperationNode argument to this method. The String that identifies the operation can be retrieved via the OperationNode's getOperationName() method.

The class of the returned object will vary as a function of the nature of the operation. For rendered and renderable two- dimensional images this should be an instance of a class which implements java.awt.Shape.
Parameters:
  registryModeName - The name of the mode.
Parameters:
  oldServerName - The previous server name.
Parameters:
  oldParamBlock - The previous sources and parameters.
Parameters:
  oldHints - The previous hints.
Parameters:
  newServerName - The current server name.
Parameters:
  newParamBlock - The current sources and parameters.
Parameters:
  newHints - The current hints.
Parameters:
  node - The affected node in the processing chain. The region over which the data of two renderings of thisoperation may be expected to be invalid or nullif there is no common region of validity. If an emptyjava.awt.Shape is returned, this indicatesthat all pixels within the bounds of the old renderingremain valid.
throws:
  IllegalArgumentException - if registryModeNameis null or if the operation requires eithersources or parameters and either oldParamBlockor newParamBlock is null.
throws:
  IllegalArgumentException - if there is no OperationDescriptorfor the specified operation on any one or both of theservers identified by oldServerName andnewServerName, or if the number of sources orthe name, number and Class of the operation'sparameters is not the same on both the servers.
throws:
  IllegalArgumentException - if oldParamBlock ornewParamBlock do not contain sufficient sourcesor parameters for the operation in question.




getServerCapabilities
NegotiableCapabilitySet getServerCapabilities(String serverName) throws RemoteImagingException(Code)
Returns the set of capabilites supported by the server. It is the implementing class's responsibility to extract this information from either the server or from its own knowledge of the remote imaging protocol. The format of the serverName argument is protocol-dependent. Thus different protocol specific subclasses may treat the same serverName argument in different ways, i.e. one protocol may allow the serverName argument to be null (if this protocol defines a default server), while another may consider null an invalid serverName and throw an Exception.
Parameters:
  serverName - The String identifying the server.



getServerNameDocs
URL getServerNameDocs()(Code)
Returns a URL that points to documentation containing instructions on constructing a server name string for the protocol with which this class is associated.



getServerSupportedOperationList
OperationDescriptor[] getServerSupportedOperationList(String serverName) throws RemoteImagingException(Code)
Returns the list of OperationDescriptors that describe the operations supported by the server. It is the implementing class's responsibility to extract this information from either the server or from its own knowledge of the remote imaging protocol. The format of the serverName argument is protocol-dependent. Thus different protocol specific subclasses may treat the same serverName argument in different ways, i.e. one protocol may allow the serverName argument to be null (if this protocol defines a default server), while another may consider null an invalid serverName and throw an Exception.
Parameters:
  serverName - The String identifying the server.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.