Rio Project 4.2 API Documentation



Package org.rioproject.cybernode

A Cybernode represents a compute resource as a service available through the network, offering dynamic allocation and provisioning capabilities.

See:
          Description

Interface Summary
Cybernode A Cybernode represents a compute resource as a service available through the network.
CybernodeAdmin CybernodeAdmin defines methods used to administer a Cybernode
CybernodeImplMBean Provides a standard MBean to use when administering the Cybernode using JMX
ServiceBeanContainer The ServiceBeanContainer defines the semantics required to instantiate service instances described by a ServiceElement
ServiceBeanContainerListener Client interface allowing notification of service instantiations and discard lifecycle events
ServiceBeanDelegate Defines the semantics of a class that the Cybernode delegates management of created service instances
 

Class Summary
CybernodeAdapter Use as an interchange between the Cybernode and it's ServiceConsumer
CybernodeAdminImpl The CybernodeAdminImpl class implements the ServiceAdmin interface providing administrative support for ServiceProducer implementations.
CybernodeAdminProxy A CybernodeAdminProxy is a proxy for the CybernodeAdmin server.
CybernodeImpl Implementation of a Cybernode
CybernodePermission Permission that can be used to express the access control policy for an instance of an Cybernode server exported with a BasicJeriExporter.
Environment The Environment class provides methods to query and setup the operational environment required by the Cybernode
JSBContainer The JSBContainer implements support for a ServiceBeanContainer
JSBContextFactory A ServiceBeanContextFactory which creates a JSBContext
JSBDelegate The JSBDelegate provides loading and management services for a service which has been instantiated by a ServiceBeanContainer
MemoryCounter Utility for getting memory footprint of objects.
PersistentServiceStatementManager The PersistentServiceStatementManager provides an implementation of the ServiceStatementManager, reading and writing ServiceStatement instances to the file system
ServiceBeanLoader The ServiceBeanLoader will load and create a ServiceBean.
ServiceBeanLoader.Result Trivial class used as the return value by the load method.
ServiceConsumer The ServiceConsumer manages the discovery, registration and update of the ResourceCapability component to discovered ProvisionManager instances
ServiceCostCalculator Used to calculate resource costs for a service.
StagedDataManager A utility to assist in downloading and installing data for a service.
StaticCybernode A simple container for instantiating service beans.
TransientServiceStatementManager The TransientServiceStatementManager provides an implementation of the ServiceStatementManager, setting and accessing ServiceStatement instances in a List
 

Package org.rioproject.cybernode Description

A Cybernode represents a compute resource as a service available through the network, offering dynamic allocation and provisioning capabilities.  The Cybernode represents the capabilities of compute resource through quantitative &  qualitative mechanisms. Cybernode instances dynamically discover and enlist with  provisioning agents, and provides a dynamic lightweight container to instantiate dynamic services.

This document provides the following information about Cybernode

Configuring Cybernode

Cybernode supports the following configuration entries; where each configuration entry name is associated with the component name service.load and  org.rioproject.cybernode




Configuration entries specific to service.load
The Cybernode supports the following configuration entries; where each configuration entry name is associated with the component name service.load. The following configuration entries provide the opportunity to declaratively modify the operational behavior of the Cybernode, for the creation of dynamic service beans



Configuration entries specific to org.rioproject.cybernode
The Cybernode supports the following configuration entries; where each configuration entry name is associated with the component name org.rioproject.cybernode. The following configuration entries provide the opportunity to declaratively modify the operational behavior of the Cybernode at startup

Native Library Support

The Cybernode provides the capability to load native libraries. Loading native libraries can only be accomplished successfully if your library path is set up correctly.

The Cybernode uses a directory where native libraries can be placed so they can be loaded by ServiceBean, PlatformCapability and MeasurableCapability instances.

The default directory to load native libraries from is <rio-home-directory>/lib/native

Setting Library Path

The Cybernode starter scripts in rio_home\bin include declarations for setting the library path. If you are starting an activatable Cybernode, the library path needs to be set when the RMI Activation System is started. Examples of setting the library path across operating systems follow:

Possible Errors

If you see a java.lang.UnsatisfiedLinkError exception, then one of the following may be the cause:

  1. You don't have your library path set up correctly
  2. The directory you setup for the library path did not exist when the VM started. Make sure the directory exists and retry


Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.