|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ControlAssemblyContext
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.
Nested Class Summary | |
---|---|
static interface |
ControlAssemblyContext.EJBModule
Providers of ControlAssemblyContext implementations may implement EJBModule to provide access to an EJB module environment. |
static interface |
ControlAssemblyContext.EntAppModule
Providers of ControlAssemblyContext implementations may implement EntAppModule to provide access to an enterprise application module environment. |
static interface |
ControlAssemblyContext.Factory
Providers of ControlAssemblyContext implementations MUST implement Factory and newInstance to return their implementation. |
static interface |
ControlAssemblyContext.WebAppModule
Providers of ControlAssemblyContext implementations may implement WebAppModule to provide access to a webapp module environment. |
Method Summary | ||
---|---|---|
Set<String> |
getClients()
|
|
|
getControlAnnotation(Class<T> annotationClass)
|
|
|
getControlMethodAnnotation(Class<T> annotationClass,
Method m)
|
|
Class |
getControlType()
|
|
String |
getDefaultImplClassName()
|
|
Messager |
getMessager()
|
|
File |
getModuleDir()
|
|
String |
getModuleName()
|
|
Class |
getMostDerivedControlInterface()
|
|
File |
getSrcOutputDir()
|
|
boolean |
hasErrors()
|
Method Detail |
---|
Class getControlType()
Class getMostDerivedControlInterface()
<T extends Annotation> T getControlAnnotation(Class<T> annotationClass)
<T extends Annotation> T getControlMethodAnnotation(Class<T> annotationClass, Method m) throws NoSuchMethodException
NoSuchMethodException
String getDefaultImplClassName()
File getSrcOutputDir()
File getModuleDir()
String getModuleName()
Set<String> getClients()
Messager getMessager()
boolean hasErrors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |