FileDocCategorySizeDatePackage
ClientPluggableFeatureFactoryImpl.javaAPI DocGlassfish v2 API3564Fri May 04 22:24:30 BST 2007com.sun.enterprise.admin.pluggable

ClientPluggableFeatureFactoryImpl

public class ClientPluggableFeatureFactoryImpl extends com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl
An implementation of ClientPluggableFeatureFactory interface using dynamic proxies. This class does not directly implement the interface PluggableFeatureFactory, but an proxy instance implementing the interface can be obtained by a call to the static method getInstance(). In reality, this class implements InvocationHnalder interface used to handle method invocations on a dynamic proxy object.

Fields Summary
Constructors Summary
public ClientPluggableFeatureFactoryImpl(Logger logger)
Private constructor. The public instances of this object are not available. The instance of this class is however used as invocation handler for dynamic proxy returned by static method getInstance().

        super(logger);
    
Methods Summary
protected java.lang.ObjectcreateFeatureFactory(java.lang.reflect.InvocationHandler handler)

        return Proxy.newProxyInstance(
                ClientPluggableFeatureFactory.class.getClassLoader(),
                new Class[] { ClientPluggableFeatureFactory.class },
                handler);
    
protected java.lang.StringgetDefaultFeatureFactoryPropertyName()

        return System.getProperty(
            ClientPluggableFeatureFactory.PLUGGABLE_FEATURES_PROPERTY_NAME);