| org.apache.beehive.controls.api.assembly.ControlAssemblyContext
All known Subclasses: org.apache.beehive.controls.runtime.assembly.BaseAssemblyContext, org.apache.beehive.controls.runtime.assembly.AppAssemblyContext, org.apache.beehive.controls.runtime.assembly.EJBAssemblyContext, org.apache.beehive.controls.runtime.assembly.WebAppAssemblyContext,
ControlAssemblyContext | public interface ControlAssemblyContext (Code) | | Control assemblers are passed a ControlAssemblyContext at the time they are
invoked; the context allows the assemblers to interact with their external
environment (checking files, side-effecting deployment descriptors, emitting
code parameterized by the specifics of the control extension, etc).
Beehive provides ControlAssemblyContext implementations that expose the
standard environments of J2EE applications and modules. Vendor-specific
implementations may provide access to their specific environment information,
such as vendor-specific descriptors, via definition and implementation
of additional interfaces. ControlAssemblers should use reflection to
determine if the ControlAssemblyContext implementation they are passed
supports a particular set of environment features.
|
Inner Class :interface Factory | |
Inner Class :interface EJBModule | |
Inner Class :interface WebAppModule | |
Inner Class :interface EntAppModule | |
getClients | Set<String> getClients()(Code) | | the set of clients (by class name) which use the control type |
getControlAnnotation | T getControlAnnotation(Class<T> annotationClass)(Code) | | an annotation on the interface returned bygetControlType() |
getControlMethodAnnotation | T getControlMethodAnnotation(Class<T> annotationClass, Method m) throws NoSuchMethodException(Code) | | an annotation on a method on the interfacereturned by getControlType() |
getControlType | Class getControlType()(Code) | | the interface type of the control being assembled (annotatedw/ ControlExtension or ControlInterface) |
getDefaultImplClassName | String getDefaultImplClassName()(Code) | | the defaultBinding member of the ControlInterface |
getMessager | Messager getMessager()(Code) | | a Messager implementation that can be used to emit diagnostics during theassembly process. |
getModuleDir | File getModuleDir()(Code) | | the root of the module for which assembly is taking place. |
getModuleName | String getModuleName()(Code) | | the name of the module for which assembly is taking place. |
getMostDerivedControlInterface | Class getMostDerivedControlInterface()(Code) | | the most derived interface of the control being assembled thatis annotated with ControlInterface (may return the same asgetControlType() if the control type is non-extended) |
getSrcOutputDir | File getSrcOutputDir()(Code) | | the output directory into which "compilable" source should be output. |
hasErrors | boolean hasErrors()(Code) | | true if the assembly process reported errors via the Messager |
|
|