当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
LinkRefPair (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.naming
Class LinkRefPair
java.lang.Object
javax.naming.Reference
org.jboss.naming.LinkRefPair
- All Implemented Interfaces:
- Cloneable, Serializable
- public class LinkRefPair
- extends Reference
A pair of addresses, one to be used in the local machine,
the other in remote machines.
- Version:
- $Revision: 1.2 $
- Author:
- Adrian Brock (adrian@jboss.com)
- See Also:
- Serialized Form
Constructor Summary |
LinkRefPair(String remote,
String local)
Create a new link ref pair with the give remote and local names. |
Methods inherited from class javax.naming.Reference |
add, add, clear, clone, equals, get, get, getAll, getClassName, getFactoryClassLocation, getFactoryClassName, hashCode, remove, size, toString |
LinkRefPair
public LinkRefPair(String remote,
String local)
- Create a new link ref pair with the give remote and local names.
- Parameters:
remote
- the remote namelocal
- the local name
getGUID
public String getGUID()
throws MalformedLinkException
- Get the guid link name
- Returns:
- the guid
- Throws:
MalformedLinkException
- when the reference is malformed
getRemoteLinkName
public String getRemoteLinkName()
throws MalformedLinkException
- Get the remote link name
- Returns:
- the remote link
- Throws:
MalformedLinkException
- when the reference is malformed
getLocalLinkName
public String getLocalLinkName()
throws MalformedLinkException
- Get the local link name
- Returns:
- the remote link
- Throws:
MalformedLinkException
- when the reference is malformed
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.