public class PluginResourceBean extends Object implements IPluginResource
| Constructor and Description |
|---|
PluginResourceBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBean()
Gets the id of the referenced bean.
|
boolean |
isRequired()
Returns whether or not the reference bean is required.
|
void |
register(CareWebShell shell,
ElementBase owner,
boolean register)
Registers/unregisters a bean resource.
|
void |
setBean(String bean)
Sets the referenced bean by its id.
|
void |
setRequired(boolean required)
Sets whether or not the reference bean is required.
|
public void setBean(String bean)
bean - The bean id.public String getBean()
public void setRequired(boolean required)
required - If true and the bean is not found, an exception is raised.public boolean isRequired()
public void register(CareWebShell shell, ElementBase owner, boolean register)
register in interface IPluginResourceshell - The running shell.owner - Owner of the resource.register - If true, register the resource. If false, unregister it.Copyright © 2017 Regenstrief Center for Biomedical Informatics. All rights reserved.