public interface Assembler
| Modifier and Type | Field and Description |
|---|---|
static String |
TOPIC_ASSEMBLE
The topic of events dispatched when the assemble process is invoked
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAssemblerEventListener(AssemblerEventListener pListener)
Adds a listener to all activity within the context of this request.
|
ContentItem |
assemble(ContentItem pContentItem)
Invokes the assembly process and returns the assembled results.
|
void |
removeAssemblerEventListener(AssemblerEventListener pListener)
Removes a listener previously added by
addAssemblerEventListener(AssemblerEventListener) |
static final String TOPIC_ASSEMBLE
ContentItem assemble(ContentItem pContentItem) throws AssemblerException
pContentItem - cartridge instance configuration. The assembler,
associated with this request context, will resolve and invoke a
CartridgeHandler based upon the content item type
attribute.AssemblerException - if the entire assembly process was terminated.CartridgeHandler.preprocess(ContentItem),
CartridgeHandler.process(ContentItem)void addAssemblerEventListener(AssemblerEventListener pListener)
pListener - an AssemblerEventListenervoid removeAssemblerEventListener(AssemblerEventListener pListener)
addAssemblerEventListener(AssemblerEventListener)pListener - an AssemblerEventListenerCopyright © 2015, Oracle and/or its affiliates. All rights reserved.