Olivier Lamy
f36eba4577
class.newInstance is deprecated #2435 ( #2437 )
...
* Class.newInstance() is deprecated in Java 9+ #2435
Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
2018-04-17 19:07:20 +10:00
WalkerWatch
534b8ea38b
Add edit warning for .mod files. Resolves #173
2018-03-15 13:23:42 -04:00
Lachlan Roberts
a639ee9275
Resolved errorprone MissingOverride warnings #2206
...
`@Override` was added to methods which were missing the annotation #2206
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2018-03-01 13:59:25 +11:00
Joakim Erdfelt
21365234f8
Issue #2108 - Updating license headers for year 2018
2018-01-09 09:44:41 -06:00
Joakim Erdfelt
41ed9f29f4
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2018-01-09 09:37:25 -06:00
Joakim Erdfelt
fa4c7b0ca9
Issue #2108 - Updating license headers for year 2018
2018-01-09 08:39:37 -06:00
Joakim Erdfelt
067fc5d2d8
Issue #2108 - Upgrade licenses for 2018
2018-01-09 07:42:06 -06:00
Simone Bordet
bb4115abf2
Fixes #2050 - Clarify ObjectMBean getObject[Name|Context]Basis() methods.
...
Updated the class with better formatting, added javadocs, updated old
javadocs, removed warnings, etc.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2017-12-12 19:31:28 +01:00
Simone Bordet
a0cb4247e7
Fixes #1718 - QueuedThreadPool not exposed on JMX.
...
Now MBeanContainer keeps track of the parent/child component relationship.
MBeans are registered for a pair (parent, child) and unregistered only
for the same pair.
For example, Server owns a ThreadPool and a Connector; in turn the
Connector adds the Server ThreadPool as an unmanaged component to itself.
The ThreadPool is registered as MBean with the pair (Server, ThreadPool).
When the Connector is stopped and removed from the component tree,
MBeanContainer sees a removal event for the pair (ServerConnector, ThreadPool).
But since that pair was not the one that triggered the registration of
the MBean, the MBean is not unregistered.
2017-09-12 00:47:02 +02:00
Simone Bordet
0ca19bf99a
Issue #1517 - Review JMX's ConnectorServer.
...
Changed the semantic of null or empty address to refer to the local host.
Any address is specified with 0.0.0.0.
Commented out JmxIT tests as they are broken.
2017-05-02 11:26:25 +02:00
Simone Bordet
f0d2e2b764
Fixes #1517 - Review JMX's ConnectorServer.
...
Introduced possibility to connect via TLS.
Updated the documentation.
2017-05-02 10:03:06 +02:00
Simone Bordet
de16eba903
Reworked ConnectorServer to honor hosts and ports declared for the RMI
...
server and the RMI registry.
2017-05-02 10:03:06 +02:00
Simone Bordet
0c8273f2ca
Happy New Year 2017.
2017-01-19 19:26:41 +01:00
Simone Bordet
07838b057f
Happy New Year 2017.
2017-01-19 18:54:03 +01:00
Simone Bordet
347c48d657
Revert "resolve merge and update license headers"
...
This reverts commit 53b31b03dd
, reversing
changes made to 4565c186d7
.
2017-01-19 18:26:43 +01:00
Jesse McConnell
53b31b03dd
resolve merge and update license headers
2017-01-19 09:33:16 -06:00
Jesse McConnell
ce3e6dafec
update license headers to 2017
2017-01-19 09:30:00 -06:00
Jan Bartel
640801987c
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-11-30 09:37:21 +11:00
dreis2211
9b0f6b1fd5
Issue #1135 - Avoid allocations from Method.getParameterTypes() if possible
...
Signed-off-by: dreis2211 <christoph.dreis@freenet.de>
(cherry picked from commit 16334c1893
)
2016-11-30 09:36:30 +11:00
Greg Wilkins
e261dd0880
Ignore test with fixed port
2016-09-02 11:22:44 +10:00
Greg Wilkins
5ab9846ac5
Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
2016-08-31 20:32:54 +10:00
Greg Wilkins
f856107301
Merge remote-tracking branch 'origin/jetty-9.2.x' into jetty-9.3.x
2016-08-31 19:05:57 +10:00
Greg Wilkins
0155ae761c
Issue #880 Improve IPv6 support
...
For #880 added the HostPort class, which was used to fix #878 , #879 , #884 and #886
2016-08-31 16:46:11 +10:00
Greg Wilkins
9c9da42129
Fixes #851 - MBeanContainer no longer unregisters MBeans when "stopped".
...
MBeanContainer now implements Destroyable, so calling Server.destroy()
unregisters the MBeans.
2016-08-18 15:58:25 +10:00
Simone Bordet
d3ee23bf25
Code cleanup.
2016-08-17 21:49:55 +02:00
Simone Bordet
deef53467d
Fixes #855 - JMXify MBeanContainer.
2016-08-17 21:44:35 +02:00
Simone Bordet
d71c927ea5
Fixes #851 - MBeanContainer no longer unregisters MBeans when "stopped".
...
MBeanContainer now implements Destroyable, so calling Server.destroy()
unregisters the MBeans.
2016-08-17 21:44:35 +02:00
Simone Bordet
64644183a8
Renamed test class.
2016-08-17 21:40:23 +02:00
Simone Bordet
00a065b064
Fixes #855 - JMXify MBeanContainer.
2016-08-17 21:28:19 +02:00
Simone Bordet
fe038c5a87
Fixes #851 - MBeanContainer no longer unregisters MBeans when "stopped".
...
MBeanContainer now implements Destroyable, so calling Server.destroy()
unregisters the MBeans.
2016-08-17 21:28:19 +02:00
Greg Wilkins
fc2859dd33
Happy New Year for PR #63
...
Fixed copyright year in PR #63
2016-03-10 08:34:51 +11:00
Greg Wilkins
93a8d8e05f
JMX Unit Tests
...
Based on PR #63 , but with reformatting and additional fixes
Also-by: mfarid <farid.iflex@gmail.com>
2016-03-10 08:29:24 +11:00
Simone Bordet
a4889eee6b
Merged branch 'jetty-9.3.x' into 'master'.
2016-02-19 16:51:47 +01:00
Simone Bordet
e09396db4e
Issue #298 (qtp threads spin-locked in MBeanContainer.beanAdded).
...
Replaced WeakHashMap with ConcurrentMap.
The "weak" features of WHM were not used anyway.
2016-02-19 16:32:44 +01:00
Simone Bordet
51009208d4
Merged branch 'jetty-9.3.x' into 'master'.
2016-02-19 13:23:34 +01:00
Greg Wilkins
5ddb176f6b
Issue #298 spin-locked in MBeanContainer
...
protected the _beans map with a Lock
2016-02-17 16:07:31 +01:00
Joakim Erdfelt
ac24196b0d
Happy New Year 2016
2016-01-04 14:34:20 -07:00
Joakim Erdfelt
cd39fd84fe
Happy New Year 2016
2016-01-04 14:31:22 -07:00
Joakim Erdfelt
b5db18378d
Happy New Year 2016
2016-01-04 14:21:26 -07:00
Greg Wilkins
a311c8bde1
480904 - jetty-util Loader simplification
...
The Loader has been simplified to now just be a switch between loading from the context loader,
the same loader as another class or the system loader. Multiple loaders will never be tried.
A new runWithServerClassAccess(PriviledgedAction) method has been added to WebAppClassLoader, that
is now used during configuration for actions that need access to both the WEB-INF/lib classes and
the server classes (eg jetty-web.xml and env.xml).
The JMX MBean mechanism has also been modified to look for an MBean class in the same loader that
object came from before attempting the context loader (only if different).
2015-11-19 12:14:05 +11:00
Greg Wilkins
ff0d1b4c14
481903 Module Descriptions
2015-11-12 10:48:04 +11:00
Joakim Erdfelt
7c737a587b
Removing [version] sections in modules
2015-06-12 09:14:34 -07:00
Joakim Erdfelt
916efd6aa7
469860 - Add module metadata versioning to support backwards compat
...
+ Adding [version] section to all existing jetty 9.3 distro modules
+ Updating testcases in jetty-start with new [version] sections too
+ Adding extra testcases for versioned modules
2015-06-10 10:59:18 -07:00
Greg Wilkins
dc3b4d01f4
467289 - Not possible to specify jmxrmi port value
2015-05-14 09:55:42 +10:00
Greg Wilkins
5d041ad54f
466645 Allow XmlConfiguration Properties to use Elements or Attributes
2015-05-07 16:24:11 +10:00
Joakim Erdfelt
c9d8d07a63
464727 - Update Javadoc for Java 8 DocLint
2015-04-22 14:21:53 -07:00
Simone Bordet
599ab9bb1b
460671 - Rationalize property names.
...
Property format is now "jetty.<module|component>.<propertyName>".
Updated all references with new properties.
2015-04-13 16:21:48 +02:00
Greg Wilkins
e3d380bb7d
461941 JMX Remote host:port set from start properties
2015-03-12 13:41:18 +11:00
Joakim Erdfelt
3f08e54a23
457696 - JMX implementation should not be overridden by WebApp classes
...
+ Marking org.eclipse.jetty.util.annotation. for hole punching
+ Making ContextHandler parsing of "org.eclipse.jetty.server.context.ManagedAttributes"
more lenient to whitespace around delimitors
+ Making ObjectMBean take in account the .jmx.{name}MBean for
annotation influences too.
2015-01-16 15:18:01 -07:00
Joakim Erdfelt
6a0668b7a1
Happy New Year 2015
2015-01-07 17:03:30 -07:00