Search in sources :

Example 1 with OnDeleteCascade

use of org.jvnet.hk2.config.OnDeleteCascade in project Payara by payara.

the class SimpleDocument method make.

@Override
public ConfigBean make(final ServiceLocator habitat, XMLStreamReader xmlStreamReader, ConfigBean dom, ConfigModel configModel) {
    ConfigBean configBean = new ConfigBean(habitat, this, dom, configModel, xmlStreamReader);
    configBean.addInterceptor(Object.class, new OnDeleteCascade());
    return configBean;
}
Also used : OnDeleteCascade(org.jvnet.hk2.config.OnDeleteCascade) ConfigBean(org.jvnet.hk2.config.ConfigBean)

Aggregations

ConfigBean (org.jvnet.hk2.config.ConfigBean)1 OnDeleteCascade (org.jvnet.hk2.config.OnDeleteCascade)1