Package | Description |
---|---|
org.ptolemy.classloading |
The interfaces and non-OSGi implementation of the ClassLoadingStrategy support.
|
org.ptolemy.classloading.osgi |
The implementations that are used in an OSGi-based Ptolemy II runtime (remark that they do not have any dependency on OSGi APIs).
|
org.ptolemy.commons |
This packagecontains the VersionSpecification abstract class and its only currently existing implementation; plus FutureValue: a Future implementation that can be used outside of the JDK ExecutorService.
|
ptolemy.moml |
Modeling Markup Language classes.
|
Modifier and Type | Method and Description |
---|---|
CompositeEntity |
ActorOrientedClassProvider.getActorOrientedClass(java.lang.String className,
VersionSpecification versionSpec)
Returns the
CompositeEntity providing the requested actor-oriented class definition, if this provider has it. |
java.lang.Class<? extends NamedObj> |
ModelElementClassProvider.getClass(java.lang.String className,
VersionSpecification versionSpec)
Return the requested class for the requested version (if specified).
|
CompositeEntity |
SimpleClassLoadingStrategy.loadActorOrientedClass(java.lang.String className,
VersionSpecification versionSpec)
Load an actor-oriented class, which is typically a .moml file.
|
CompositeEntity |
ClassLoadingStrategy.loadActorOrientedClass(java.lang.String className,
VersionSpecification versionSpec)
Load an actor-oriented class, which is typically a .moml file.
|
java.lang.Class |
SimpleClassLoadingStrategy.loadJavaClass(java.lang.String className,
VersionSpecification versionSpec)
Load a Java class.
|
java.lang.Class |
ClassLoadingStrategy.loadJavaClass(java.lang.String className,
VersionSpecification versionSpec)
Load a Java class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends NamedObj> |
DefaultModelElementClassProvider.getClass(java.lang.String className,
VersionSpecification versionSpec)
Get a class by name and version.
|
java.lang.Class<? extends NamedObj> |
PackageBasedModelElementClassProvider.getClass(java.lang.String className,
VersionSpecification versionSpec)
Return the requested class for the requested version (if specified).
|
CompositeEntity |
OSGiClassLoadingStrategy.loadActorOrientedClass(java.lang.String className,
VersionSpecification versionSpec)
Load an actor-oriented class, which is typically a .moml file.
|
java.lang.Class<?> |
OSGiClassLoadingStrategy.loadJavaClass(java.lang.String className,
VersionSpecification versionSpec)
Load a Java class.
|
Constructor and Description |
---|
DefaultModelElementClassProvider(VersionSpecification version,
java.lang.Class<? extends NamedObj>... knownClasses)
Create a provider that cares about class versions, i.e. it will
check on class names and on the requested version to check if it
can provide a requested class.
|
Modifier and Type | Class and Description |
---|---|
class |
ThreeDigitVersionSpecification
A simple implementation of a version specification, based on a
merge of OSGi-conventions and Ptolemy (which in turn seems to be
based on JNLP).
|
Modifier and Type | Method and Description |
---|---|
static VersionSpecification |
VersionSpecification.parse(java.lang.String version)
Parses the given version String, using '.' , '-' , '_' as potential delimiters.
|
Modifier and Type | Method and Description |
---|---|
int |
ThreeDigitVersionSpecification.compareTo(VersionSpecification otherVersionSpecification)
Compare this specification to the argument.
|
Constructor and Description |
---|
MoMLParser(Workspace workspace,
VersionSpecification defaultVersionSpecification,
java.lang.ClassLoader loader)
Construct a parser that creates entities in the specified workspace
with a default verisoin specification.
|