Examples of NamedServiceEndpoint


Examples of org.impalaframework.service.NamedServiceEndpoint

    protected final void processContributions(Collection<String> contributions) {
        for (String beanName : contributions) {

            Object bean = beanFactory.getBean(beanName);

            NamedServiceEndpoint endPoint = getServiceEndpoint(beanName, bean);

            //if contribution endpoint exists corresponding with bean name, then we add
            //to the contribution map, and register the bean
            if (endPoint != null) {
               
View Full Code Here

Examples of org.impalaframework.service.NamedServiceEndpoint

     * @return {@link NamedServiceEndpoint} if present, otherwise null.
     */
    static NamedServiceEndpoint findServiceEndpoint(
            BeanFactory beanFactory, String beanName) {

        NamedServiceEndpoint endpoint = null;

        //continue looping until you find an endpoint or have no more parents to check through
        while (beanFactory != null && endpoint == null) {

            if (beanFactory instanceof HierarchicalBeanFactory) {
View Full Code Here

Examples of org.impalaframework.service.NamedServiceEndpoint

     * (qualified using the factory bean prefix &), assuming this exists.
     */
    private static NamedServiceEndpoint getEndpoint(BeanFactory beanFactory,
            String beanName) {
       
        NamedServiceEndpoint endpoint = null;
        if (beanFactory != null) {
     
            String parentFactoryBeanName = "&" + beanName;
     
            try {
View Full Code Here

Examples of org.impalaframework.service.NamedServiceEndpoint

     * @return {@link NamedServiceEndpoint} if present, otherwise null.
     */
    static NamedServiceEndpoint findServiceEndpoint(
            BeanFactory beanFactory, String beanName) {

        NamedServiceEndpoint endpoint = null;

        //continue looping until you find an endpoint or have no more parents to check through
        while (beanFactory != null && endpoint == null) {

            if (beanFactory instanceof HierarchicalBeanFactory) {
View Full Code Here

Examples of org.impalaframework.service.NamedServiceEndpoint

     * (qualified using the factory bean prefix &), assuming this exists.
     */
    private static NamedServiceEndpoint getEndpoint(BeanFactory beanFactory,
            String beanName) {
       
        NamedServiceEndpoint endpoint = null;
        if (beanFactory != null) {
     
            String parentFactoryBeanName = "&" + beanName;
     
            try {
View Full Code Here

Examples of org.impalaframework.service.NamedServiceEndpoint

        Set<String> beanNames = contributions.keySet();
        processContributions(beanNames);
    }

    protected NamedServiceEndpoint getServiceEndpoint(String beanName, Object bean) {
        NamedServiceEndpoint endPoint = SpringModuleServiceUtils.findServiceEndpoint(getBeanFactory(), beanName);

        if (endPoint == null) {
            String proxyTypes = contributions.get(beanName);
            checkContributionClasses(bean, beanName, proxyTypes);
           
View Full Code Here

Examples of org.impalaframework.service.NamedServiceEndpoint

        if (!beansEncountered.contains(beanName) && !referenceMap.containsKey(beanName)) {
           
            if (SpringServiceBeanUtils.isSingleton(beanFactory, beanName)) {
       
                //only if there is a contribution end point corresponding with bean name do we register the service
                NamedServiceEndpoint endPoint = SpringModuleServiceUtils.findServiceEndpoint(beanFactory, beanName);
                if (hasRegisterableEndpoint(beanName, endPoint)) {         
                    logger.info("Contributing bean " + beanName + " from module " + moduleName);
                   
                    final ServiceBeanReference service = new StaticSpringServiceBeanReference(bean);
                    final ServiceRegistryEntry serviceReference = serviceRegistry.addService(beanName, moduleName, service, beanClassLoader);
View Full Code Here

Examples of org.impalaframework.service.NamedServiceEndpoint

    protected final void processContributions(Collection<String> contributions) {
        for (String beanName : contributions) {

            Object bean = beanFactory.getBean(beanName);

            NamedServiceEndpoint endPoint = getServiceEndpoint(beanName, bean);

            //if contribution endpoint exists corresponding with bean name, then we add
            //to the contribution map, and register the bean
            if (endPoint != null) {
               
View Full Code Here

Examples of org.impalaframework.service.NamedServiceEndpoint

    protected final void processContributions(Collection<String> contributions) {
        for (String beanName : contributions) {

            Object bean = beanFactory.getBean(beanName);

            NamedServiceEndpoint endPoint = getServiceEndpoint(beanName, bean);

            //if contribution endpoint exists corresponding with bean name, then we add
            //to the contribution map, and register the bean
            if (endPoint != null) {
               
View Full Code Here

Examples of org.impalaframework.service.NamedServiceEndpoint

     * @return {@link NamedServiceEndpoint} if present, otherwise null.
     */
    static NamedServiceEndpoint findServiceEndpoint(
            BeanFactory beanFactory, String beanName) {

        NamedServiceEndpoint endpoint = null;

        //continue looping until you find an endpoint or have no more parents to check through
        while (beanFactory != null && endpoint == null) {

            if (beanFactory instanceof HierarchicalBeanFactory) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.