/** * Sets the context and the properties. * * @param context * an {@link Class} that is used as the context. * * @param parentProperties * the {@link Properties} that are returned. */ public ByteContextProperties create(Class<?> context, Properties parentProperties) { return new ByteContextProperties(context, parentProperties); }
/** * Sets the context and the properties. * * @param context * an {@link Object} that is used as the context. * * @param parentProperties * the {@link Properties} that are returned. */ public ByteContextProperties create(Object context, Properties parentProperties) { return new ByteContextProperties(context, parentProperties); }
/** * Sets the context and the properties. * * @param context * the context. * * @param parentProperties * the {@link Properties} that are returned. */ public ByteContextProperties create(String context, Properties parentProperties) { return new ByteContextProperties(context, parentProperties); } }