This file is part of Niowire.
Niowire is free software: you can redistribute it and/or modify it under the
terms of the Lesser GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
Niowire is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the Lesser GNU General Public License for more
You should have received a copy of the Lesser GNU General Public License
along with Niowire. If not, see <http://www.gnu.org/licenses/>.
This class is used to create NioObjects using reflection from a Class Name
and a configuration. It will use these to construct and configure the class
before returning it.
<> the type of NioObject which this class returns.
- Trent Houliston
This constructs a new Object Factory using the passed className
This constructs a new Object Factory using the passed class and an empty
clazz the class to b ea factory for
This constructs a new Object factory using the passed class name and the
className the class name of the object
configuration the configuration map to be used when creating the
This constructs a new object factory using the passed class and the
clazz the class of the object to create
configuration the configuration of the object to create
This method creates a new NioObject from the class name and configuration
which were passed to this object.
- the newly created and configured NioObject
NioObjectCreationException if there was an exception while trying
to create this object.
Checks if the passed object is an instance which would be created by this
factory (both the type and the configuration)
obj the object to be tested
- if the object is the same (class and configuration) as this