java.io.Serializable, Resource, SelfDescribingResource, SelfDescribingResourceV2public final class RemoteResource extends ResourceBase
RemoteResource class is used by WLS
 to represent a service endpoint that is not deployed
 on the local WLS server. This resource representation,
 among other things, is used to retrieve credentials that the
 client (on WLS) can used to communicate with the remote
 service endpoint. 
 The toString format (which is produced by the
 ResourceBase class) for a Remote resource is:
 type=<remote>, protocol=http, remoteHost=myHost, remotePort=7001, path=/myWebapp/myWS, method=myMethod
id, length, NO_PARENT, parent, resStr, SCOPE_RESOURCE_ACTION, valuesLIST_FIELD_TYPE, NORMAL_FIELD_TYPE, PATH_FIELD_TYPE, UNDEFINED_FIELD_TYPE| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | equals(java.lang.Object obj) | Compares this resource to the resource in the specified object. | 
| int | getFieldType(java.lang.String fieldName) | Returns if field name queried is a normal field type or
 if it is a path field type. | 
| java.lang.String[] | getKeys() | Gets keys for the  Remoteresource. | 
| java.lang.String | getMethod() | Gets the method of the  RemoteResourceto be accessed. | 
| java.lang.String | getPath() | Gets the path of the  RemoteResource. | 
| java.lang.String | getProtocol() | Gets the transport protocol required to access the  RemoteResource. | 
| java.lang.String | getRemoteHost() | Gets the host name of the  RemoteResource. | 
| java.lang.String | getRemotePort() | Gets the port of the  RemoteResource. | 
| int | getRepeatingFieldIndex() | Returns the index into the keys of the field whose value repeats
 in the parent hierarchy of the  Remoteresource. | 
| int | getRepeatingFieldTerminatingIndex() | Returns the terminating index of the repeating field. | 
| java.lang.String | getType() | Gets the type of this resource ( RemoteResource). | 
| protected void | init(java.lang.String[] values,
    int len,
    long seed,
    java.lang.String method,
    boolean showAction) | |
| protected Resource | makeParent() | Gets a  Resourceobject that represents the parent of the
 currentRemoteResource. | 
| protected void | writeResourceString(java.lang.StringBuffer buf) | Writes a string representation of the resource to buffer. | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitappendArrayValue, appendValue, getID, getParentResource, getValues, hashCode, init, init, isTransitiveField, toStringprotected void init(java.lang.String[] values,
                    int len,
                    long seed,
                    java.lang.String method,
                    boolean showAction)
public java.lang.String getType()
RemoteResource).protected Resource makeParent()
Resource object that represents the parent of the
 current RemoteResource.  If the resource does not have a parent, the value of
 null must be returned.
 The parentage hierarchy for the RemoteResource (that is, the values returned from
 successive calls to this method) is:
 
 type=<remote>, protocol=http, remoteHost=myHost, remotePort=7001, path=/myWebapp/myWS, method=myMethod
 type=<remote>, protocol=http, remoteHost=myHost, remotePort=7001, path=/myWebapp/myWS
 type=<remote>, protocol=http, remoteHost=myHost, remotePort=7001, path=/myWebapp, method=myMethod
 type=<remote>, protocol=http, remoteHost=myHost, remotePort=7001, path=/myWebapp
 type=<remote>, protocol=http, remoteHost=myHost, remotePort=7001, method=myMethod
 type=<remote>, protocol=http, remoteHost=myHost, remotePort=7001
 type=<remote>, protocol=http, remoteHost=myHost, method=myMethod
 type=<remote>, protocol=http, remoteHost=myHost
 type=<remote>, protocol=http, method=myMethod
 type=<remote>, protocol=http
 type=<remote>, method=myMethod
 type=<remote>
 
makeParent in class ResourceBaseResource object of the parent resource.public java.lang.String[] getKeys()
Remoteresource.getKeys in interface ResourcegetKeys in class ResourceBaseRemoteResource's keys.public int getFieldType(java.lang.String fieldName)
If the fields are slash separated and are part of the inheritance hierarchy of the resources, it is a field type If not then the field is returned as a normal field type.
getFieldType in interface SelfDescribingResourcegetFieldType in class ResourceBasefieldName - the field name whose type is being queried onSelfDescribingResourcepublic int getRepeatingFieldIndex()
Remoteresource.getRepeatingFieldIndex in interface SelfDescribingResourcegetRepeatingFieldIndex in class ResourceBaseRemoteresource.public int getRepeatingFieldTerminatingIndex()
getRepeatingFieldTerminatingIndex in interface SelfDescribingResourcegetRepeatingFieldTerminatingIndex in class ResourceBasepublic java.lang.String getProtocol()
RemoteResource.RemoteResource.public java.lang.String getRemoteHost()
RemoteResource.RemoteResource.public java.lang.String getRemotePort()
RemoteResource.RemoteResource.public java.lang.String getPath()
RemoteResource.RemoteResource.public java.lang.String getMethod()
RemoteResource to be accessed.RemoteResource to be accessed.public boolean equals(java.lang.Object obj)
equals in interface Resourceequals in class ResourceBaseobj - the other resource with which to compare this resource.TRUE if the resource passed in matches this resource,
               and FALSE otherwise.Object.equals(Object)protected void writeResourceString(java.lang.StringBuffer buf)
ResourceBaseSubclasses should override this method if their string representation is different.
writeResourceString in class ResourceBasebuf - buffer to write to.