The problem with this approach is that the LogManager instance uses the system class loader to instantiate classes from the configuration file.
这种方法的问题是LogManager实例使用了系统类的装载程序从配置文件中对类进行实例化。
Instantiate an object of that class.
实例化该类的一个对象。
An anonymous class is a kind of syntactic shorthand that lets you instantiate a class implementing an abstract class or interface where you need it, without having to explicitly give it a class name.
匿名类是一种语法速写标记,使您能够在需要实现某个抽象类或者接口的地方创建一个类的实例,而不需要显式提供类的名称。
This is a class that can be used repeatedly to instantiate a class as a singleton without having to re-write the singleton pattern code for that specific class.
这是一个可用来创建单例类实例确不需要为每个特定的类重写单例模式代码的可重用的类。
Step 3. Instantiate the class for the method's input type.
步骤3.为方法的输入类型实例化类。
Instantiate a service class, which is the client-side representation of a Web service.
实例化一个service类,这个类在客户端代表了一个Web服务。
You will never instantiate this class directly, but always create an instance of its subclass.
永远不要直接实例化这个类,而是创建它的子类的一个实例。
Also, client classes that instantiate our generic class must do so with classes that meet the declared constraint on what constructors exist.
同样,实例化泛型类的客户机类必须使用满足对构造函数存在所声明的约束的类来这样做。
From this domain validator class, you can instantiate and register your own unit and attribute validators.
从该域确认器类中,您可以实现并注册您自己的单元和属性确认器。
The type attribute of the element specifies the class to instantiate as the source document object.
元素的类型属性指定作为源文档对象要实例化的类。
You can simply instantiate it programmatically, but then your code will depend on a concrete implementation class.
可以简单地以编程方式对其进行实例化,但是这样的话,您的代码将依赖具体的实现类。
You need to assign this property the name of a class to instantiate.
需要为该属性分配要实例化的类的名称。
We also call the class used to instantiate an object the type of that object.
我们也称用来实例化对象的类为那个对象的类型。
Again, that's because one generic class may instantiate another with its own type parameters.
再提一次,那是因为一个泛型类可以用其自己的类型参数来实例化另一个泛型类。
One needs only to instantiate the class and invoke a desired method, and all the encoding handling and the generation of SOAP messages is handled from the proxy class.
您只需实例化类并调用想要的方法,所有的编码处理和SOAP消息的生成都从代理类处理。
It is essential that the plug-in does not attempt to instantiate the plug-in class itself.
实质上插件并不能试图实例化插件类本身。
For this purpose, we will define a receiver class and modify our SessionManager class to instantiate the event receiver for us.
为此,我们将定义一个receiver类,并修改SessionManager类以初始化我们的事件接收器。
If all goes well, it is time to instantiate the class and run its main method.
如果一切正常,那么就可以实例化这个类并运行其main方法了。
Like all other controls in the toolbox, you can either let Visual Studio.net handle the plumbing or you can manually instantiate and initialize the class yourself.
像工具箱上的其它控件一样,你可以让Visual Studio . NET处理其生成或者你自己手动的实例和初始化这个类。
Then, when the application starts up, you simply need to instantiate an instance of the listening class.
此后,当应用程序启动时,只需实例化侦听类的一个实例。
The Factory Method Pattern is a creational pattern that defines an interface for creating an object but lets subclasses decide which actual class to instantiate.
Factory方法模式是一个创建的模式,它定义一个用来创建对象的接口,而让子类来决定实例化哪个类。
That is another reason why you used the ws extension in the Uml2SimpleRdb relation, so that you can instantiate the IFile class specifying the name of a file as a string.
这也是你在Uml2SimpleRdb关联中使用ws扩展的又一个原因,因为这样你在实例化IFile类的时候可以用一个字符串指明文件。
Instead, they are replaced with other properties which tell the ObjectDataSource control which business class to instantiate and which method to use to retrieve or modify the data.
相反,它们被替换为告诉ObjectDataSource控件实例化哪个业务类以及使用哪个方法来检索或修改数据的其他属性。
The element contains the user-defined class definition the RPCAdapter will instantiate to invoke the method.
元素包含用户定义的类定义,RPCAdapter将实例化此类定义以调用方法。
To instantiate the object within the shared memory, define an additional class, Initializer.
要对共享内存中的对象进行实例化,请定义另外一个类Initializer。
The first steps in creating a database-backed model are to instantiate the MySQL driver class, and create a DBConnection instance.
创建数据库后台模型的第一步是说明MySQL驱动类,并创建DBConnection实例。
You also override the constructor where you instantiate the server class and the SugarRestServiceXML: : serve method to instantiate the response class.
我们还重写了构造函数,其中实例化了服务器类和SugarRestServiceXML:serve方法,以实例化响应类。
This isn't a major issue unless you are using dates, as ruby's date class is very slow to instantiate.
这并不是一个主要的问题,除非你使用的类型是日期型,因为ruby的日期型的数据实例化起来非常慢。
The solution that JPA 2.0 provides is the ability to instantiate a metamodel class named Person_ that corresponds to Person by exposing the same persistent attributes statically.
JPA 2.0提供的解决办法通过静态地公开相同的持久化属性实例化名为 Person_的元模型类(对应于Person)。
To create a thread-local variable, you instantiate an object of class ThreadLocal.
要创建一个线程局部变量,请实例化类ThreadLocal的一个对象。
应用推荐