All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ow2.petals.microkernel.api.jbi.messaging.endpoint.EndpointDirectoryServiceInterceptorLC1a2eb783 Maven / Gradle / Ivy

There is a newer version: 4.3.0
Show newest version
/*
 * Generated by: 
 *   org.objectweb.fractal.juliac.proxy.InterceptorClassGenerator
 *     org.objectweb.fractal.juliac.proxy.LifeCycleSourceCodeGenerator matches true
 * on: Wed Sep 21 08:11:48 GMT+01:00 2016
 */

package org.ow2.petals.microkernel.api.jbi.messaging.endpoint;


public class EndpointDirectoryServiceInterceptorLC1a2eb783
implements org.ow2.petals.microkernel.api.jbi.messaging.endpoint.EndpointDirectoryService,org.objectweb.fractal.julia.Interceptor {

  private org.ow2.petals.microkernel.api.jbi.messaging.endpoint.EndpointDirectoryService _impl;
  private juliac.generated.LifeCycleControllerImpl _lc;
  public EndpointDirectoryServiceInterceptorLC1a2eb783()  {
  }

  private EndpointDirectoryServiceInterceptorLC1a2eb783(Object obj)  {
    setFcItfDelegate(obj);
  }

  public void initFcController(org.objectweb.fractal.julia.InitializationContext ic) throws org.objectweb.fractal.api.factory.InstantiationException  {
    Object olc = ic.getInterface("lifecycle-controller");
    if ( !( olc instanceof juliac.generated.LifeCycleControllerImpl ) )
    {
      while ( olc instanceof org.objectweb.fractal.julia.Interceptor )
      {
        olc = ((org.objectweb.fractal.julia.Interceptor)olc).getFcItfDelegate();
      }

    }
    _lc = (juliac.generated.LifeCycleControllerImpl) olc;
  }

  public Object clone()  {
    EndpointDirectoryServiceInterceptorLC1a2eb783 clone = new EndpointDirectoryServiceInterceptorLC1a2eb783(getFcItfDelegate());
    clone._lc = _lc;
    return clone;
  }

  public Object getFcItfDelegate()  {
    return _impl;
  }

  public void setFcItfDelegate(Object obj)  {
    _impl = (org.ow2.petals.microkernel.api.jbi.messaging.endpoint.EndpointDirectoryService)obj;
  }

  public java.util.List> getAllExternalEndpoints()  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    java.util.List> ret = _impl.getAllExternalEndpoints();
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint activateEndpoint(final javax.xml.namespace.QName arg0,final java.lang.String arg1,final javax.xml.namespace.QName[] arg2,final org.w3c.dom.Document arg3,final java.lang.String arg4) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint ret = _impl.activateEndpoint(arg0,arg1,arg2,arg3,arg4);
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public void registerConnection(final javax.xml.namespace.QName arg0,final javax.xml.namespace.QName arg1,final java.lang.String arg2) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    _impl.registerConnection(arg0,arg1,arg2);
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public void registerConnection(final javax.xml.namespace.QName arg0,final java.lang.String arg1,final javax.xml.namespace.QName arg2,final java.lang.String arg3) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    _impl.registerConnection(arg0,arg1,arg2,arg3);
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public void deregisterConnection(final javax.xml.namespace.QName arg0,final java.lang.String arg1,final javax.xml.namespace.QName arg2,final java.lang.String arg3) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    _impl.deregisterConnection(arg0,arg1,arg2,arg3);
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public void deregisterConnection(final javax.xml.namespace.QName arg0,final javax.xml.namespace.QName arg1,final java.lang.String arg2) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    _impl.deregisterConnection(arg0,arg1,arg2);
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public java.util.Collection getExternalEndpointsForInterface(final javax.xml.namespace.QName arg0) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    java.util.Collection ret = _impl.getExternalEndpointsForInterface(arg0);
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public void deregisterExternalEndpoint(final javax.jbi.servicedesc.ServiceEndpoint arg0,final java.lang.String arg1) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    _impl.deregisterExternalEndpoint(arg0,arg1);
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public org.w3c.dom.Document getDescription(final javax.jbi.servicedesc.ServiceEndpoint arg0) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    org.w3c.dom.Document ret = _impl.getDescription(arg0);
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public java.lang.String getDescription(final java.lang.String arg0,final java.lang.String arg1) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    java.lang.String ret = _impl.getDescription(arg0,arg1);
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint getInternalEndpoint(final javax.xml.namespace.QName arg0,final java.lang.String arg1) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint ret = _impl.getInternalEndpoint(arg0,arg1);
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public java.util.Collection getEndpoints() throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    java.util.Collection ret = _impl.getEndpoints();
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public java.util.Collection getExternalEndpointsForService(final javax.xml.namespace.QName arg0) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    java.util.Collection ret = _impl.getExternalEndpointsForService(arg0);
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public java.util.List> getAllInternalEndpoints()  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    java.util.List> ret = _impl.getAllInternalEndpoints();
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public java.util.Collection getInternalEndpointsForInterface(final javax.xml.namespace.QName arg0) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    java.util.Collection ret = _impl.getInternalEndpointsForInterface(arg0);
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public java.util.Collection getInternalEndpointsForService(final javax.xml.namespace.QName arg0) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    java.util.Collection ret = _impl.getInternalEndpointsForService(arg0);
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public java.util.Collection getInternalEndpoints() throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    java.util.Collection ret = _impl.getInternalEndpoints();
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public java.util.Collection getExternalEndpoints() throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    java.util.Collection ret = _impl.getExternalEndpoints();
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public void registerExternalEndpoint(final javax.jbi.servicedesc.ServiceEndpoint arg0,final java.lang.String arg1) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    _impl.registerExternalEndpoint(arg0,arg1);
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint getExternalEndpoint(final javax.xml.namespace.QName arg0,final java.lang.String arg1) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint ret = _impl.getExternalEndpoint(arg0,arg1);
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public java.util.List> getAllEndpoints()  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    java.util.List> ret = _impl.getAllEndpoints();
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public javax.jbi.servicedesc.ServiceEndpoint resolveEndpointReference(final org.w3c.dom.DocumentFragment arg0) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    javax.jbi.servicedesc.ServiceEndpoint ret = _impl.resolveEndpointReference(arg0);
    return ret;
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

  public void deactivateEndpoint(final java.lang.String arg0,final javax.xml.namespace.QName arg1,final java.lang.String arg2) throws org.ow2.petals.clientserverapi.jbi.messaging.endpoint.exception.EndpointDirectoryException  {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.incrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter++;
      }

    }

      try {
    _impl.deactivateEndpoint(arg0,arg1,arg2);
      }
      finally {
    synchronized(_lc)
    {
      if ( _lc.fcState != 2 )
      {
        _lc.decrementFcInvocationCounter();
      }
      else
      {
        _lc.fcInvocationCounter--;
      }

    }

      }
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy