buggy_function stringlengths 1 391k | fixed_function stringlengths 0 392k |
|---|---|
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... | package org.jboss.as.test.integration.ejb.entity.cmp.commerce;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is... |
package org.jboss.as.test.integration.ejb.entity.cmp.optimisticlock.bug1006723.testentity;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... | package org.jboss.as.test.integration.ejb.entity.cmp.optimisticlock.bug1006723.testentity;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... |
package org.jboss.as.test.integration.ejb.entity.cmp.optimisticlock.interfaces;
/*
* Generated by XDoclet - Do not edit!
*/
package org.jboss.as.testsuite.integration.ejb.entity.cmp.optimisticlock.interfaces;
/**
* Local interface for CmpEntity.
*/
public interface CmpEntityLocal
extends javax.ejb.EJBLoca... | package org.jboss.as.test.integration.ejb.entity.cmp.optimisticlock.interfaces;
/*
* Generated by XDoclet - Do not edit!
*/
package org.jboss.as.test.integration.ejb.entity.cmp.optimisticlock.interfaces;
/**
* Local interface for CmpEntity.
*/
public interface CmpEntityLocal
extends javax.ejb.EJBLocalObje... |
package org.jboss.as.test.integration.ejb.entity.cmp.optimisticlock.interfaces;
/*
* Generated by XDoclet - Do not edit!
*/
package org.jboss.as.testsuite.integration.ejb.entity.cmp.optimisticlock.interfaces;
/**
* Local home interface for CmpEntity.
*/
public interface CmpEntityLocalHome extends javax.ejb.EJBLoc... | package org.jboss.as.test.integration.ejb.entity.cmp.optimisticlock.interfaces;
/*
* Generated by XDoclet - Do not edit!
*/
package org.jboss.as.test.integration.ejb.entity.cmp.optimisticlock.interfaces;
/**
* Local home interface for CmpEntity.
*/
public interface CmpEntityLocalHome extends javax.ejb.EJBLocalHom... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.manyToManyBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.manyToManyBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.manyToManyBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.manyToManyBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.manyToManyUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of ... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.manyToManyUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of ... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.manyToManyUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of ... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.manyToManyUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of ... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.manyToOneUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.manyToOneUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.manyToOneUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.manyToOneUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.manyToOneUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.manyToOneUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of in... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of in... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of in... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of in... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of in... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of in... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of in... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of in... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToManyUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of i... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToOneBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of ind... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToOneBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of ind... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToOneBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of ind... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToOneBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of ind... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToOneBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of ind... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToOneBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of ind... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToOneBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of ind... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToOneBidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of ind... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToOneUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of in... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToOneUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of in... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToOneUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of in... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToOneUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of in... |
package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToOneUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of in... | package org.jboss.as.test.integration.ejb.entity.cmp.relationship.oneToOneUnidirectional;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of in... |
package org.jboss.as.test.integration.ejb.entity.cmp.simple;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is f... | package org.jboss.as.test.integration.ejb.entity.cmp.simple;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is f... |
package org.jboss.as.test.integration.ejb.entity.cmp.simple;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is f... | package org.jboss.as.test.integration.ejb.entity.cmp.simple;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is f... |
package org.jboss.as.test.integration.ejb.entity.cmp.simple;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is f... | package org.jboss.as.test.integration.ejb.entity.cmp.simple;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is f... |
package org.jboss.as.test.integration.ejb.entity.cmp.simple;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is f... | package org.jboss.as.test.integration.ejb.entity.cmp.simple;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is f... |
protected Object doResolveDependency(DependencyDescriptor descriptor, Class<?> type, String beanName,
Set<String> autowiredBeanNames, TypeConverter typeConverter) throws BeansException {
Object value = getAutowireCandidateResolver().getSuggestedValue(descriptor);
if (value != null) {
if (value instanceof S... | protected Object doResolveDependency(DependencyDescriptor descriptor, Class<?> type, String beanName,
Set<String> autowiredBeanNames, TypeConverter typeConverter) throws BeansException {
Object value = getAutowireCandidateResolver().getSuggestedValue(descriptor);
if (value != null) {
if (value instanceof S... |
public void doWith(Method method) throws IllegalArgumentException, IllegalAccessException {
if (method.getName().equals(factoryMethodName) &&
FactoryBean.class.isAssignableFrom(method.getReturnType())) {
objectType.value = GenericTypeResolver.resolveReturnTypeArgument(method, Facto... | public void doWith(Method method) throws IllegalArgumentException, IllegalAccessException {
if (method.getName().equals(factoryMethodName) &&
FactoryBean.class.isAssignableFrom(method.getReturnType())) {
objectType.value = GenericTypeResolver.resolveReturnTypeArgument(method, Facto... |
private Map<Set<ServerIdentity>, ModelNode> getServerInterfaceOperations(ModelNode operation, PathAddress address,
ModelNode hostModel, boolean forDomain) {
String pathName = address.getElement(0).getValue();
Map<Set<ServerIdentity>, ModelNode> result;
if (forDomain && hostModel.... | private Map<Set<ServerIdentity>, ModelNode> getServerInterfaceOperations(ModelNode operation, PathAddress address,
ModelNode hostModel, boolean forDomain) {
String pathName = address.getElement(0).getValue();
Map<Set<ServerIdentity>, ModelNode> result;
if (forDomain && hostModel.... |
public void handleMessageToClientUserDestination() {
StompHeaderAccessor headers = StompHeaderAccessor.create(StompCommand.MESSAGE);
headers.setMessageId("mess0");
headers.setSubscriptionId("sub0");
headers.setDestination("/queue/foo-user123");
headers.setHeader(StompHeaderAccessor.ORIGINAL_DESTINATION, "/u... | public void handleMessageToClientUserDestination() {
StompHeaderAccessor headers = StompHeaderAccessor.create(StompCommand.MESSAGE);
headers.setMessageId("mess0");
headers.setSubscriptionId("sub0");
headers.setDestination("/queue/foo-user123");
headers.setNativeHeader(StompHeaderAccessor.ORIGINAL_DESTINATIO... |
public void testAdHocData() {
FastCosineTransformer transformer = FastCosineTransformer.create();
double result[], tolerance = 1E-12;
double x[] = { 0.0, 1.0, 4.0, 9.0, 16.0, 25.0, 36.0, 49.0, 64.0 };
double y[] = { 172.0, -105.096569476353, 27.3137084989848,
-... | public void testAdHocData() {
FastCosineTransformer transformer = FastCosineTransformer.create();
double result[], tolerance = 1E-12;
double x[] = { 0.0, 1.0, 4.0, 9.0, 16.0, 25.0, 36.0, 49.0, 64.0 };
double y[] = { 172.0, -105.096569476353, 27.3137084989848,
-... |
public void testAdHocData() {
FastSineTransformer transformer = FastSineTransformer.create();
double result[], tolerance = 1E-12;
double x[] = { 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0 };
double y[] = { 0.0, 20.1093579685034, -9.65685424949238,
5.98642305066196... | public void testAdHocData() {
FastSineTransformer transformer = FastSineTransformer.create();
double result[], tolerance = 1E-12;
double x[] = { 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0 };
double y[] = { 0.0, 20.1093579685034, -9.65685424949238,
5.98642305066196... |
protected void register(ManagementResourceRegistration registration) {
if (PlatformMBeanUtil.JVM_MAJOR_VERSION > 6) {
registration.registerReadOnlyAttribute(PlatformMBeanConstants.OBJECT_NAME, this, AttributeAccess.Storage.RUNTIME);
}
for (String attribute : PlatformMBeanConsta... | protected void register(ManagementResourceRegistration registration) {
if (PlatformMBeanUtil.JVM_MAJOR_VERSION > 6) {
registration.registerReadOnlyAttribute(PlatformMBeanConstants.OBJECT_NAME, this, AttributeAccess.Storage.RUNTIME);
}
for (String attribute : PlatformMBeanConsta... |
protected void register(ManagementResourceRegistration registration) {
if (PlatformMBeanUtil.JVM_MAJOR_VERSION > 6) {
registration.registerReadOnlyAttribute(PlatformMBeanConstants.OBJECT_NAME, this, AttributeAccess.Storage.RUNTIME);
}
for (String attribute : PlatformMBeanConsta... | protected void register(ManagementResourceRegistration registration) {
if (PlatformMBeanUtil.JVM_MAJOR_VERSION > 6) {
registration.registerReadOnlyAttribute(PlatformMBeanConstants.OBJECT_NAME, this, AttributeAccess.Storage.RUNTIME);
}
for (String attribute : PlatformMBeanConsta... |
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
validator.validate(operation);
ThreadMXBean mbean = ManagementFactory.getThreadMXBean();
try {
long id = operation.require(PlatformMBeanConstants.ID).asLong();
Thread... | public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
validator.validate(operation);
ThreadMXBean mbean = ManagementFactory.getThreadMXBean();
try {
long id = operation.require(PlatformMBeanConstants.ID).asLong();
Thread... |
public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
try {
final long[] ids = getIds(operation);
ThreadMXBean mbean = ManagementFactory.getThreadMXBean();
ThreadInfo[] infos = null;
if (operation.hasDefined(Plat... | public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
try {
final long[] ids = getIds(operation);
ThreadMXBean mbean = ManagementFactory.getThreadMXBean();
ThreadInfo[] infos;
if (operation.hasDefined(PlatformMBe... |
public void init() {
profileNames = CLITestSuite.serverProfiles.keySet().toArray(new String[] {});
}
| public void init() {
profileNames = CLITestSuite.serverProfiles.keySet().toArray(new String[CLITestSuite.serverProfiles.size()]);
}
|
Object get(String name, ObjectFactory<?> objectFactory);
/*
* Copyright 2002-2008 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.a... | Object get(String name, ObjectFactory<?> objectFactory);
/*
* Copyright 2002-2008 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.a... |
public static StatisticalSummaryValues aggregate(Collection<SummaryStatistics> statistics) {
if (statistics == null) {
return null;
}
Iterator<SummaryStatistics> iterator = statistics.iterator();
if (!iterator.hasNext()) {
return null;
}
Summar... | public static StatisticalSummaryValues aggregate(Collection<SummaryStatistics> statistics) {
if (statistics == null) {
return null;
}
Iterator<SummaryStatistics> iterator = statistics.iterator();
if (!iterator.hasNext()) {
return null;
}
Summar... |
public DomainController(DomainControllerEnvironment environment) {
this.environment = environment;
}
/**
* Start the domain controller
*/
void start() {
launchCommunicationHandler();
sendMessage(ServerManagerProtocolCommand.SERVER_AVAILABLE);
}
/**
* Sta... | public DomainController(DomainControllerEnvironment environment) {
this.environment = environment;
}
/**
* Start the domain controller
*/
void start() {
launchCommunicationHandler();
sendMessage(ServerManagerProtocolCommand.SERVER_AVAILABLE);
}
/**
* Sta... |
public synchronized void start(StartContext context) throws StartException {
executorService = Executors.newCachedThreadPool(); // TODO inject from JBoss Threads
final NetworkInterfaceBinding interfaceBinding = interfaceBindingValue.getValue();
try {
serverSocket = new ServerSock... | public synchronized void start(StartContext context) throws StartException {
executorService = Executors.newCachedThreadPool(); // TODO inject from JBoss Threads
final NetworkInterfaceBinding interfaceBinding = interfaceBindingValue.getValue();
try {
serverSocket = new ServerSock... |
private Operation getCompositeOperation(DeploymentPlanImpl plan) {
ModelNode op = new ModelNode();
op.get(OP).set(COMPOSITE);
op.get(OP_ADDR).setEmptyList();
ModelNode steps = op.get(STEPS);
steps.setEmptyList();
op.get(OPERATION_HEADERS, ROLLBACK_ON_RUNTIME_FAILURE)... | private Operation getCompositeOperation(DeploymentPlanImpl plan) {
ModelNode op = new ModelNode();
op.get(OP).set(COMPOSITE);
op.get(OP_ADDR).setEmptyList();
ModelNode steps = op.get(STEPS);
steps.setEmptyList();
op.get(OPERATION_HEADERS, ROLLBACK_ON_RUNTIME_FAILURE)... |
IllegalStateException illegalStateArtifactBaseLocation(File dir);
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This... | IllegalStateException illegalStateArtifactBaseLocation(File dir);
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This... |
protected PatchingTestStepBuilder testModuleConflicts(final ContentVerificationPolicy resolvePolicy) throws Exception {
final PatchingTestBuilder builder = createDefaultBuilder();
final byte[] moduleHash = new byte[20];
// Create a conflict
final File base = builder.getFile("modules... | protected PatchingTestStepBuilder testModuleConflicts(final ContentVerificationPolicy resolvePolicy) throws Exception {
final PatchingTestBuilder builder = createDefaultBuilder();
final byte[] moduleHash = new byte[20];
// Create a conflict
final File base = builder.getFile("modules... |
public Character convert(String source) throws Exception {
if (source.length() > 1) {
throw new IllegalArgumentException("To be a Character the String '" + source + "' must have a length of 1");
}
return new Character(source.charAt(0));
}
| public Character convert(String source) throws Exception {
if (source.length() != 1) {
throw new IllegalArgumentException("To be a Character the String '" + source + "' must have a length of 1");
}
return new Character(source.charAt(0));
}
|
import org.jboss.as.controller.ResultHandler;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; y... | import org.jboss.as.controller.ResultHandler;
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; y... |
public void test() throws Exception {
InputStream is = getXmlUrl("jbossws-deployment-aspects-example.xml").openStream();
try {
List<DeploymentAspect> das = WSDeploymentAspectParser.parse(is);
assertEquals(4, das.size());
boolean da1Found = false;
boole... | public void test() throws Exception {
InputStream is = getXmlUrl("jbossws-deployment-aspects-example.xml").openStream();
try {
List<DeploymentAspect> das = WSDeploymentAspectParser.parse(is, this.getClass().getClassLoader());
assertEquals(4, das.size());
boolean d... |
IIOPLogger ROOT_LOGGER = Logger.getMessageLogger(IIOPLogger.class, "org.wildfly.iiop.openjdk");
/*
* JBoss, Home of Professional Open Source.
* Copyright 2014, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of indiv... | IIOPLogger ROOT_LOGGER = Logger.getMessageLogger(IIOPLogger.class, "org.wildfly.iiop.openjdk");
/*
* JBoss, Home of Professional Open Source.
* Copyright 2014, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of indiv... |
private void checkDaemonFlag(boolean flag) {
ThreadFactory wrapped = EasyMock.createMock(ThreadFactory.class);
Runnable r = EasyMock.createMock(Runnable.class);
Thread t = new Thread();
EasyMock.expect(wrapped.newThread(r)).andReturn(t);
EasyMock.replay(wrapped, r);
B... | private void checkDaemonFlag(boolean flag) {
ThreadFactory wrapped = EasyMock.createMock(ThreadFactory.class);
Runnable r = EasyMock.createMock(Runnable.class);
Thread t = new Thread();
EasyMock.expect(wrapped.newThread(r)).andReturn(t);
EasyMock.replay(wrapped, r);
B... |
public void testTripleOf() throws Exception {
Triple<Integer, String, Boolean> triple = Triple.of(0, "foo", Boolean.TRUE);
assertTrue(triple instanceof ImmutableTriple<?, ?, ?>);
assertEquals(0, ((ImmutableTriple<Integer, String, Boolean>) triple).left.intValue());
assertEquals("foo"... | public void testTripleOf() throws Exception {
Triple<Integer, String, Boolean> triple = Triple.of(0, "foo", Boolean.TRUE);
assertTrue(triple instanceof ImmutableTriple<?, ?, ?>);
assertEquals(0, ((ImmutableTriple<Integer, String, Boolean>) triple).left.intValue());
assertEquals("foo"... |
public static HostControllerEnvironment determineEnvironment(String[] args, InputStream stdin, PrintStream stdout, PrintStream stderr) {
Integer pmPort = null;
InetAddress pmAddress = null;
final PCSocketConfig pcSocketConfig = new PCSocketConfig();
String defaultJVM = null;
... | public static HostControllerEnvironment determineEnvironment(String[] args, InputStream stdin, PrintStream stdout, PrintStream stderr) {
Integer pmPort = null;
InetAddress pmAddress = null;
final PCSocketConfig pcSocketConfig = new PCSocketConfig();
String defaultJVM = null;
... |
protected final void renderMergedOutputModel(
Map<String, Object> model, HttpServletRequest request, HttpServletResponse response)
throws Exception {
T wireFeed = newFeed();
buildFeedMetadata(model, wireFeed, request);
buildFeedEntries(model, wireFeed, request, response);
response.setContentType(getCon... | protected final void renderMergedOutputModel(
Map<String, Object> model, HttpServletRequest request, HttpServletResponse response)
throws Exception {
T wireFeed = newFeed();
buildFeedMetadata(model, wireFeed, request);
buildFeedEntries(model, wireFeed, request, response);
setResponseContentType(request... |
protected void prepareResponse(HttpServletRequest request, HttpServletResponse response) {
response.setContentType(getContentType());
response.setCharacterEncoding(this.encoding.getJavaName());
if (this.disableCaching) {
response.addHeader("Pragma", "no-cache");
response.addHeader("Cache-Control", "no-cach... | protected void prepareResponse(HttpServletRequest request, HttpServletResponse response) {
setResponseContentType(request, response);
response.setCharacterEncoding(this.encoding.getJavaName());
if (this.disableCaching) {
response.addHeader("Pragma", "no-cache");
response.addHeader("Cache-Control", "no-cach... |
protected void renderMergedOutputModel(Map<String, Object> model,
HttpServletRequest request,
HttpServletResponse response) throws Exception {
Object toBeMarshalled = locateToBeMarshalled(model);
if (toBeMarshalled == null) {
throw new ServletException("Unable to locate object to be ... | protected void renderMergedOutputModel(Map<String, Object> model,
HttpServletRequest request,
HttpServletResponse response) throws Exception {
Object toBeMarshalled = locateToBeMarshalled(model);
if (toBeMarshalled == null) {
throw new ServletException("Unable to locate object to be ... |
private static boolean romePresent =
ClassUtils.isPresent("com.sun.syndication.feed.WireFeed", AnnotationDrivenBeanDefinitionParser.class.getClassLoader());
| private static boolean romePresent =
ClassUtils.isPresent("com.rometools.rome.feed.WireFeed", AnnotationDrivenBeanDefinitionParser.class.getClassLoader());
|
private static boolean romePresent =
ClassUtils.isPresent("com.sun.syndication.feed.WireFeed", WebMvcConfigurationSupport.class.getClassLoader());
| private static boolean romePresent =
ClassUtils.isPresent("com.rometools.rome.feed.WireFeed", WebMvcConfigurationSupport.class.getClassLoader());
|
public void getResourceValue(final ResolutionContext resolutionContext, final ServiceBuilder<?> serviceBuilder, final DeploymentPhaseContext phaseContext, final Injector<ManagedReferenceFactory> injector) {
final String applicationName = resolutionContext.getApplicationName();
final String moduleNam... | public void getResourceValue(final ResolutionContext resolutionContext, final ServiceBuilder<?> serviceBuilder, final DeploymentPhaseContext phaseContext, final Injector<ManagedReferenceFactory> injector) {
final String applicationName = resolutionContext.getApplicationName();
final String moduleNam... |
public static void main(String[] args) throws Exception {
int exitCode = 0;
CommandContext cmdCtx = null;
boolean gui = false;
try {
String argError = null;
List<String> commands = null;
File file = null;
boolean connect = false;
... | public static void main(String[] args) throws Exception {
int exitCode = 0;
CommandContext cmdCtx = null;
boolean gui = false;
try {
String argError = null;
List<String> commands = null;
File file = null;
boolean connect = false;
... |
protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException {
// Because we use child resources in a read-only manner to configure the cache, replace the local model with the full model
ModelNode cacheModel = Resource.Tools.readModel... | protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException {
// Because we use child resources in a read-only manner to configure the cache, replace the local model with the full model
ModelNode cacheModel = Resource.Tools.readModel... |
protected void executeRuntimeStep(OperationContext context, ModelNode operation) {
// Address is of the form: /subsystem=infinispan/cache-container=*
String containerName = context.getCurrentAddressValue();
String name = Operations.getAttributeName(operation);
CacheContainerMetric m... | protected void executeRuntimeStep(OperationContext context, ModelNode operation) {
// Address is of the form: /subsystem=infinispan/cache-container=*
String containerName = Operations.getPathAddress(operation).getLastElement().getValue();
String name = Operations.getAttributeName(operation);... |
protected void executeRuntimeStep(OperationContext context, ModelNode operation) {
// Address is of the form: /subsystem=infinispan/cache-container=*/*-cache=*
PathAddress address = context.getCurrentAddress();
String containerName = address.getElement(address.size() - 2).getValue();
... | protected void executeRuntimeStep(OperationContext context, ModelNode operation) {
// Address is of the form: /subsystem=infinispan/cache-container=*/*-cache=*
PathAddress address = Operations.getPathAddress(operation);
String containerName = address.getElement(address.size() - 2).getValue()... |
protected void executeRuntimeStep(OperationContext context, ModelNode operation) throws OperationFailedException {
// Address is of the form: /subsystem=infinispan/cache-container=*/*-cache=*
PathAddress address = context.getCurrentAddress();
String containerName = address.getElement(address... | protected void executeRuntimeStep(OperationContext context, ModelNode operation) throws OperationFailedException {
// Address is of the form: /subsystem=infinispan/cache-container=*/*-cache=*
PathAddress address = Operations.getPathAddress(operation);
String containerName = address.getElemen... |
protected void executeRuntimeStep(OperationContext context, ModelNode operation) throws OperationFailedException {
// Address is of the form: /subsystem=infinispan/cache-container=*/*-cache=*/eviction=EVICTION
PathAddress address = context.getCurrentAddress();
String containerName = address.... | protected void executeRuntimeStep(OperationContext context, ModelNode operation) throws OperationFailedException {
// Address is of the form: /subsystem=infinispan/cache-container=*/*-cache=*/eviction=EVICTION
PathAddress address = Operations.getPathAddress(operation);
String containerName =... |
protected void executeRuntimeStep(OperationContext context, ModelNode operation) throws OperationFailedException {
// Address is of the form: /subsystem=infinispan/cache-container=*/*-cache=*/locking=LOCKING
PathAddress address = context.getCurrentAddress();
String containerName = address.ge... | protected void executeRuntimeStep(OperationContext context, ModelNode operation) throws OperationFailedException {
// Address is of the form: /subsystem=infinispan/cache-container=*/*-cache=*/locking=LOCKING
PathAddress address = Operations.getPathAddress(operation);
String containerName = a... |
protected void executeRuntimeStep(OperationContext context, ModelNode operation) throws OperationFailedException {
// Address is of the form: /subsystem=infinispan/cache-container=*/*-cache=*/*-store=*
PathAddress address = context.getCurrentAddress();
String containerName = address.getEleme... | protected void executeRuntimeStep(OperationContext context, ModelNode operation) throws OperationFailedException {
// Address is of the form: /subsystem=infinispan/cache-container=*/*-cache=*/*-store=*
PathAddress address = Operations.getPathAddress(operation);
String containerName = address... |
protected void executeRuntimeStep(OperationContext context, ModelNode operation) throws OperationFailedException {
String channelName = context.getCurrentAddressValue();
String name = Operations.getAttributeName(operation);
ChannelMetric metric = ChannelMetric.forName(name);
if (me... | protected void executeRuntimeStep(OperationContext context, ModelNode operation) throws OperationFailedException {
String channelName = Operations.getPathAddress(operation).getLastElement().getValue();
String name = Operations.getAttributeName(operation);
ChannelMetric metric = ChannelMetri... |
private Map<Set<ServerIdentity>, ModelNode> resolveServerConfigOperation(ModelNode operation, PathAddress address,
ModelNode domain, ModelNode host) {
Map<Set<ServerIdentity>, ModelNode> result;
ModelNode serverOp = null;
if (address.size() > 1) {
String type = addres... | private Map<Set<ServerIdentity>, ModelNode> resolveServerConfigOperation(ModelNode operation, PathAddress address,
ModelNode domain, ModelNode host) {
Map<Set<ServerIdentity>, ModelNode> result;
ModelNode serverOp = null;
if (address.size() > 1) {
String type = addres... |
public void remove() {
throw new UnsupportedOperationException();
}
};
}
/**
* Parses the next record from the current point in the stream.
*
* @return the record as an array of values, or <tt>null</tt> if the end of the stream has been reached
... | public CSVRecord nextRecord() throws IOException {
CSVRecord result = null;
this.record.clear();
StringBuilder sb = null;
do {
this.reusableToken.reset();
this.lexer.nextToken(this.reusableToken);
switch (this.reusableToken.type) {
case... |
public void serverId() throws Exception {
SockJsUrlInfo info = new SockJsUrlInfo(new URI("http://example.com"));
int serverId = Integer.valueOf(info.getServerId());
assertTrue("Invalid serverId: " + serverId, serverId > 0 && serverId < 1000);
}
| public void serverId() throws Exception {
SockJsUrlInfo info = new SockJsUrlInfo(new URI("http://example.com"));
int serverId = Integer.valueOf(info.getServerId());
assertTrue("Invalid serverId: " + serverId, serverId >= 0 && serverId < 1000);
}
|
package test.annotation;
/*
* Copyright 2002-2006 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | package test.annotation;
/*
* Copyright 2002-2006 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
package test.annotation.transaction;
/*
* Copyright 2002-2006 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/L... | package test.annotation.transaction;
/*
* Copyright 2002-2006 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/L... |
public void testInstallRuntimeNameExists() throws Exception {
ServerDeploymentHelper server = new ServerDeploymentHelper(managementClient.getControllerClient());
String runtimeName = server.deploy(V200_JAR, deployer.getDeployment(V200_JAR));
try {
try {
context.in... | public void testInstallRuntimeNameExists() throws Exception {
ServerDeploymentHelper server = new ServerDeploymentHelper(managementClient.getControllerClient());
String runtimeName = server.deploy(V200_JAR, deployer.getDeployment(V200_JAR));
try {
try {
context.in... |
public void execute(final OperationContext context, final ModelNode operation) throws OperationFailedException {
final HornetQServer server = AddressSettingAdd.getServer(context);
PathAddress address = null;
HierarchicalRepository<AddressSettin... | public void execute(final OperationContext context, final ModelNode operation) throws OperationFailedException {
final HornetQServer server = AddressSettingAdd.getServer(context, operation);
PathAddress address = null;
HierarchicalRepository<Ad... |
public boolean isSecure() {
return false;
}
| public boolean isSecure() {
return scheme != null && scheme.equals("https");
}
|
public static ModelNode getVaultAddDescription(Locale locale) {
final ResourceBundle bundle = getResourceBundle(locale);
final ModelNode node = new ModelNode();
node.get(OPERATION_NAME).set(ADD);
node.get(DESCRIPTION).set(bundle.getString("jvm.add"));
node.get(REQUEST_PROPERT... | public static ModelNode getVaultAddDescription(Locale locale) {
final ResourceBundle bundle = getResourceBundle(locale);
final ModelNode node = new ModelNode();
node.get(OPERATION_NAME).set(ADD);
node.get(DESCRIPTION).set(bundle.getString("vault.add"));
node.get(REQUEST_PROPE... |
public void testReadResourceResources() throws IOException {
final ModelNode address = new ModelNode();
address.add("subsystem", "datasources");
address.protect();
final ModelNode operation = new ModelNode();
operation.get(OP).set("read-resource-description");
oper... | public void testReadResourceResources() throws IOException {
final ModelNode address = new ModelNode();
address.add("subsystem", "datasources");
address.protect();
final ModelNode operation = new ModelNode();
operation.get(OP).set("read-resource-description");
oper... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.