See: Description
Class | Description |
---|---|
AutoDiscovery |
Provides methods for automatic discovery of all metaobject protocols
listed in the /META-INF/services/org.dynalang.mop.BaseMetaobjectProtocol
resources of all JAR files for a particular class loader.
|
BottomMetaobjectProtocol |
An implementation for "bottom" metaobject protocol, one that returns
authoritative answer for all methods, and claims nonexistence (and
non-callability) for everything.
|
CompositeClassBasedMetaobjectProtocol |
A MOP that is composed of
ClassBasedMetaobjectProtocol instances. |
CompositeMetaobjectProtocol |
A simple composite MOP that uses a chain of other MOPs to carry out its
operations.
|
MetaobjectProtocolAdaptor |
This class can turn any
BaseMetaobjectProtocol into a full
MetaobjectProtocol by implementing the MOP methods using only the
Base MOP methods. |
MetaobjectProtocolBase |
A convenient base class for implementing a
MetaobjectProtocol that
requires you to only implement MetaobjectProtocolBase methods on it. |
StandardMetaobjectProtocolFactory |
A class with static utility methods for creating a "standard" MOP.
|
This package defines classes that help in implementing MOPs as well as creating (mostly composite) MOP instances. A simple composite MOP is provided, as well an adapter to convert any base metaobject protocol into a full metaobject protocol, and a base class that can be used to more easily (if not the most optimally) implement custom MOPs.
Also, the package contains utility classes for
automatically discovering
MOP implementations
available in a classpath of any class loader and for
creating
"standard" composite MOPs
that merge all available MOPs in the classpath
into one. To use existing MOPs, you will usually only need these
facilities.