org.ow2.petals.microkernel.api.communication.sharedarea.SharedAreaServiceInterceptorLC5d2c26a9 Maven / Gradle / Ivy
/*
* Generated by:
* org.objectweb.fractal.juliac.proxy.InterceptorClassGenerator
* org.objectweb.fractal.juliac.proxy.LifeCycleSourceCodeGenerator matches true
* on: Wed Sep 21 08:11:49 GMT+01:00 2016
*/
package org.ow2.petals.microkernel.api.communication.sharedarea;
public class SharedAreaServiceInterceptorLC5d2c26a9
implements org.ow2.petals.microkernel.api.communication.sharedarea.SharedAreaService,org.objectweb.fractal.julia.Interceptor {
private org.ow2.petals.microkernel.api.communication.sharedarea.SharedAreaService _impl;
private juliac.generated.LifeCycleControllerNoFracletImpl _lc;
public SharedAreaServiceInterceptorLC5d2c26a9() {
}
private SharedAreaServiceInterceptorLC5d2c26a9(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.LifeCycleControllerNoFracletImpl ) )
{
while ( olc instanceof org.objectweb.fractal.julia.Interceptor )
{
olc = ((org.objectweb.fractal.julia.Interceptor)olc).getFcItfDelegate();
}
}
_lc = (juliac.generated.LifeCycleControllerNoFracletImpl) olc;
}
public Object clone() {
SharedAreaServiceInterceptorLC5d2c26a9 clone = new SharedAreaServiceInterceptorLC5d2c26a9(getFcItfDelegate());
clone._lc = _lc;
return clone;
}
public Object getFcItfDelegate() {
return _impl;
}
public void setFcItfDelegate(Object obj) {
_impl = (org.ow2.petals.microkernel.api.communication.sharedarea.SharedAreaService)obj;
}
public org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint deregisterEndpoint(final javax.xml.namespace.QName arg0,final java.lang.String arg1,final java.lang.String arg2,final org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint.EndpointType arg3) throws org.ow2.petals.microkernel.api.communication.sharedarea.exception.SharedAreaException {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint ret = _impl.deregisterEndpoint(arg0,arg1,arg2,arg3);
return ret;
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
public org.w3c.dom.Document getTopologyPartConfiguration(final java.util.Properties arg0) throws org.ow2.petals.microkernel.api.implementation.exception.MutableImplException {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
org.w3c.dom.Document ret = _impl.getTopologyPartConfiguration(arg0);
return ret;
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
public java.util.Collection getEndpointsForInterface(final javax.xml.namespace.QName arg0,final org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint.EndpointType arg1) throws org.ow2.petals.microkernel.api.communication.sharedarea.exception.SharedAreaException {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
java.util.Collection ret = _impl.getEndpointsForInterface(arg0,arg1);
return ret;
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
public java.lang.String getImplementationName() {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
java.lang.String ret = _impl.getImplementationName();
return ret;
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
public java.util.Collection getEndpointsForService(final javax.xml.namespace.QName arg0,final org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint.EndpointType arg1) throws org.ow2.petals.microkernel.api.communication.sharedarea.exception.SharedAreaException {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
java.util.Collection ret = _impl.getEndpointsForService(arg0,arg1);
return ret;
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
public org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint registerExternalEndpoint(final javax.jbi.servicedesc.ServiceEndpoint arg0,final java.lang.String arg1) throws org.ow2.petals.microkernel.api.communication.sharedarea.exception.SharedAreaException {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint ret = _impl.registerExternalEndpoint(arg0,arg1);
return ret;
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
public java.util.Collection getEndpoints(final org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint.EndpointType arg0) throws org.ow2.petals.microkernel.api.communication.sharedarea.exception.SharedAreaException {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
java.util.Collection ret = _impl.getEndpoints(arg0);
return ret;
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
public java.util.Properties getConfiguration(final java.lang.String arg0) throws org.ow2.petals.microkernel.api.implementation.exception.MutableImplException {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
java.util.Properties ret = _impl.getConfiguration(arg0);
return ret;
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
public java.lang.String getDescription(final javax.xml.namespace.QName arg0,final java.lang.String arg1) throws org.ow2.petals.microkernel.api.communication.sharedarea.exception.SharedAreaException {
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 com.google.common.base.Optional getDescription(final javax.jbi.servicedesc.ServiceEndpoint arg0) throws org.ow2.petals.microkernel.api.communication.sharedarea.exception.SharedAreaException {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
com.google.common.base.Optional ret = _impl.getDescription(arg0);
return ret;
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
public void joinTopology(final boolean arg0) throws org.ow2.petals.microkernel.api.communication.sharedarea.exception.SharedAreaException {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
_impl.joinTopology(arg0);
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
public org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint registerInternalEndpoint(final java.lang.String arg0,final javax.xml.namespace.QName arg1,final javax.xml.namespace.QName[] arg2,final java.lang.String arg3,final org.w3c.dom.Document arg4) throws org.ow2.petals.microkernel.api.communication.sharedarea.exception.SharedAreaException {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint ret = _impl.registerInternalEndpoint(arg0,arg1,arg2,arg3,arg4);
return ret;
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
public void restoreEndpoints(final java.util.Collection arg0) throws org.ow2.petals.microkernel.api.communication.sharedarea.exception.SharedAreaException {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
_impl.restoreEndpoints(arg0);
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
public org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint getEndpoint(final javax.xml.namespace.QName arg0,final java.lang.String arg1,final org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint.EndpointType arg2) throws org.ow2.petals.microkernel.api.communication.sharedarea.exception.SharedAreaException {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
org.ow2.petals.jbi.servicedesc.endpoint.PetalsServiceEndpoint ret = _impl.getEndpoint(arg0,arg1,arg2);
return ret;
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
public java.util.Collection leaveTopology() throws org.ow2.petals.microkernel.api.communication.sharedarea.exception.SharedAreaException {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
java.util.Collection ret = _impl.leaveTopology();
return ret;
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
public java.lang.String getImplementationVersion() {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.incrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter++;
}
}
try {
java.lang.String ret = _impl.getImplementationVersion();
return ret;
}
finally {
synchronized(_lc)
{
if ( _lc.fcState != 2 )
{
_lc.decrementFcInvocationCounter();
}
else
{
_lc.fcInvocationCounter--;
}
}
}
}
}