fr.umlv.corosol.component.proxy
Interface JProxyFactory

All Superinterfaces:
JObject
All Known Implementing Classes:
DefaultJImplementationRepository, JImplementationRepository

public interface JProxyFactory
extends JObject

This class is a object proxy factory. The methods createProxy creates on demand a proxy class for a particular JVMComponent instance or for a JClassInstance object.

Author:
Christophe Deleray
See Also:
JClassInstance, JVMComponent

Method Summary
 JProxy createProxy(JClassInstance instance)
          Creates a proxy instance for the specified class instance.
 JProxy createProxy(JVMComponent component)
          Creates a proxy instance for the specified component object.
 

Method Detail

createProxy

JProxy createProxy(JVMComponent component)
Creates a proxy instance for the specified component object.

Parameters:
component - a JVM component instance
Returns:
a proxy for the specified component

createProxy

JProxy createProxy(JClassInstance instance)
Creates a proxy instance for the specified class instance.

Parameters:
instance - a class instance allocated in the Corosol heap.
Returns:
a proxy for the specified class instance