Package org.jboss.soa.esb

Examples of org.jboss.soa.esb.Service


     * @throws RegistryException
     */
    public EPR findEPR(final String category, final String name)
            throws RegistryException, ServiceNotFoundException
    {
        final Service service = new Service(category, name) ;
        final ConcurrentMap<EPR, AtomicLong> eprs = getEPRs(service) ;
        final Iterator<EPR> eprIter = eprs.keySet().iterator() ;
        if (eprIter.hasNext())
        {
            return eprIter.next() ;
View Full Code Here


     * @throws RegistryException
     */
    public List<EPR> findEPRs(final String category, final String name)
            throws RegistryException, ServiceNotFoundException
    {
        final Service service = new Service(category, name) ;
        final ConcurrentMap<EPR, AtomicLong> eprs = getEPRs(service) ;
        return Arrays.asList(eprs.keySet().toArray(new EPR[0])) ;
    }
View Full Code Here

     */
    public void registerEPR(final String category, final String name,
            final String serviceDescription, final EPR epr, final String eprDescription)
            throws RegistryException
    {
        final Service service = new Service(category, name) ;
        final ServiceInfo serviceInfo = getServiceInfo(service) ;
        if (serviceInfo != null)
        {
            serviceInfo.acquireWriteLock() ;
        }
View Full Code Here

     * @throws RegistryException
     */
    public void unRegisterEPR(final String category, final String name,
            final EPR epr) throws RegistryException, ServiceNotFoundException
    {
        final Service service = new Service(category, name) ;
        final ServiceInfo serviceInfo = getServiceInfo(service) ;
        if (serviceInfo != null)
        {
            serviceInfo.acquireWriteLock() ;
        }
View Full Code Here

     * @throws RegistryException
     */
    public void unRegisterService(final String category, final String name)
            throws RegistryException, ServiceNotFoundException
    {
        final Service service = new Service(category, name) ;
        final ServiceInfo serviceInfo = getServiceInfo(service) ;
        if (serviceInfo != null)
        {
            serviceInfo.acquireWriteLock() ;
        }
View Full Code Here

     * @throws RegistryException
     */
    public EPR findEPR(final String category, final String name)
            throws RegistryException, ServiceNotFoundException
    {
        final Service service = new Service(category, name) ;
        final ConcurrentMap<EPR, AtomicLong> eprMap = getEPRs(service) ;
       
        if (eprMap != null)
        {
            final Iterator<EPR> eprIter = eprMap.keySet().iterator() ;
View Full Code Here

     * @throws RegistryException
     */
    public List<EPR> findEPRs(final String category, final String name)
            throws RegistryException, ServiceNotFoundException
    {
        final Service service = new Service(category, name) ;
        final ConcurrentMap<EPR, AtomicLong> eprMap = getEPRs(service) ;
       
        if (eprMap != null)
        {
            final Set<EPR> eprSet = eprMap.keySet() ;
View Full Code Here

    {
        if (LOGGER.isDebugEnabled())
        {
            LOGGER.debug("Registering EPR " + epr + " for category " + category + ", name " + name) ;
        }
        final Service service = new Service(category, name) ;
        final ServiceInfo serviceInfo = createWriteLockServiceInfo(service) ;
        try
        {
            getRegistry().registerEPR(category, name, serviceDescription, epr, eprDescription) ;
            final ConcurrentMap<EPR, AtomicLong> eprs = serviceInfo.getEPRs() ;
View Full Code Here

    {
        if (LOGGER.isDebugEnabled())
        {
            LOGGER.debug("Unregistering EPR " + epr + " for category " + category + ", name " + name) ;
        }
        final Service service = new Service(category, name) ;
        final ServiceInfo serviceInfo = getWriteLockServiceInfo(service) ;
        if (serviceInfo != null)
        {
            try
            {
View Full Code Here

        if (LOGGER.isDebugEnabled())
        {
            LOGGER.debug("Unregistering service category " + category + ", name " + name) ;
        }
       
        final Service service = new Service(category, name) ;
        final ServiceInfo serviceInfo = getWriteLockServiceInfo(service) ;
        if (serviceInfo != null)
        {
            try
            {
View Full Code Here

TOP

Related Classes of org.jboss.soa.esb.Service

Copyright © 2018 www.massapicom. 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.