|
|||||||||
| Home >> All >> jreceiver >> common >> rec >> [ security overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
jreceiver.common.rec.security
Class MethodKey

java.lang.Objectjreceiver.common.rec.BaseRec
jreceiver.common.rec.security.MethodKey
- All Implemented Interfaces:
- java.lang.Comparable, jreceiver.common.rec.Hashable, jreceiver.common.rec.Key
- public class MethodKey
- extends jreceiver.common.rec.BaseRec
- implements jreceiver.common.rec.Key, java.lang.Comparable
- extends jreceiver.common.rec.BaseRec
An interface representing a single master/slave binding key
- Version:
- $Revision: 1.1 $ $Date: 2002/07/20 01:42:18 $
| Field Summary | |
static java.lang.String |
HKEY_HANDLER_NAME
|
static java.lang.String |
HKEY_METHOD_NAME
|
(package private) java.lang.String |
m_handler_name
|
(package private) java.lang.String |
m_method_name
|
| Constructor Summary | |
MethodKey()
ctor - default |
|
MethodKey(java.util.Hashtable hash)
ctor - construct from a hashtable, usually retrieved via XML-RPC |
|
MethodKey(java.lang.String handler_name,
java.lang.String method_name)
ctor - shallow |
|
| Method Summary | |
int |
compareTo(java.lang.Object obj)
Compares this object with the specified object for order. |
static MethodKey |
createFromFormattedKey(java.lang.String formatted_key)
create a new MethodKey object from a formatted method key String |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
java.lang.String |
getFormattedKey()
obtain the key, formatted as "handler_name.method_name" |
java.lang.String |
getHandlerName()
|
boolean |
getIsValid()
return true if the key is sound |
java.lang.String |
getMethodName()
|
java.util.Map |
getParams()
return the url parameters necessary to identify this rec by key |
int |
hashCode()
Returns a hash code value for the object. |
void |
setHandlerName(java.lang.String handler_name)
|
void |
setMethodName(java.lang.String method_name)
|
java.util.Hashtable |
toHash()
Store the object as a hash suitable for transport over an XML-RPC connection or similar. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class jreceiver.common.rec.BaseRec |
dissolve, dissolveMap, find, find, find, find |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
HKEY_HANDLER_NAME
public static final java.lang.String HKEY_HANDLER_NAME
- See Also:
- Constant Field Values
HKEY_METHOD_NAME
public static final java.lang.String HKEY_METHOD_NAME
- See Also:
- Constant Field Values
m_handler_name
java.lang.String m_handler_name
m_method_name
java.lang.String m_method_name
| Constructor Detail |
MethodKey
public MethodKey()
- ctor - default
MethodKey
public MethodKey(java.lang.String handler_name, java.lang.String method_name)
- ctor - shallow
MethodKey
public MethodKey(java.util.Hashtable hash)
- ctor - construct from a hashtable, usually retrieved via XML-RPC
| Method Detail |
hashCode
public int hashCode()
- Returns a hash code value for the object. This method is
supported for the benefit of hashtables such as those provided by
java.util.Hashtable.
equals
public boolean equals(java.lang.Object obj)
- Indicates whether some other object is "equal to" this one.
compareTo
public int compareTo(java.lang.Object obj)
- Compares this object with the specified object for order. Returns a
negative integer, zero, or a positive integer as this object is less
than, equal to, or greater than the specified object.
- Specified by:
compareToin interfacejava.lang.Comparable
getHandlerName
public java.lang.String getHandlerName()
setHandlerName
public void setHandlerName(java.lang.String handler_name)
getMethodName
public java.lang.String getMethodName()
setMethodName
public void setMethodName(java.lang.String method_name)
getFormattedKey
public java.lang.String getFormattedKey()
- obtain the key, formatted as "handler_name.method_name"
createFromFormattedKey
public static MethodKey createFromFormattedKey(java.lang.String formatted_key) throws jreceiver.common.rec.RecException
- create a new MethodKey object from a formatted method key String
getIsValid
public boolean getIsValid()
- return true if the key is sound
getParams
public java.util.Map getParams()
- return the url parameters necessary to identify this rec by key
toString
public java.lang.String toString()
- Returns a string representation of the object.
- Specified by:
toStringin interfacejreceiver.common.rec.Hashable
toHash
public java.util.Hashtable toHash()
- Store the object as a hash suitable for
transport over an XML-RPC connection or similar.
Use
MethodRec(Hashtable)to transform the data back into an object of this type.- Specified by:
toHashin interfacejreceiver.common.rec.Hashable
|
|||||||||
| Home >> All >> jreceiver >> common >> rec >> [ security overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC