Package org.wso2.carbon.registry.core

Examples of org.wso2.carbon.registry.core.Aspect.associate()


            if ((resource.getAspects() == null) || (!resource.getAspects().contains(aspectName))) {
                Aspect aspect = getAspect(aspectName);
                if (aspect == null) {
                    throw new RegistryException("Couldn't find aspectName '" + aspectName + "'");
                }
                aspect.associate(resource, this);
                resource.addAspect(aspectName);
                put(resource.getPath(), resource);
                registryContext.getLogWriter().addLog(
                        resource.getPath(), CurrentSession.getUser(), LogEntry.ASSOCIATE_ASPECT,
                        aspectName);
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.