electric.cluster.registry
Class ClusterRegistry

java.lang.Object
  extended byelectric.cluster.registry.ClusterRegistry
All Implemented Interfaces:
IClusterConstants, com.webmethods.fabric.IFabricConstants, IMIMEConstants, IRegistry

public class ClusterRegistry
extends java.lang.Object
implements IRegistry, com.webmethods.fabric.IFabricConstants, IClusterConstants, IMIMEConstants

ClusterRegistry

Author:
webMethods

Field Summary
 
Fields inherited from interface com.webmethods.fabric.IFabricConstants
AVOID_HOST, BALANCE, CATEGORY, CREATED_PATH, DEFAULT_NODE_LIVENESS_CYCLE, DEFAULT_NODE_REAP_THRESHOLD, DEFAULT_NOPATH, DEFAULT_RULE_REFRESH_CYCLE, DEFAULT_SERVICE_LIVENESS_CYCLE, DEFAULT_SERVICE_REAP_THRESHOLD, DESCRIPTION, ENDPOINT, ENDPOINT_INFO, ENDPOINT_MANAGER_PATH, ENDPOINTS, FABRIC_PREFIX, FABRIC_PROTOCOL, FABRIC_PROTOCOL_NAME, FABRIC_REGISTRY_LISTENER, FABRIC_REGISTRY_NAME, FAILOVER, FAILOVER_EVENT, IN_FABRIC_SERVER, INTERFACESIGNATURE, INTERMEDIARY, INTERMEDIARY_EVENT, IUDDIREGISTRY_NAMESPACE, LIVENESS, LIVENESS_CHECK, LIVENESS_EVENT, LIVENESS_EXCEPTION_EVENT, LOCATOR_EVENT, LOG_ENTRY, LOG_MANAGER_PATH, LOGS, MEASURE_PERFORMANCE_NAME, MESSAGESIGNATURE, METADATA, MONITOR, NAME, NO_WSDL_CACHE, NODE_INFO, NODE_MANAGER_PATH, NODES, NOPATH_REGISTRY_NAME, ONLINE, PROPERTIES, QUALITIES_OF_SERVICE, QUERY_STRING, REALM, REGISTRY_KEY_NAME, REGISTRY_PATH, RULE, RULE_MANAGER_PATH, RULES, SERVER, SERVICE_AUTH_PASSWORD, SERVICE_AUTH_USER, SERVICE_DATABASE, SERVICE_INFO, SERVICE_INTERFACESIGNATURE, SERVICE_KEY, SERVICE_MANAGER_EVENT, SERVICE_MANAGER_PATH, SERVICE_MESSAGESIGNATURE, SERVICE_ONLINE, SERVICE_PREFIX, SERVICE_PREFIX_LENGTH, SERVICE_REAP_THRESHOLD, SERVICE_REPLICATION_FACTOR, SERVICE_TRUST_MANAGER, SERVICE_VERSION, SERVICE_WSDL, SERVICES, SESSION_ID, SESSION_KEY, SHARE, SINCE, SOAP, SOAP_PATH, SOAP_REFERENCE, STYLE, SUBNET_PORT_PROPERTY, SYSTEM, SYSTEM_SERVICE, URL, USE_COOKIES, VALUES, VERSION, WILDCARD, WSDL, XDB_DELETE_PROPERTY, XDB_EXCLUDE_PROPERTY, XDB_INCLUDE_PROPERTY, XDB_ROOT_PROPERTY
 
Fields inherited from interface electric.cluster.IClusterConstants
APP_NAME, CLUSTER_MONITOR, DISABLE_HTTP_BALANCING, DISABLE_HTTP_FAILOVER, DISABLE_PERMESSAGE_BALANCING, DISABLE_PERMESSAGE_FAILOVER, ENTERPRISE_PATH, ENTERPRISE_SERVICE_PATH, GLUE_MASTER_NODE, GLUE_WEB_SERVER_PORT, JAR_EXT, LIVENESS_PATH, LIVENESS_SERVICE_PATH, LOCALHOST, LOCALHOST_RANDOM_PORT_URL, MANAGER_PATH, MASTER, NODE_MODE, PER_MSG_BALANCING, REGISTRY_PATH, SLAVE, SYSTEM_SERVICE, WAR_SUFFIX, WSSURL
 
Fields inherited from interface electric.util.mime.IMIMEConstants
DATA_DIRECTORY, DEFAULT_MIMEDATA_DIRECTORY, DEFAULT_START_MIME_PART, MIME_ATTACHMENT_STYLE, MIME_EXTENSION, STAR_SLASH_STAR_DATAHANDLER
 
Constructor Summary
ClusterRegistry()
           
 
Method Summary
 IReference bind(java.lang.String path, java.lang.Class[] interfaces, Context context)
          Return a reference to the service described by the path.
 boolean publish(java.lang.String path, java.lang.Object object, Context context2)
          Publish the object to the specified path.
 boolean unpublish(java.lang.String path)
          Unpublish the object from the specified path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterRegistry

public ClusterRegistry()
Method Detail

publish

public boolean publish(java.lang.String path,
                       java.lang.Object object,
                       Context context2)
                throws RegistryException
Description copied from interface: IRegistry
Publish the object to the specified path. If this registry cannot process paths of the specified form, immediately return false.

Specified by:
publish in interface IRegistry
Parameters:
path -
object -
context2 -
Returns:
Throws:
RegistryException

unpublish

public boolean unpublish(java.lang.String path)
                  throws RegistryException
Description copied from interface: IRegistry
Unpublish the object from the specified path. If this registry cannot process paths of the specified form, immediately return false.

Specified by:
unpublish in interface IRegistry
Parameters:
path -
Returns:
Throws:
RegistryException

bind

public IReference bind(java.lang.String path,
                       java.lang.Class[] interfaces,
                       Context context)
                throws RegistryException
Description copied from interface: IRegistry
Return a reference to the service described by the path. If this registry cannot process paths of the specified form, immediately return null.

Specified by:
bind in interface IRegistry
Parameters:
path -
interfaces -
context -
Returns:
Throws:
RegistryException


copyright© 2001-2004 by webMethods All Rights Reserved.