net.sf.crispy.proxy
Class StaticProxy

java.lang.Object
  extended bynet.sf.crispy.proxy.Proxy
      extended bynet.sf.crispy.proxy.StaticProxy
Direct Known Subclasses:
StaticBurlapProxy, StaticCorbaProxy, StaticEjbProxy, StaticHessianProxy, StaticLocalObjectProxy, StaticProxyDecorator, StaticRmiProxy

public abstract class StaticProxy
extends Proxy

Parent-Proxy for all classes that have your own stubs.

Author:
Linke

Field Summary
static java.lang.String PROPERTY_CURRENT_INTERFACE_CLASS
           
 
Fields inherited from class net.sf.crispy.proxy.Proxy
log
 
Constructor Summary
StaticProxy()
           
StaticProxy(java.util.Properties pvProperties)
           
 
Method Summary
 InvocationStrategy getDefaultInvocationStrategy(java.util.Properties pvProperties)
          Get default InvocationStrategy, if no InvocationStrategy is set in the properties.
abstract  java.lang.String getDefaultUrlAndPort()
          Get default url and port, if no url and port is in properties.
 java.lang.Object getInvocationStrategy()
           
 java.lang.String getUrlAndPort()
           
 void setInvocationStrategy(java.lang.Object pvInvocationStrategy)
           
 
Methods inherited from class net.sf.crispy.proxy.Proxy
createInvocationStrategy, getProperties, getProxyClass, getProxyObject, newInstance, setProperties, setProxyClass, setProxyObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_CURRENT_INTERFACE_CLASS

public static final java.lang.String PROPERTY_CURRENT_INTERFACE_CLASS
See Also:
Constant Field Values
Constructor Detail

StaticProxy

public StaticProxy()

StaticProxy

public StaticProxy(java.util.Properties pvProperties)
Method Detail

getUrlAndPort

public java.lang.String getUrlAndPort()

getDefaultUrlAndPort

public abstract java.lang.String getDefaultUrlAndPort()
Get default url and port, if no url and port is in properties.

Returns:
Default url and port.

getDefaultInvocationStrategy

public InvocationStrategy getDefaultInvocationStrategy(java.util.Properties pvProperties)
Get default InvocationStrategy, if no InvocationStrategy is set in the properties.

Returns:
Default InvocationStrategy or null.

setInvocationStrategy

public void setInvocationStrategy(java.lang.Object pvInvocationStrategy)

getInvocationStrategy

public java.lang.Object getInvocationStrategy()


Copyright © 2005-2006 Crispy. All Rights Reserved.