Package org.drools.compiler.builder.impl
Class TypeDeclarationContextImpl
java.lang.Object
org.drools.compiler.builder.impl.TypeDeclarationContextImpl
- All Implemented Interfaces:
BuilderConfigurationProvider,GlobalVariableContext,InternalKnowledgeBaseProvider,RootClassLoaderProvider,TypeDeclarationContext,TypeDeclarationManager,PackageRegistryManager
-
Constructor Summary
ConstructorsConstructorDescriptionTypeDeclarationContextImpl(KnowledgeBuilderConfigurationImpl configuration, PackageRegistryManager packageRegistryManager, GlobalVariableContext globalVariableContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanfilterAccepts(ResourceChange.Type declaration, String namespace, String typeName) getAndRegisterTypeDeclaration(Class<?> cls, String name) getOrCreatePackageRegistry(PackageDescr packageDescr) getPackageDescrs(String namespace) getPackageRegistry(String packageName) getTypeDeclaration(Class<?> objectType) getTypeDeclaration(ObjectType objectType) voidsetTypeDeclarationManager(TypeDeclarationManagerImpl typeDeclarationManagerImpl)
-
Constructor Details
-
TypeDeclarationContextImpl
public TypeDeclarationContextImpl(KnowledgeBuilderConfigurationImpl configuration, PackageRegistryManager packageRegistryManager, GlobalVariableContext globalVariableContext)
-
-
Method Details
-
setTypeDeclarationManager
-
getTypeBuilder
- Specified by:
getTypeBuilderin interfaceTypeDeclarationContext
-
filterAccepts
- Specified by:
filterAcceptsin interfaceTypeDeclarationContext
-
getAndRegisterTypeDeclaration
- Specified by:
getAndRegisterTypeDeclarationin interfaceTypeDeclarationManager
-
getTypeDeclaration
- Specified by:
getTypeDeclarationin interfaceTypeDeclarationManager
-
getTypeDeclaration
- Specified by:
getTypeDeclarationin interfaceTypeDeclarationManager
-
getPackageDescrs
- Specified by:
getPackageDescrsin interfaceTypeDeclarationContext
-
getPackageRegistry
- Specified by:
getPackageRegistryin interfacePackageRegistryManager
-
getOrCreatePackageRegistry
- Specified by:
getOrCreatePackageRegistryin interfacePackageRegistryManager
-
getPackageRegistry
- Specified by:
getPackageRegistryin interfacePackageRegistryManager
-
getPackageNames
- Specified by:
getPackageNamesin interfacePackageRegistryManager
-
getBuilderConfiguration
- Specified by:
getBuilderConfigurationin interfaceBuilderConfigurationProvider
-
getKnowledgeBase
- Specified by:
getKnowledgeBasein interfaceInternalKnowledgeBaseProvider
-
getRootClassLoader
- Specified by:
getRootClassLoaderin interfaceRootClassLoaderProvider
-
getGlobals
- Specified by:
getGlobalsin interfaceGlobalVariableContext
-
addGlobal
- Specified by:
addGlobalin interfaceGlobalVariableContext
-