com.oracle.coherence.cdi.server.CdiNamespaceHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coherence-cdi-server Show documentation
Show all versions of coherence-cdi-server Show documentation
CDI-enabled Coherence Server
/*
* Copyright (c) 2020, 2021 Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
package com.oracle.coherence.cdi.server;
import com.tangosol.config.xml.AbstractNamespaceHandler;
/**
* Custom namespace handler for {@code cdi} namespace.
*
* This namespace handler supports only one XML element:
*
* - {@code <cdi:bean>beanName</cdi:bean>}, where {@code beanName}
* is the unique name of a CDI bean defined by the {@code @Named} annotation.
* This element can only be used as a child of the standard {@code
* <instance>} element.
*
*
* @author Aleks Seovic 2019.10.02
* @since 20.06
*/
public class CdiNamespaceHandler
extends AbstractNamespaceHandler
{
/**
* Construct {@code CdiNamespaceHandler} instance.
*/
public CdiNamespaceHandler()
{
registerProcessor(BeanProcessor.class);
}
}