The ProcessConnector class in turn extends connector, which is the base class of the connector framework.
ProcessConnector类反过来扩展Connector,这是连接器框架的基础类。
As you can see in Listing 1, TwitterSearchConnector extends the ProcessConnector class, which is part of the connector framework.
如您在清单1中所见,TwitterSearchConnector扩展了processconnector类,它是连接器框架的一部分。
The transformation framework employed by the SOAP connector uses special class loaders to perform these transformations.
SOAP连接器使用的变换框架利用特殊的类加载程序来执行变换。
Because the example connector cannot know about the existence of the ad-hoc properties ahead of time, it does not store their property descriptions in the global item class.
因为示例连接器无法提前知道专用属性的存在,所以不在全局条目类中存储它们的属性描述。
System property descriptions in the OmniFind connector are stored in a global item class.
OmniFind连接器中的系统属性描述存储在一个全局条目类中。
For each JAR file, it USES the ConnectorConfigBeanInfo class to determine the properties required by the connector.
对于每个JAR文件,它使用connectorconfigbeaninfo类判断连接器需要的属性。
Begin by creating a definition file that extends the default_formatter class and adds the needed pieces to display the connector data in the detail view.
首先创建一个扩展default _ formatter类的定义文件,并添加必要的代码片段以在一个细节视图中显示连接器数据。
The example OmniFind connector, included in the next article in this series, features a MimeTypeUtil class that determines the mimetype for content created by the connector.
在本系列的下一篇文章中会讲到OmniFind连接器示例,它提供一个MimeTypeUtil类为连接器所创建的内容确定 mimetype。
Each item that your connector returns to the client will be associated with an ItemClass, even if that class is just the generic, global class.
连接器返回给客户机的每个条目与一个ItemClass相关联,即使这个类只是一般性的全局类。
OmniFind is one such repository, and the example connector solves this problem with the com.venetica.vbr.util.MimeTypeUtil class, which is included in the II CE API but is not documented externally.
OmniFind就是这样的存储库,示例连接器用 com.venetica.vbr.util.MimeTypeUtil类解决这个问题。
In this case, a global item class can be defined for the connector, to serve as a way to retrieve those properties that can always be accessed.
在这种情况下,可以为连接器定义一个全局项目类,作为对那些一直可以进行访问的属性进行检索的方法。
If I decided to use both the taxonomy and the category as folders, then the connector would then most likely map an item class to each, in order to distinguish them.
如果决定将分类法和类别都用作文件夹,那么连接器很可能将一个项目类映射到这两者,以便区分它们。
Like system properties, global property descriptions are stored in the global item class by the connector.
与系统属性相似,连接器将全局属性描述存储在一个全局条目类中。
After it has determined the item type, your connector will need to construct the item in the appropriate class and return it to the user.
在判断条目类型之后,连接器需要在适当的类中构造条目,并将它返回给用户。
You then need to add an instance of the rest source class for the connector to be fully functioning.
然后,您需要添加restsource类的一个实例,以便连接器可以完全发挥作用。
Thus, the OmniFind connector would only support a single, global item class for content and there could be an unlimited number of other ad-hoc properties per item.
所以,OmniFind连接器只为内容支持一种单一的全局项目类,这样每个项目可能会有无限多的专门的其他属性。
BaseBridge, an abstract class, will contain all of the methods that you could conceivably implement in your connector.
BaseBridge是一个抽象类,包含在连接器中可能要实现的所有方法。
When the connector needs to add a system property to a Content object, it will first look up the property description from the global item class.
当连接器需要将一个系统属性添加到Content对象中时,它首先从这个全局条目类查询属性描述。
The default item class on a RepoItem is null, so the item class on all Folder objects in the example connector will also be null.
RepoItem 上的默认条目类是null,所以示例连接器中所有Folder对象上的条目类也是 null。
It is used when the client obtains a connection handle for an Encina Connector instance. With this class, the application specifies connection parameters.
当客户端获得对Encina连接器的连接处理时使用它。
The "MX47 Series" utilizes a 3-row, 39-contact high-density array to achieve a smallest-in-class width and height for an automotive waterproof connector.
在“MX47系列”采用了3排,39接触高密度阵列实现类的宽度和高度为汽车防水连接一个最小合。
The "MX47 Series" utilizes a 3-row, 39-contact high-density array to achieve a smallest-in-class width and height for an automotive waterproof connector.
在“MX47系列”采用了3排,39接触高密度阵列实现类的宽度和高度为汽车防水连接一个最小合。
应用推荐