Command object pattern wannabe or the real thing?
命令对象模式的还是真实的?
The ADO Command object is used to execute a single query against a database.
ADO指令对象的作用是:对一个数据库执行简单的查询语句。
In your implementation, you get the property by using the pointer to the command object.
在实现中,通过使用指向命令对象的指针获取属性。
The Command object encapsulates the name and information related to the semantics of an action.
Command对象封装了与动作的语义相关的名称和信息。
The application you'll develop uses the Spring tag libraries mainly to bind forms with a command object.
要开发的应用程序将主要使用Spring标记库把表单与命令对象绑定在一起。
When a request comes in, we deserialize the XML into a command object using XStream and appropriately handle it.
在请求传入时,我们使用XStream将XML反序列化成一个命令对象,然后合理地进行处理就可以了。
Otherwise, a command object is created and configured after the UpdateCommand property of the data source object.
否则,在数据源对象的UpdateCommand属性后创建和配置一个命令对象。
Calls the execute method on the command object, which returns a cached LatLong or a new result from the Web service.
在命令对象上调用execute方法,这个方法返回一个缓存的LatLong或从Web服务返回一个新的结果。
DB2Command - The command object allows for executing any supported SQL statement or stored procedure using a data connection object.
DB 2 Command-该命令对象支持使用数据连接对象执行任何受支持的sql语句或存储过程。
WebSphere can also intercept a call to the execute method of a command object and store the content of the object within the dynamic cache.
WebSphere还可以拦截命令对象对execute方法的调用,并存储动态缓存内对象的内容。
Output parameters and return values are not sent to the client; these are available to the caller, through the parameters collection of the command object.
输出参数和传回值不会传送至用户端,它们可透过命令物件的参数集合而用于呼叫端。
GetCommand (ID) causes CommandFactory to create the command object (see code below), and execute is the operation in ICommand that performs the business logic.
getCommand (ID)引起CommandFactory创建command对象(请看下列代码),而且execute是ICommand的操作,执行业务逻辑。
The Chain of Responsibility pattern supports decoupling by passing a request between potential receivers, whereas the command pattern supports using a command object to encapsulate a request.
责任链模式通过在可能的接受方传递请求来解耦,而命令模式是通过将请求封装成对象。
It should be noted that the command did not change the Object Data Manager (ODM) attributes, meaning they would not be persistent across a reboot.
有一点应该注意,该命令并不会更改对象数据管理器(odm)的属性,这意味着在重新启动之后它们将无法保持。
If you need a new type of object or command, you create one.
你可以创建自己所需要的新的对象或命令类型。
Use the help command to get information on the target object and options.
使用帮助命令可获取关于目标对象和选项的信息。
The expected target object varies with the admin command invoked.
预期的目标对象因调用的管理命令而异。
The fourth command creates a domain object for each device in the managed set (there is currently only one) and assigns the configuration source for this domain to the URL shown.
第四个命令为管理集(通常只有一个)中的每一个设备创建一个域对象,然后将这个域的配置资源指定到显示的URL。
This includes definition of a process object and to enable triggering on the agent command queue.
这包括定义一个进程对象和在代理命令队列上启用触发。
Also, for each object UUID specified in the input list, command to delete them from the endpoint is made.
另外,对于输入列表中指定的每个对象uuid,执行从端点中删除它们的命令。
Learning and understanding the types can be unwieldy, however, especially if a command returns an object of a type you're not familiar with.
学习和理解这些类型是比较枯燥的,尤其是一个命令返回的对象是你所不熟悉的类型。
A handler can be anything from calling a method on an object, running a command or invoking a remote object call.
事件处理器可以做任何事,包括调用一个对象的方法,运行一个命令,或者对远程对象进行调用。
Use the help command to get information on the target object of an admin command.
使用帮助命令获取关于管理命令的目标对象的信息。
Figure 2 shows the output from running this com object from the command line.
图2展示了通过命令行运行此COM对象的输出结果。
The target object and options strings vary depending on the admin command invoked.
目标对象和选项字符串因调用的管理命令而异。
This invocation syntax is used to invoke an admin command that does not require a target object.
此调用语法用来调用不需要目标对象的管理命令。
The PUT command creates a bucket or object, DELETE deletes the bucket or object, and GET retrieves information about the bucket or data from the object.
PUT命令创建桶或对象,DELETE删除桶或对象,GET检索有关桶或来自对象的数据的信息。
Since this command does not need any target object to be passed, we should set it to false.
因为此命令不需要传递任何目标对象,所以我们应该将其设置为false。
The setmqaut command then grants or revokes authority on the object definition.
然后setmqaut命令授予或撤销该对象定义上的权限。
We can see all the properties of the object using the @listall command discussed earlier.
我们能用此前讨论过的 @listall命令来查看对象所有的属性。
应用推荐