Bees v0.5.0 API

bees.core
Interface CapabilitySpec

All Known Implementing Classes:
NodeSpec, PathSpec, AccountSpec, LoggerSpec, KeySpec

public interface CapabilitySpec

The CapabilitySpec interface identifies a class as being suitable for encoding arguments used in creating a Capability.


Method Summary
 SpecCapabilityFactory getFactory()
           
 CapabilitySpec specFromBytes(byte[] flattened)
          Initialize this object from the given flattened version of the object.
 

Method Detail

specFromBytes

public CapabilitySpec specFromBytes(byte[] flattened)
                             throws java.lang.Throwable
Initialize this object from the given flattened version of the object.
Parameters:
flattened - The flattened version of this object.
Returns:
this
Throws:
java.lang.Throwable - if anything goes wrong.

getFactory

public SpecCapabilityFactory getFactory()

Bees v0.5.0 API

This documentation is Copyright (C) 2002 The University of Utah. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for Bees v0.5.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/