public class ProgramRegistry extends Object implements TypeRegistry
| Constructor and Description |
|---|
ProgramRegistry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProgramPath(String path)
Gets the document for a given file path.
|
<T extends PDeclaredDescriptor<T>> |
getDeclaredType(String typeName,
String programContext) |
PDescriptorProvider |
getProvider(String typeName,
String programContext,
Map<String,String> annotations) |
PService |
getService(String serviceName,
String programContext) |
PServiceProvider |
getServiceProvider(String serviceName,
String programContext) |
void |
putProgram(String path,
CProgram program) |
ProgramTypeRegistry |
registryForPath(String path) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeclaredType, getService@Nonnull public ProgramTypeRegistry registryForPath(String path)
public boolean containsProgramPath(String path)
path - The file path.@Nonnull public <T extends PDeclaredDescriptor<T>> T getDeclaredType(@Nonnull String typeName, @Nonnull String programContext)
getDeclaredType in interface TypeRegistry@Nonnull public PService getService(String serviceName, String programContext)
getService in interface TypeRegistrypublic PDescriptorProvider getProvider(String typeName, String programContext, Map<String,String> annotations)
getProvider in interface TypeRegistrypublic PServiceProvider getServiceProvider(String serviceName, String programContext)
getServiceProvider in interface TypeRegistryCopyright © 2015–2017 morimekta.net. All rights reserved.