到目前为止可以很清楚地看到,创建一个自定义组件是一件有益的事情,但是最佳创建方法是什么呢?
By now it should be clear that creating a custom component is a good thing, but what is the best way to create one?
使用这种方法,您不需要更新流程来添加一个新的自定义属性。
With this method, you do not need to upgrade the process to add a new custom property.
如果这样,最好的替代方法是配置一个自定义文件注册表。
If that is the case, the best alternative is to configure a custom file registry.
另一个方法是使用自定义用户注册表,该注册表在开发环境中使用具有用户ID和密码的文件。
Another alternative is to use a custom user registry employing a file with the user ID and passwords for development environments.
同义词特性也是一个非常好的方法来增强你的自定义搜索引擎,甚至通过增加有相同意思的相似单词。
The Synonyms feature is also an excellent way to strengthen your customized search engine even more by adding similar words that have the same meaning.
DB 2提供了可用于管理复制设置的工具,或者您可以基于日志转换实现一个自定义解决方法。
DB2 provides tools that can be used to manage replication Settings, or you can implement a custom solution based on the transfer of logs.
本文提供了一个鲜为人知的方法,使用该方法,可以在控制中心中按自定义的方式对所处理的对象进行分组。
I showed you a little-known way in which you can group the objects that you work with in the Control Center in a customized manner.
这里的基本方法是,在运行时,以一种可以被一般性代码使用的方式,构建一个自定义的类,其中将包装对目标类的访问(以前是通过反射达到的)。
The basic approach here is to construct a custom class at runtime that will wrap access to the target classes (previously reached by reflection) in a way that can be used by your general-purpose code.
为了不丢失美国账户的州信息,定义一个自定义的方法,基于国家返回一个有效的州值。
To not lose the state information for U.S. accounts, define a custom function that returns a valid state value based on the country.
用户概要的另一个好处在于提供了一种方法来对LPEX编辑器自定义进行分组。
Another benefit of user profiles is that they provide a way to group LPEX editor customizations.
一个显而易见的方法已经被许多成功的实现所证实。就是使用EAI技术(但不排除其他技术)并结合XML来构建自定义的soa基础架构。
An obvious approach, proven in many successful implementations, is to use EAI technology often, but not exclusively, in combination with XML, to construct a custom SOA infrastructure.
这个问题的应对方法是使用一个用作数组容器但是没有扩展INOUT _ HOLDER的自定义类。
The workaround to this problem is to use a custom class that ACTS as a container for the array but does not extend INOUT_HOLDER.
注意,我调用了NorthwindDataContext类的一个自定义方法。
Notice, I am calling a custom method on the NorthwindDataContext class...
例如,为了创建一个RUPfor z的自定义版本,您可以用方法定义来开始,包括图1中所显示的插件。
For instance, in order to create a customized version of RUP for z, you would start with a Method Definition, including the plug-ins shown in Figure 1.
当您熟悉自定义此解决方案时,请考虑创建一个自定义类,用于扩展包含首选方法和属性的DataGrid。
When you become familiar with customizing this solution, consider creating a custom class for extending DataGrid that contains your preferred methods and properties.
第一个方法是编写自定义wsadmin脚本,并使用操作系统权限对其进行保护,以确保每个管理员只能为其所属的服务器运行这些脚本。
The first approach is to write custom wsadmin scripts and protect them using operating system permissions to ensure that each administrator can only run the scripts for his servers.
所有自定义JMS数据绑定都具有一个称为AbstractJMSDataBindingImpl的公共超类,这个类实现了一些公共的功能,比如,进行异常处理的方法。
All the custom JMS data bindings have a common super class, called AbstractJMSDataBindingImpl, which implements some common functionality; for example, methods for exception handling.
在ExtJS中从来没有一个轻松的方法来创建自定义主题,现在这仍然是一个让人失望的地方。
There has never been an easy way to create custom themes in Ext JS, and this continues to be a disappointment.
getException:该方法返回一个Exception,允许在其中嵌套用于后期恢复的异常,可以将自定义的异常填充在这里,为调用程序传递信息。
GetException : This method returns an exception which allows you to nest exceptions for later retrieval. You can stuff your own custom exception in here and pass on information to calling programs.
一种解决这个问题的方法是创建一个自定义subjectholder类,它包装了一个staticThreadLocal以存储当前Subject。
One way of getting around this problem is to create a custom SubjectHolder class that wraps a static ThreadLocal to store the current Subject.
现在我们假设我们有自己的自定义类型MyType,带有一个和MyDelegate的方法特征完全匹配的MyFunc方法。
Now, let’s assume that we have our own custom type, MyType, with a method MyFunc whose signature matches MyDelegate’s exactly.
通过添加另一个通过电子邮件来发送标记消息的方法,也许是将其命名为disk_alert (self),这样就可以进一步自定义新类。
You could further customize the new class by adding another method, perhaps called disk_alert (self), which would E-mail flagged messages.
每个Bean都是同一个基本Account Bean的子类,包含四个基本CRUD方法,另有一个自定义查找程序、一个选择方法和多个数据逻辑方法。
Each bean is a subclass of the same basic Account bean, containing the four basic CRUD methods, plus a custom finder, a select method, and multiple data-logic methods.
大部分情况下,只实现了比如内置的dict类型的方法的一个子集——甚至是相当小的子集——的自定义对象,就足够“类-dictionary”而可以满足当前的要求。
Most of the time, a custom object that implements only a subset — even a fairly small subset — of, for example, the methods of a built-in dict are dictionary-like enough for purposes at hand.
Gnosis Utilities库提供了一个相当不错的(照我看来)自定义相等含义的方法。
The Gnosis Utilities library provides (in my opinion) a rather elegant way to customize the meaning of equality.
如果您已经决定使用Guice 1.0,用户指南中有这种旧方法的文档,而且在本文随附的示例代码中,您可以找到一个自定义provider。
If you've decided to use Guice 1.0, the user's guide has documentation on the old way, and the sample code supplied with this article has a custom provider you can look at.
RationalClearQuest7.1.0.0 中的新ALM 计划提供了一个为项目小组构建板块的打开即用的方法,从而根据他们自己的文化和过程进行自定义。
The new ALM schema in Rational ClearQuest 7.1.0.0 provides an out-of-the-box set of building blocks for project teams to customize according to their own cultures and processes.
你可以把你的自定义设置保存在配置文件里,之前的脚本需要是一个方法
You can put your customizations in your own profile. The previous script would need to be a function such as this
更彻底的方法:编写一个自定义的servlet,动态确定和显示当前的激活配置。
More thorough: Write a custom servlet to dynamically determine and display the current active configuration.
更彻底的方法:编写一个自定义的servlet,动态确定和显示当前的激活配置。
More thorough: Write a custom servlet to dynamically determine and display the current active configuration.
应用推荐