muleendpointkey.java
来自「提供ESB 应用mule源代码 提供ESB 应用mule源代码」· Java 代码 · 共 87 行
JAVA
87 行
/* * $Id: MuleEndpointKey.java 10670 2008-02-01 17:12:38Z romikk $ * -------------------------------------------------------------------------------------- * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com * * The software in this package is published under the terms of the CPAL v1.0 * license, a copy of which has been included with this distribution in the * LICENSE.txt file. */package org.mule.module.jca;import javax.resource.spi.endpoint.MessageEndpointFactory;/** * <code>MuleEndpointKey</code> TODO */public class MuleEndpointKey{ final private MessageEndpointFactory messageEndpointFactory; final private MuleActivationSpec activationSpec; /** * @param messageEndpointFactory * @param activationSpec */ public MuleEndpointKey(MessageEndpointFactory messageEndpointFactory, MuleActivationSpec activationSpec) { this.messageEndpointFactory = messageEndpointFactory; this.activationSpec = activationSpec; } /** * @return Returns the activationSpec. */ public MuleActivationSpec getActivationSpec() { return activationSpec; } /** * @return Returns the messageEndpointFactory. */ public MessageEndpointFactory getMessageEndpointFactory() { return messageEndpointFactory; } /** * @see java.lang.Object#hashCode() */ public int hashCode() { return messageEndpointFactory.hashCode() ^ activationSpec.hashCode(); } /** * @see java.lang.Object#equals(java.lang.Object) */ public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (this.getClass() != obj.getClass()) { return false; } MuleEndpointKey o = (MuleEndpointKey)obj; return o.activationSpec == activationSpec && o.messageEndpointFactory == messageEndpointFactory; } public String toString() { return "MuleEndpointKey{" + "messageEndpointFactory=" + messageEndpointFactory + ", activationSpec=" + activationSpec + "}"; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?