1 23 package com.sun.enterprise.admin.pluggable; 24 25 import com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl; 26 27 import java.lang.reflect.InvocationHandler ; 28 import java.lang.reflect.Method ; 29 import java.lang.reflect.Proxy ; 30 import java.util.Properties ; 31 import java.util.logging.Level ; 32 import java.util.logging.Logger ; 33 34 42 public class ClientPluggableFeatureFactoryImpl extends PluggableFeatureFactoryBaseImpl { 43 48 public ClientPluggableFeatureFactoryImpl(Logger logger) { 49 super(logger); 50 } 51 52 protected String getDefaultFeatureFactoryPropertyName() { 53 return System.getProperty( 54 ClientPluggableFeatureFactory.PLUGGABLE_FEATURES_PROPERTY_NAME); 55 } 56 57 protected Object createFeatureFactory(InvocationHandler handler) { 58 return Proxy.newProxyInstance( 59 ClientPluggableFeatureFactory.class.getClassLoader(), 60 new Class [] { ClientPluggableFeatureFactory.class }, 61 handler); 62 } 63 } 64 | Popular Tags |