InfoQ: Can you share your thoughts about Meta Object Protocol (MOP) feature in Groovy?
InfoQ:你能分享一些关于Groovy中元对象协议(mop)的想法吗?
The Meta Object Protocol is not unique to Groovy, nor was it invented by Groovy's makers.
元对象协议不是Groovy独有的,它也不是由 Groovy发明者发明的。
There is a specific runtime system, called the MOP (stands for Meta-Object Protocol) that is responsible for the dispatching logic.
在Groovy中有一个特殊的运行时系统,叫做MOP(元对象协议Meta - Object Protocol),负责方法分派逻辑。
In a recent interview, Groovy Project Manager Guillaume Laforge mentioned that his favorite Groovy feature is its implementation of the Meta Object Protocol, or MOP.
在最近的一次采访中,Groovy项目经理GuillaumeLaforge提到,他最喜欢的Groovy特性是它实现了元对象协议(Meta Object Protocol)或称MOP。
At the server side, the transport protocol delivers the message to the server stub, which then unpacks the request message and calls the actual function on the object.
在服务器端,传输协议将消息传送给服务器存根,随后服务器存根解包请求消息并调用对象中真正的函数。
Un-registration is done on the specified interface, on list of binding handles (one each for each supported protocol) and on the list of object UUIDs specified.
可以对指定的接口、绑定句柄列表(每个支持的协议一个句柄)和指定的对象UUID 列表执行取消注册。
An upshot is that a protocol object is really not allowed to block, or even just take too long to complete (protocols must be programmed appropriately).
所产生的结果就是,确实不允许协议对象阻塞,甚至花费的时间太长以至无法完成(必须适当地进行协议编程)。
The OBEX protocol layer is implemented above the RFCOMM layer and is useful when you want to transfer data as an object, such as files.
OBEX协议层是在RFCOMM 层上面实现的,如果想把数据以对象(例如文件)的形式传输,那么 OBEX很有用。
Using OTS instead of inventing a new object transaction protocol builds upon existing standards and opens the way for compatibility between J2EE and CORBA components.
使用OTS代替创建一个新对象事务协议遵循了现有标准,并使J2EE和CORBA能够互相兼容。
A protocol, abstractly, is simply a set of behaviors that an object agrees to conform to.
抽象地说,协议只是对象同意遵循的一组行为。
Conversely, Simple object access Protocol (SOAP) does not talk about any way in which you access objects; it just talks about how you represent state and do transfer.
相反,简单对象访问协议(Simple Object Access Protocol,SOAP)并不描述访问对象所用的任何方法;它只描述如何表示状态以及如何进行传送。
The Bluetooth protocol stack lets you use several methods, including RFCOMM and Object Exchange (OBEX), to send and receive files between devices.
蓝牙协议栈允许采用多种方法,包括rfcomm和objectExchange (OBEX),在设备之间发送和接收文件。
Simple Object Access protocol (SOAP) is one of the protocols used to invoke a web service in this type of situation.
简单对象访问协议(Simple Object Access Protocol,SOAP)是用于在此类情况下调用Web服务的协议之一。
The MqttPayload object contains both the application data and any protocol headers for this publication.
这个MqttPayload对象包含应用程序数据和任何此发布的协议头。
The target server receives the request with the object embedded in the protocol (CSIv2).
目标服务器接收在协议(CSIv2)中嵌入对象的请求。
To do this, the team created a COM object that takes the XML document as input and sends it to the Storebrand web service, by transmitting it over the Internet via the HTTP protocol.
为了这样做,小组创建了COM对象,该对象以XML文档作为输入,并通过HTTP协议在因特网上进行传输,将其发送到StorebrandWeb服务。
Json helps in this case, as we can serialize any PHP object using json_encode to turn that object into a json protocol string, ready for an Ajax application to read.
json在这种情况下将提供帮助,因为我们可以使用json_encode把任何PHP对象序列化,使该对象转换为json协议字符串,以供ajax应用程序读取。
As you can guess, the com.sun.jndi.ldap.LdapCtxFactory class constructs the Context object able to communicate with ApacheDS according to the ldap protocol.
正如您可以猜到的,com . sun .jndi .ldap . LdapCtxFactory类构建的Context对象能够根据ldap协议与ApacheDS进行通信。
In this article, I will discuss communication protocols, including the Simple Object Access protocol (SOAP), and build a first version of the lightweight client.
本文中我将讨论通信协议,包括SimpleObjectAccessProtocol(简单对象访问协议,SOAP),并创建轻量级客户机的第一个版本。
The problem lies in how the receiving side is able to understand the serialized Simple object Access Protocol (SOAP) messages that contain the weakly-typed object elements and native data types.
该问题是接收方如何能理解被序列化了的简单对象访问协议(Simple Object Access Protocol,SOAP)消息,这些消息中包含弱类型对象元素及本地数据类型。
For example, the JMS binding is the transport protocol associated with an export, whereas the JMS object data binding converts the object message into the associated data object.
例如,JMS绑定是与导出关联的传输协议,而JMSObject数据绑定将对象消息转换为关联的数据对象。
Here, protocol information is retrieved from the request object (by means of the EL's pageContext implicit object) and tested using a simple string comparison.
在这里,检索请求对象而获得协议信息(通过EL的pagecontext隐式对象),并用简单的字符串比较对协议信息进行测试。
Simple Object Access protocol (SOAP) is a simple and extensible protocol by which structured and typed messages are exchanged in a decentralized, distributed network environment.
SimpleObjectAccessProtocol (SOAP)一个简单且可扩展的协议,使用它构造和定义的消息可以在分散和分布式的网络环境中交换。
Web services use a protocol called SOAP (originally, SOAP stood for Simple Object Access protocol, but the term is now deprecated) for expressing a message's structure with XML.
Web服务利用叫做SOAP(最初,SOAP代表简单对象存取协议,但是这个术语现在降级了)的协议,用XML表示消息的结构。
This says that you would like to adapt the object component to the interface protocol.
这就表示您希望让对象component去适配接口protocol 。
Are there proprietary configurations that the partner has implemented (such as specific security information that needs to be provided in Simple Object Access Protocol (SOAP) or HTTP headers)?
是否存在合作伙伴已经实现了的私有配置(比如需要在SimpleObjectAccessProtocol (SOAP)或者http头中提供特定的安全信息)?
Listing 3 illustrates what the Simple Object Access Protocol (SOAP) response message looks like when using the service interface definition in Listing 2.
清单3演示了当使用清单2中的服务接口定义时,简单对象访问协议(SOAP)响应消息的格式。
Listing 3 illustrates what the Simple Object Access Protocol (SOAP) response message looks like when using the service interface definition in Listing 2.
清单3演示了当使用清单2中的服务接口定义时,简单对象访问协议(SOAP)响应消息的格式。
应用推荐