Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * JBoss, Home of Professional Open Source.
   * Copyright 2006, 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 individual contributors.
   *
   * This is free software; you can redistribute it and/or modify it
   * under the terms of the GNU Lesser General Public License as
   * published by the Free Software Foundation; either version 2.1 of
  * the License, or (at your option) any later version.
  *
  * This software is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this software; if not, write to the Free
  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  */
 package org.jboss.resource.metadata.mcf;
 
 import java.net.URL;
 import java.util.List;
 
 
A ManagedConnectionFactoryDeploymentGroup.

Author(s):
Weston Price
Scott.Stark@jboss.org
Version:
$Revision: 1.1 $
 
 {
   
The serialVersionUID
 
    private static final long serialVersionUID = -7650097438654698297L;

   
The fileUrl
 
    private URL fileUrl;
      
   
The deployments
 
 
    @XmlElements({@XmlElement(name="local-tx-datasource", type=LocalDataSourceDeploymentMetaData.class),
                  @XmlElement(name="no-tx-datasource", type=NoTxDataSourceDeploymentMetaData.class),
                  @XmlElement(name="xa-datasource", type=XADataSourceDeploymentMetaData.class),
                  @XmlElement(name="no-tx-connection-factory", type=NoTxConnectionFactoryDeploymentMetaData.class),
                  @XmlElement(name="tx-connection-factory",type=TxConnectionFactoryDeploymentMetaData.class)})
The services
 
    @XmlElement(name="mbean")
    private List<ServiceMetaDataservices = new ArrayList<ServiceMetaData>();
   
   
The loader repository config
 
    @XmlElement(name="loader-repository")
    
    {
       this..add(deployment);
    }
    
    @ManagementProperty(description="The connection factories", managed=true)
    {
       return Collections.unmodifiableList();
    }

   
Get the fileUrl.

Returns:
the fileUrl.
 
    @ManagementProperty(description="The ds.xml url", ignored=true)
    public URL getUrl()
    {
       return ;
    }

   
Set the fileUrl.

Parameters:
fileUrl The fileUrl to set.
   public void setUrl(URL fileUrl)
   {
      this. = fileUrl;
   }

   
Set the deployments.

Parameters:
deployments The deployments to set.
   {
      this. = deployments;
   }

   
Get the services.

Returns:
the services.
   @ManagementProperty(description="The extra mbeans from the ds.xml", managed=true)
   {
      return ;
   }

   
Set the services.

Parameters:
services The services to set.
   public void setServices(List<ServiceMetaDataservices)
   {
      this. = services;
   }

   
Get the loaderRepositoryConfig.

Returns:
the loaderRepositoryConfig.
   {
      return ;
   }

   
Set the loaderRepositoryConfig.

Parameters:
loaderRepositoryConfig the loaderRepositoryConfig.
   public void setLoaderRepositoryConfig(LoaderRepositoryConfig loaderRepositoryConfig)
   {
      this. = loaderRepositoryConfig;
   }
New to GrepCode? Check out our FAQ X