Skip to content

Commit

Permalink
Merge pull request #19 from wagnert/master
Browse files Browse the repository at this point in the history
Remove parameters session ID and args from BeanContextInterface::newInstance() method + Fixed #18 schedule annotation alias replacement bug
  • Loading branch information
wagnert committed Sep 13, 2017
2 parents fe69305 + 5dd9288 commit 3053096
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Version 4.0.0

## Bugfixes

* Fixed #18 schedule annotation alias replacement bug

## Features

* Remove parameters session ID and args from BeanContextInterface::newInstance() method

# Version 3.0.0

## Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion build.default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
#--------------------------------------------------------------------------------

# ---- Module Release Settings --------------------------------------------------
release.version = 3.0.0
release.version = 4.0.0
6 changes: 2 additions & 4 deletions src/AppserverIo/Psr/EnterpriseBeans/BeanContextInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,9 @@ public function getReflectionClassForObject($instance);
/**
* Returns a new instance of the passed class name.
*
* @param string $className The fully qualified class name to return the instance for
* @param string|null $sessionId The session-ID, necessary to inject stateful session beans (SFBs)
* @param array $args Arguments to pass to the constructor of the instance
* @param string $className The fully qualified class name to return the instance for
*
* @return object The instance itself
*/
public function newInstance($className, $sessionId = null, array $args = array());
public function newInstance($className);
}

0 comments on commit 3053096

Please sign in to comment.